You are here

function jscalendar_admin_settings in Javascript Tools 5

Menu callback for admin settings.

1 string reference to 'jscalendar_admin_settings'
jscalendar_menu in jscalendar/jscalendar.module
Implementation of hook_menu()

File

jscalendar/jscalendar.module, line 73
Provide popup calendar.

Code

function jscalendar_admin_settings() {
  $form = array();
  $form['jscalendar_css'] = array(
    '#type' => 'select',
    '#title' => t('JSCalendar style'),
    '#description' => t('Choose the JSCalendar style.'),
    '#default_value' => variable_get('jscalendar_css', NULL),
    '#options' => jscalendar_available_styles(),
  );
  $form = system_settings_form($form);
  return $form;
}