Changeset 22282


Ignore:
Timestamp:
04/18/13 15:17:26 (6 years ago)
Author:
plg
Message:

bug 2891 fixed: pure root_url on Home link in breadcrumb

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/include/section_init.inc.php

    r22162 r22282  
    571571if (isset($page['title'])) 
    572572{ 
     573  $page['section_title'] = '<a href="'.get_gallery_home_url().'">'.l10n('Home').'</a>'; 
    573574  if (!empty($page['title'])) 
    574         { 
    575     $page['section_title'] = '<a href="'.get_gallery_home_url().'">'.l10n('Home').'</a>'.$conf['level_separator'].$page['title']; 
    576         } 
     575  { 
     576    $page['section_title'] .= $conf['level_separator'].$page['title']; 
     577  } 
    577578  else 
    578579  { 
    579     if ('picture'==script_basename()) 
    580     { 
    581       $used_link = duplicate_index_url(array('start'=>0), array('flat')); 
    582     } 
    583     else 
    584     { 
    585       $used_link = get_gallery_home_url(); 
    586     } 
    587     $page['section_title'] = $page['title'] = '<a href="'.$used_link.'">'.l10n('Home').'</a>'; 
     580    $page['title'] = $page['section_title']; 
    588581  } 
    589582} 
Note: See TracChangeset for help on using the changeset viewer.