Changeset 22283


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

merge r22282 from branch 2.5 to trunk

bug 2891 fixed: pure root_url on Home link in breadcrumb

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/section_init.inc.php

    r22161 r22283  
    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.