function opening_hours_node_edit_page in Opening hours 6
Same name and namespace in other branches
- 7 includes/opening_hours.pages.inc \opening_hours_node_edit_page()
Page for editing the opening hours for a specific node.
1 string reference to 'opening_hours_node_edit_page'
- opening_hours_menu in ./
opening_hours.module - Implements hook_menu().
File
- includes/
opening_hours.pages.inc, line 10 - Page callbacks for the opening hours module.
Code
function opening_hours_node_edit_page($node) {
drupal_set_title(t('Opening hours for @title', array(
'@title' => $node->title,
)));
drupal_add_css(drupal_get_path('module', 'jquery_ui') . '/jquery.ui/themes/default/ui.all.css');
drupal_add_css(drupal_get_path('module', 'opening_hours') . '/css/opening_hours.admin.css');
opening_hours_add_js('admin', $node->nid);
return theme('opening_hours_admin');
}