You are here

function scheduler_admin in Scheduler 5

Same name and namespace in other branches
  1. 6 scheduler.module \scheduler_admin()
  2. 7 scheduler.admin.inc \scheduler_admin()
1 string reference to 'scheduler_admin'
scheduler_menu in ./scheduler.module
Implementation of hook_menu().

File

./scheduler.module, line 59

Code

function scheduler_admin() {
  $form['scheduler_date_format'] = array(
    '#type' => 'textfield',
    '#title' => t('Date format'),
    '#default_value' => variable_get('scheduler_date_format', SCHEDULER_DATE_FORMAT),
    '#size' => 20,
    '#maxlength' => 100,
    '#description' => t('The input format for the (un)scheduling time/date. See the date() function for formatting options: http://www.php.net/manual/en/function.date.php'),
  );
  return system_settings_form($form);
}