Changeset 19233 for trunk/include


Ignore:
Timestamp:
Nov 30, 2012, 9:59:02 PM (11 years ago)
Author:
rvelices
Message:

bug 2772: remove "Home" from html title pages on index pages - partial revert change of breadcrumb title on home page

File:
1 edited

Legend:

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

    r18666 r19233  
    568568    if ('picture'==script_basename())
    569569    {
    570       $used_title = l10n('Home');
    571570      $used_link = duplicate_index_url(array('start'=>0));
    572571    }
    573572    else
    574573    {
    575       $used_title = ('categories'==$page['section'] && !isset($page['category']) && !isset($page['chronology_field']) ) ? $conf['gallery_title'] : l10n('Home');
    576574      $used_link = get_gallery_home_url();
    577575    }
    578     $page['section_title'] = $page['title'] = '<a href="'.$used_link.'">'.$used_title.'</a>';
     576    $page['section_title'] = $page['title'] = '<a href="'.$used_link.'">'.l10n('Home').'</a>';
    579577  }
    580578}
Note: See TracChangeset for help on using the changeset viewer.