Changeset 5451


Ignore:
Timestamp:
03/29/10 19:05:38 (10 years ago)
Author:
laurent.duretz
Message:

Issue 1521 : picture.tpl updated to avoid double home link, picture.php updated because tpl update, functions_html.inc.php updated to work with question_mark_in_urls = false

Location:
trunk
Files:
3 edited

Legend:

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

    r5441 r5451  
    4141  global $conf; 
    4242 
    43   $output = '<a href="'.PHPWG_ROOT_PATH.$conf['home_page'].'">'.l10n('Home').'</a>'; 
     43  $output = '<a href="'.get_absolute_root_url().$conf['home_page'].'">'.l10n('Home').'</a>'; 
    4444 
    4545  foreach ($cat_informations as $cat) 
  • trunk/picture.php

    r5305 r5451  
    741741    'LEVEL_SEPARATOR' => $conf['level_separator'], 
    742742 
    743     'U_HOME' => make_index_url(), 
    744743    'U_UP' => $url_up, 
    745744    'DISPLAY_NAV_BUTTONS' => $conf['picture_navigation_icons'], 
  • trunk/themes/default/template/picture.tpl

    r5304 r5451  
    2929<div id="imageHeaderBar"> 
    3030  <div class="browsePath"> 
    31     <a href="{$U_HOME}" rel="Home">{'Home'|@translate}</a> 
    32     {if !$IS_HOME}{$LEVEL_SEPARATOR}{$SECTION_TITLE}{/if} 
     31    {$SECTION_TITLE} 
    3332    {$LEVEL_SEPARATOR}{$current.TITLE} 
    3433  </div> 
Note: See TracChangeset for help on using the changeset viewer.