| 1 |
<?php |
<?php |
| 2 |
// $Id: taxonomy_block.module,v 1.25 2009/08/14 02:56:43 thenicespider Exp $ |
// $Id: taxonomy_block.module,v 1.26 2009/11/11 09:25:16 thenicespider Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 66 |
$order_by = variable_get('taxonomy_block_settings_order_by', 0)==0 ? 'name' : 'weight'; |
$order_by = variable_get('taxonomy_block_settings_order_by', 0)==0 ? 'name' : 'weight'; |
| 67 |
$order_type = variable_get('taxonomy_block_settings_order_type', 0)==0 ? 'ASC' : 'DESC'; |
$order_type = variable_get('taxonomy_block_settings_order_type', 0)==0 ? 'ASC' : 'DESC'; |
| 68 |
|
|
|
|
|
| 69 |
switch($delta) { |
switch($delta) { |
| 70 |
case 0: |
case 0: |
| 71 |
$block['subject'] = t('Taxonomy Block'); |
$block['subject'] = t('Taxonomy Block'); |