function _themekey_admin_form in ThemeKey 6
Function _themekey_admin_form().
3 calls to _themekey_admin_form()
- _themekey_paths_form in ./
themekey_admin.inc - Function _themekey_paths_form().
- _themekey_properties_form in ./
themekey_admin.inc - Function _themekey_properties_form().
- _themekey_settings_form in ./
themekey_admin.inc - Function _themekey_settings_form().
File
- ./
themekey_admin.inc, line 400
Code
function _themekey_admin_form($form, $base = NULL, $reset = TRUE) {
// Default buttons
if (isset($base)) {
$form['buttons']['submit'] = array(
'#type' => 'submit',
'#value' => t('Save configuration'),
'#submit' => array(
$base . '_submit',
),
);
if ($reset) {
$form['buttons']['reset'] = array(
'#type' => 'submit',
'#value' => t('Reset to defaults'),
'#submit' => array(
$base . '_reset',
),
);
}
}
return $form;
}