function superfish_menu_settings in Superfish 6
Module settings form.
1 string reference to 'superfish_menu_settings'
- superfish_menu in ./
superfish.module - Implements hook_menu().
File
- ./
superfish.admin.inc, line 56 - Functions that are only called on the admin pages.
Code
function superfish_menu_settings() {
$form['superfish_number'] = array(
'#type' => 'select',
'#title' => t('Number of blocks'),
'#multiple' => FALSE,
'#options' => drupal_map_assoc(range(1, 500)),
'#description' => t('The number of Superfish menu blocks.') . ' (' . t('Default') . ': 4' . ')' . '<br />' . t('Please note decreasing this number leads to permanent deletion of blocks.'),
'#default_value' => variable_get('superfish_number', 4),
);
$form['superfish_slp'] = array(
'#type' => 'textarea',
'#title' => t('Path to Superfish library'),
'#description' => t('Edit only if you are sure of what you are doing.'),
'#default_value' => variable_get('superfish_slp', superfish_library_path()),
'#rows' => 7,
);
return superfish_system_settings_form($form);
}