From 8eb18bb8899e7586e79365737967e43c75b2cb78 Mon Sep 17 00:00:00 2001 From: z0rglub Date: Fri, 19 Sep 2003 21:41:42 +0000 Subject: [PATCH] - A category can have its representative picture - Use the plain structure instead of the get_cat_info for retrieving the last date of a category git-svn-id: http://piwigo.org/svn/trunk@134 68402e56-0260-453c-a942-63ccdbb3a9ee --- category.php | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/category.php b/category.php index 285c69d68..32f4dff0d 100644 --- a/category.php +++ b/category.php @@ -347,17 +347,28 @@ elseif ( ( isset( $page['cat'] ) $cell_number = 1; $i = 0; foreach ( $subcats as $subcat_id => $non_empty_id ) { - $subcat_infos = get_cat_info( $subcat_id ); - - $name ='[ '; - $name.= $subcat_infos['name'][0]; + $name = 'addSession( $handle, 'thumbnail' );