aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_category.inc.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2004-12-06 23:49:58 +0000
committerplegall <plg@piwigo.org>2004-12-06 23:49:58 +0000
commit9037726f5a658dc156ef444f2d90271ee2102711 (patch)
treeec184313d235293a06f8947d1338cee4c9cdd275 /include/functions_category.inc.php
parent6cc0255b0d7dfd3e3eac898c7a0a827740263b28 (diff)
- change the category levels separator to a "superior to" to be the same as
in picture.php - add a link on each category level as in picture.php git-svn-id: http://piwigo.org/svn/trunk@641 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/functions_category.inc.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/functions_category.inc.php b/include/functions_category.inc.php
index 0a718b79e..4efbb0d62 100644
--- a/include/functions_category.inc.php
+++ b/include/functions_category.inc.php
@@ -346,7 +346,11 @@ function initialize_category( $calling_page = 'category' )
$page['cat_uploadable'] = $result['uploadable'];
$page['cat_commentable'] = $result['commentable'];
$page['uppercats'] = $result['uppercats'];
- $page['title'] = get_cat_display_name( $page['cat_name'],' - ','',false);
+ $page['title'] =
+ get_cat_display_name($page['cat_name'],
+ ' &gt; ',
+ 'category.php?cat=',
+ false);
$page['where'] = ' WHERE category_id = '.$page['cat'];
}
else