aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-06-19 23:29:54 +0000
committerrvelices <rv-github@modusoptimus.com>2006-06-19 23:29:54 +0000
commit9aa29cc28e27df14cd64ef485f2c2fe3b09fed47 (patch)
treea0ea8e1036340d875a0504d87650c31be5830a19
parent98b5d375e4a0725809cd222a573902f0fdae898a (diff)
bug 418: navigation bar in picture.php to the root of special categories
git-svn-id: http://piwigo.org/svn/trunk@1373 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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',
)