| 1 |
<?php |
<?php |
| 2 |
// $Id: taxonomy_block.settings.inc,v 1.1 2009/06/23 17:04:09 thenicespider Exp $ |
// $Id: taxonomy_block.settings.inc,v 1.2 2009/06/23 17:56:53 thenicespider Exp $ |
| 3 |
/** |
/** |
| 4 |
* @file |
* @file |
| 5 |
* Settings page callback file for the taxonomy_block module. |
* Settings page callback file for the taxonomy_block module. |
| 29 |
'#description' => t("Enter Vocabulary ID for used by taxonomy block.") |
'#description' => t("Enter Vocabulary ID for used by taxonomy block.") |
| 30 |
); |
); |
| 31 |
|
|
| 32 |
|
$form['taxonomy_block_settings']['taxonomy_block_settings_max_term'] = array( |
| 33 |
|
'#type' => 'textfield', |
| 34 |
|
'#title' => t("Maximum number of term to display"), |
| 35 |
|
'#default_value' => variable_get('taxonomy_block_settings_max_term', 0), |
| 36 |
|
'#description' => t("Enter 0 to display all terms.") |
| 37 |
|
); |
| 38 |
|
|
| 39 |
$form['taxonomy_block_settings']['taxonomy_block_settings_node_count'] = array( |
$form['taxonomy_block_settings']['taxonomy_block_settings_node_count'] = array( |
| 40 |
'#type' => 'checkbox', |
'#type' => 'checkbox', |
| 41 |
'#title' => t('Show node count'), |
'#title' => t('Show node count'), |