function quicktabs_settings in Quick Tabs 6
Same name and namespace in other branches
- 5 quicktabs.module \quicktabs_settings()
- 6.3 includes/admin.inc \quicktabs_settings()
- 6.2 includes/admin.inc \quicktabs_settings()
Callback function for admin/settings/quicktabs. Display the settings form.
1 string reference to 'quicktabs_settings'
- quicktabs_menu in ./
quicktabs.module - Implementation of hook_menu().
File
- ./
quicktabs.module, line 665
Code
function quicktabs_settings() {
$form = array();
$form['quicktabs_tabstyle'] = array(
'#type' => 'radios',
'#title' => t('Tab Style'),
'#options' => array(
'default' => t('Default (no style)'),
) + module_invoke_all('quicktabs_tabstyles'),
'#default_value' => variable_get('quicktabs_tabstyle', 'default'),
'#description' => t('Choose a tab style for your Quick Tabs blocks.'),
'#attributes' => array(
'class' => 'quicktabs-tabstyles clear-block',
),
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Submit'),
);
return $form;
}