Changeset 21292


Ignore:
Timestamp:
03/06/13 18:00:37 (6 years ago)
Author:
mistic100
Message:

fix bread crumb

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GuestBook/main.inc.php

    r17733 r21292  
    6666  if ($tokens[0] == 'guestbook') 
    6767  { 
     68    add_event_handler('loc_begin_page_header', 'gb_page_header'); 
     69     
    6870    $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'); 
    7073  } 
     74} 
     75 
     76function gb_page_header() 
     77{ 
     78  global $page; 
     79  $page['body_id'] = 'theGuestBook'; 
    7180} 
    7281 
Note: See TracChangeset for help on using the changeset viewer.