diff options
author | z0rglub <z0rglub@piwigo.org> | 2003-05-18 21:42:32 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2003-05-18 21:42:32 +0000 |
commit | aac81a8a382f7ec527e22d6dee959400d77e1a21 (patch) | |
tree | b51b5180e85326af0cfebf88bcad005ba93d5118 /category.php | |
parent | 2c2af65b6a95e20ba9ca49139683d2d150edb1b6 (diff) |
*** empty log message ***
git-svn-id: http://piwigo.org/svn/trunk@14 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'category.php')
-rw-r--r-- | category.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/category.php b/category.php index 8aaf4941e..d79c178e7 100644 --- a/category.php +++ b/category.php @@ -101,8 +101,7 @@ templatize_array( $tpl, 'lang', $handle ); $tpl = array( 'mail_webmaster','webmaster','top_number','version','site_url' ); templatize_array( $tpl, 'conf', $handle ); -$tpl = array( 'short_period','long_period','style','lien_collapsed', - 'username' ); +$tpl = array( 'short_period','long_period','lien_collapsed', 'username' ); templatize_array( $tpl, 'user', $handle ); $tpl = array( 'title','navigation_bar','cat_comment','cat_nb_images' ); @@ -465,8 +464,9 @@ if ( isset ( $page['cat'] ) ) // category comment if ( isset( $page['comment'] ) and $page['comment'] != '' ) { - $vtp->addSession( $handle, 'cat_comment' ); - $vtp->closeSession( $handle, 'cat_navigation' ); + $vtp->addSession( $handle, 'comment' ); + $vtp->setVar( $handle, 'comment.cat_comment', $page['comment'] ); + $vtp->closeSession( $handle, 'comment' ); } // total number of pictures in the category if ( is_numeric( $page['cat'] ) ) |