You are here

function userloginbar_admin in UserLoginBar 7

Same name and namespace in other branches
  1. 5 userloginbar.module \userloginbar_admin()

Admin configuration form.

1 string reference to 'userloginbar_admin'
userloginbar_menu in ./userloginbar.module
Implementation of hook_menu().

File

./userloginbar.module, line 112

Code

function userloginbar_admin() {
  $form['text'] = array(
    '#type' => 'fieldset',
    '#title' => t('Userloginbar Settings'),
  );
  $form['text']['disable_welcome_box'] = array(
    '#type' => 'checkbox',
    '#title' => t('Check this box, if you want to disable welcome box when the user logs in!'),
    '#default_value' => variable_get('disable_welcome_box', FALSE),
  );
  return system_settings_form($form);
}