| 37 |
'#default_value' => variable_get('autotagging_allowed_types', array()) |
'#default_value' => variable_get('autotagging_allowed_types', array()) |
| 38 |
); |
); |
| 39 |
|
|
| 40 |
|
$form['autotagging_settings']['autotagging_fetch_threshold'] = array( |
| 41 |
|
'#type' => 'select', |
| 42 |
|
'#title' => t('Skip nodes that already have this many tags'), |
| 43 |
|
'#description' => t('If a node already contains this many tags for a given vocabulary, skip autotagging of the node.'), |
| 44 |
|
'#options' => drupal_map_assoc( |
| 45 |
|
array('All', 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20) |
| 46 |
|
), |
| 47 |
|
'#default_value' => variable_get('autotagging_fetch_threshold', 'All') |
| 48 |
|
); |
| 49 |
|
|
| 50 |
$form['autotagging_settings']['autotagging_stop_words'] = array( |
$form['autotagging_settings']['autotagging_stop_words'] = array( |
| 51 |
'#type' => 'textarea', |
'#type' => 'textarea', |
| 52 |
'#title' => t('Ignore the following words'), |
'#title' => t('Ignore the following words'), |