aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlaurent.duretz <laurent.duretz@piwigo.org>2010-05-26 08:42:52 +0000
committerlaurent.duretz <laurent.duretz@piwigo.org>2010-05-26 08:42:52 +0000
commit74bf86ecc5a352398330140d510ee150bf050e8e (patch)
treeaefcce349938e035e5b2712a69162a7cf69c9aec
parentd40f81502f01e32992e126932d54da33f6f1da58 (diff)
Issue 1521 : add linkroot to spacial pages
git-svn-id: http://piwigo.org/svn/branches/2.1@6368 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/section_init.inc.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/section_init.inc.php b/include/section_init.inc.php
index d4d8725dd..b43b678f7 100644
--- a/include/section_init.inc.php
+++ b/include/section_init.inc.php
@@ -336,7 +336,7 @@ SELECT DISTINCT image_id'.get_extra_fields($conf['order_by']).'
$page = array_merge(
$page,
array(
- 'title' => get_tags_content_title(),
+ 'title' => '<a href="'.get_absolute_root_url().$conf['home_page'].'">'.l10n('Home').'</a>'.$conf['level_separator'].get_tags_content_title(),
'items' => $items,
)
);
@@ -358,7 +358,7 @@ SELECT DISTINCT image_id'.get_extra_fields($conf['order_by']).'
$page,
array(
'items' => $search_result['items'],
- 'title' => '<a href="'.duplicate_index_url(array('start'=>0)).'">'
+ 'title' => '<a href="'.get_absolute_root_url().$conf['home_page'].'">'.l10n('Home').'</a>'.$conf['level_separator'].'<a href="'.duplicate_index_url(array('start'=>0)).'">'
.l10n('Search results').'</a>',
)
);
@@ -373,7 +373,7 @@ SELECT DISTINCT image_id'.get_extra_fields($conf['order_by']).'
$page = array_merge(
$page,
array(
- 'title' => l10n('Favorites')
+ 'title' => '<a href="'.get_absolute_root_url().$conf['home_page'].'">'.l10n('Home').'</a>'.$conf['level_separator'].l10n('Favorites')
)
);
@@ -453,7 +453,7 @@ SELECT DISTINCT(id)'.get_extra_fields($conf['order_by']).'
$page = array_merge(
$page,
array(
- 'title' => '<a href="'.duplicate_index_url(array('start'=>0)).'">'
+ 'title' => '<a href="'.get_absolute_root_url().$conf['home_page'].'">'.l10n('Home').'</a>'.$conf['level_separator'].'<a href="'.duplicate_index_url(array('start'=>0)).'">'
.l10n('Recent pictures').'</a>',
'items' => array_from_query($query, 'id'),
)
@@ -467,7 +467,7 @@ SELECT DISTINCT(id)'.get_extra_fields($conf['order_by']).'
$page = array_merge(
$page,
array(
- 'title' => l10n('Recent categories'),
+ 'title' => '<a href="'.get_absolute_root_url().$conf['home_page'].'">'.l10n('Home').'</a>'.$conf['level_separator'].l10n('Recent categories'),
)
);
}
@@ -491,7 +491,7 @@ SELECT DISTINCT(id), hit, file
$page = array_merge(
$page,
array(
- 'title' => '<a href="'.duplicate_index_url(array('start'=>0)).'">'
+ 'title' => '<a href="'.get_absolute_root_url().$conf['home_page'].'">'.l10n('Home').'</a>'.$conf['level_separator'].'<a href="'.duplicate_index_url(array('start'=>0)).'">'
.$conf['top_number'].' '.l10n('Most visited').'</a>',
'items' => array_from_query($query, 'id'),
)
@@ -517,7 +517,7 @@ SELECT DISTINCT(id), average_rate
$page = array_merge(
$page,
array(
- 'title' => '<a href="'.duplicate_index_url(array('start'=>0)).'">'
+ 'title' => '<a href="'.get_absolute_root_url().$conf['home_page'].'">'.l10n('Home').'</a>'.$conf['level_separator'].'<a href="'.duplicate_index_url(array('start'=>0)).'">'
.$conf['top_number'].' '.l10n('Best rated').'</a>',
'items' => array_from_query($query, 'id'),
)
@@ -540,7 +540,7 @@ SELECT DISTINCT(id)'.get_extra_fields($conf['order_by']).'
$page = array_merge(
$page,
array(
- 'title' => '<a href="'.duplicate_index_url(array('start'=>0)).'">'
+ 'title' => '<a href="'.get_absolute_root_url().$conf['home_page'].'">'.l10n('Home').'</a>'.$conf['level_separator'].'<a href="'.duplicate_index_url(array('start'=>0)).'">'
.l10n('Random pictures').'</a>',
'items' => array_from_query($query, 'id'),
)