Changeset 21292 for extensions/GuestBook
- Timestamp:
- Mar 6, 2013, 6:00:37 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/GuestBook/main.inc.php
r17733 r21292 66 66 if ($tokens[0] == 'guestbook') 67 67 { 68 add_event_handler('loc_begin_page_header', 'gb_page_header'); 69 68 70 $page['section'] = 'guestbook'; 69 $page['title'] = '<a href="'.get_gallery_home_url().'">'.l10n('Home').'</a>'.$conf['level_separator'].l10n('GuestBook'); 71 $page['title'] = l10n('GuestBook'); 72 $page['section_title'] = '<a href="'.get_gallery_home_url().'">'.l10n('Home').'</a>'.$conf['level_separator'].l10n('GuestBook'); 70 73 } 74 } 75 76 function gb_page_header() 77 { 78 global $page; 79 $page['body_id'] = 'theGuestBook'; 71 80 } 72 81
Note: See TracChangeset
for help on using the changeset viewer.