aboutsummaryrefslogtreecommitdiffstats
path: root/include/section_init.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-06-19 23:28:51 +0000
committerrvelices <rv-github@modusoptimus.com>2006-06-19 23:28:51 +0000
commit40ad0dd93547aa7f353313ed64c9e847704a7642 (patch)
tree8eb0bf45744fcd0fb9c3dc97b4a877b0bc533b69 /include/section_init.inc.php
parent946780a4678dcb0cd825f4c8ca377a715fddebb8 (diff)
bug 418: navigation bar in picture.php to the root of special categories
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1372 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/section_init.inc.php')
-rw-r--r--include/section_init.inc.php12
1 files changed, 8 insertions, 4 deletions
diff --git a/include/section_init.inc.php b/include/section_init.inc.php
index 806679e02..b2bb4c90e 100644
--- a/include/section_init.inc.php
+++ b/include/section_init.inc.php
@@ -513,7 +513,8 @@ SELECT DISTINCT(id)
$page = array_merge(
$page,
array(
- 'title' => $lang['recent_pics_cat'],
+ 'title' => '<a href="'.duplicate_index_url().'">'
+ .$lang['recent_pics_cat'].'</a>',
'items' => array_from_query($query, 'id'),
'thumbnails_include' => 'include/category_default.inc.php',
)
@@ -552,7 +553,8 @@ SELECT DISTINCT(id)
$page = array_merge(
$page,
array(
- 'title' => $conf['top_number'].' '.$lang['most_visited_cat'],
+ 'title' => '<a href="'.duplicate_index_url().'">'
+ .$conf['top_number'].' '.$lang['most_visited_cat'].'</a>',
'items' => array_from_query($query, 'id'),
'thumbnails_include' => 'include/category_default.inc.php',
)
@@ -578,7 +580,8 @@ SELECT DISTINCT(id)
$page = array_merge(
$page,
array(
- 'title' => $conf['top_number'].' '.$lang['best_rated_cat'],
+ 'title' => '<a href="'.duplicate_index_url().'">'
+ .$conf['top_number'].' '.$lang['best_rated_cat'].'</a>',
'items' => array_from_query($query, 'id'),
'thumbnails_include' => 'include/category_default.inc.php',
)
@@ -601,7 +604,8 @@ SELECT DISTINCT(id)
$page = array_merge(
$page,
array(
- 'title' => $lang['random_cat'],
+ 'title' => '<a href="'.duplicate_index_url().'">'
+ .$lang['random_cat'].'</a>',
'items' => array_from_query($query, 'id'),
'thumbnails_include' => 'include/category_default.inc.php',
)