function taxonomy_manager_settings in Taxonomy Manager 7
Same name and namespace in other branches
- 5 taxonomy_manager.module \taxonomy_manager_settings()
- 6.2 taxonomy_manager.admin.inc \taxonomy_manager_settings()
- 6 taxonomy_manager.admin.inc \taxonomy_manager_settings()
Defines a settings form.
1 string reference to 'taxonomy_manager_settings'
- taxonomy_manager_menu in ./
taxonomy_manager.module - Implements hook_menu().
File
- ./
taxonomy_manager.admin.inc, line 1722
Code
function taxonomy_manager_settings($form) {
$form['taxonomy_manager_disable_mouseover'] = array(
'#type' => 'checkbox',
'#title' => t('Disable mouse-over effect for terms (weights and direct link)'),
'#default_value' => variable_get('taxonomy_manager_disable_mouseover', 0),
'#description' => t('Disabeling this feature speeds up the Taxonomy Manager'),
);
$form['taxonomy_manager_pager_tree_page_size'] = array(
'#type' => 'select',
'#title' => t('Pager count'),
'#options' => array(
25 => 25,
50 => 50,
75 => 75,
100 => 100,
150 => 150,
200 => 200,
250 => 250,
300 => 300,
400 => 400,
500 => 500,
1000 => 1000,
2500 => 2500,
5000 => 5000,
10000 => 10000,
),
'#default_value' => variable_get('taxonomy_manager_pager_tree_page_size', TAXONOMY_MANAGER_PAGER_TREE_PAGE_SIZE_DEFAULT),
'#description' => t('Select how many terms should be listed on one page. Huge page counts can slow down the Taxonomy Manager'),
);
return system_settings_form($form);
}