function jscalendar_menu in Javascript Tools 5
Implementation of hook_menu()
File
- jscalendar/
jscalendar.module, line 24 - Provide popup calendar.
Code
function jscalendar_menu($may_cache) {
$items = array();
if ($may_cache) {
$items[] = array(
'path' => 'admin/settings/jscalendar',
'title' => t('JS Calendar'),
'description' => t('Configurations for the popup calendar'),
'callback' => 'drupal_get_form',
'callback arguments' => array(
'jscalendar_admin_settings',
),
'access' => user_access('administer site configuration'),
);
}
return $items;
}