| 1 |
<?php |
<?php |
| 2 |
// $Id: taxonomy_context.module,v 1.82.4.7 2009/10/03 03:00:02 nancyw Exp $ |
// $Id: taxonomy_context.admin.inc,v 1.1.2.1 2009/10/03 18:47:11 nancyw Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 118 |
'#description' => t('Show count nodes in block after items. Example: term (nnn)'), |
'#description' => t('Show count nodes in block after items. Example: term (nnn)'), |
| 119 |
); |
); |
| 120 |
|
|
| 121 |
|
$form['general_settings']['taxonomy_context_suppress_current'] = array( |
| 122 |
|
'#type' => 'radios', |
| 123 |
|
'#title' => t('Suppress current term on taxonomy/term/xxx page'), |
| 124 |
|
'#default_value' => variable_get('taxonomy_context_suppress_current', 0), |
| 125 |
|
'#options' => $endis, |
| 126 |
|
'#description' => t('Use this option to remove the current term from nodes shown on a taxonomy/term/xxx page. "Disabled" is standard Drupal behavior; "enabled" will remove the current term from each node selected.'), |
| 127 |
|
); |
| 128 |
|
|
| 129 |
return system_settings_form($form); |
return system_settings_form($form); |
| 130 |
} |
} |