mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
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
git-svn-id: http://piwigo.org/svn/trunk@5451 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -40,7 +40,7 @@ function get_cat_display_name($cat_informations,
|
||||
{
|
||||
global $conf;
|
||||
|
||||
$output = '<a href="'.PHPWG_ROOT_PATH.$conf['home_page'].'">'.l10n('Home').'</a>';
|
||||
$output = '<a href="'.get_absolute_root_url().$conf['home_page'].'">'.l10n('Home').'</a>';
|
||||
|
||||
foreach ($cat_informations as $cat)
|
||||
{
|
||||
|
||||
@@ -740,7 +740,6 @@ $template->assign(
|
||||
|
||||
'LEVEL_SEPARATOR' => $conf['level_separator'],
|
||||
|
||||
'U_HOME' => make_index_url(),
|
||||
'U_UP' => $url_up,
|
||||
'DISPLAY_NAV_BUTTONS' => $conf['picture_navigation_icons'],
|
||||
'DISPLAY_NAV_THUMB' => $conf['picture_navigation_thumb']
|
||||
|
||||
@@ -28,8 +28,7 @@
|
||||
|
||||
<div id="imageHeaderBar">
|
||||
<div class="browsePath">
|
||||
<a href="{$U_HOME}" rel="Home">{'Home'|@translate}</a>
|
||||
{if !$IS_HOME}{$LEVEL_SEPARATOR}{$SECTION_TITLE}{/if}
|
||||
{$SECTION_TITLE}
|
||||
{$LEVEL_SEPARATOR}{$current.TITLE}
|
||||
</div>
|
||||
<div class="imageNumber">{$PHOTO}</div>
|
||||
|
||||
Reference in New Issue
Block a user