mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
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
This commit is contained in:
@@ -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',
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user