Changeset 17733


Ignore:
Timestamp:
Sep 4, 2012, 10:59:07 AM (8 years ago)
Author:
plg
Message:

add link to home in breadcrumb

File:
1 edited

Legend:

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

    r17717 r17733  
    4848function gb_menubar_apply($menu_ref_arr)
    4949{
    50   $menu = &$menu_ref_arr[0]; 
     50  $menu = &$menu_ref_arr[0];
    5151 
    5252  if ( ($block = $menu->get_block('mbMenu')) != null )
     
    6262function gb_section_init()
    6363{
    64   global $tokens, $page;
     64  global $tokens, $page, $conf;
    6565
    6666  if ($tokens[0] == 'guestbook')
    6767  {
    6868    $page['section'] = 'guestbook';
    69     $page['title'] = l10n('GuestBook');
     69    $page['title'] = '<a href="'.get_gallery_home_url().'">'.l10n('Home').'</a>'.$conf['level_separator'].l10n('GuestBook');
    7070  }
    7171}
Note: See TracChangeset for help on using the changeset viewer.