You are here

function popups_admin_settings in Popups API (Ajax Dialogs) 5

Same name and namespace in other branches
  1. 6.2 popups.module \popups_admin_settings()
  2. 6 popups.module \popups_admin_settings()
  3. 7 popups.module \popups_admin_settings()
1 string reference to 'popups_admin_settings'
popups_menu in ./popups.module
hook_menu

File

./popups.module, line 328
popups.module

Code

function popups_admin_settings() {
  drupal_set_title("Popups Settings");
  $form = array();
  $form['popups_popup_final_message'] = array(
    '#type' => 'checkbox',
    '#title' => t('Do NOT auto-close final message.'),
    '#default_value' => variable_get('popups_popup_final_message', 1),
  );
  return system_settings_form($form);
}