From 6f03e29735ea395f31d09bbfd15a4e15eaf961e3 Mon Sep 17 00:00:00 2001 From: rub Date: Thu, 22 Feb 2007 20:20:30 +0000 Subject: o Proposition: improved display of 'x images in y sub-categories' or 'x images in this category' for cases when categories contain both images and sub-categories o Good idea of this new way for way conf['guest_access'], but I kept last implementation for access methods (Could be useful on future development) git-svn-id: http://piwigo.org/svn/trunk@1851 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/category_cats.inc.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'include/category_cats.inc.php') diff --git a/include/category_cats.inc.php b/include/category_cats.inc.php index 653d1d869..2acb05f13 100644 --- a/include/category_cats.inc.php +++ b/include/category_cats.inc.php @@ -214,7 +214,9 @@ if (count($categories) > 0) ( $category['nb_images'], $category['count_images'], - $category['count_categories'] + $category['count_categories'], + true, + '
' ), 'DESCRIPTION' => @$comment, 'NAME' => $name, @@ -249,7 +251,9 @@ if (count($categories) > 0) ( $category['nb_images'], $category['count_images'], - $category['count_categories'] + $category['count_categories'], + true, + '
' ), 'U_IMG_LINK' => make_index_url( -- cgit v1.2.3