function admin_form_user_admin_account_alter in Admin 6
Implementation of hook_form_alter() for admin_account_form.
File
- ./
admin.admin.inc, line 177
Code
function admin_form_user_admin_account_alter(&$form) {
// If the admin theme has been inited, do some additional work.
global $theme;
if ($theme == 'admin') {
unset($form['options']['#type']);
unset($form['options']['#prefix']);
unset($form['options']['#suffix']);
$form['options']['#theme'] = 'admin_manage_options';
}
}