aboutsummaryrefslogtreecommitdiffstats
path: root/category.php
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-07-27 06:36:20 +0000
committerz0rglub <z0rglub@piwigo.org>2004-07-27 06:36:20 +0000
commit7a3a12a93c8b197e984d303bfccd92a524e567dc (patch)
tree3dd3e3d9f5462c53f062dbf835082633bdedb979 /category.php
parent8f01fd0923e4678d8475b2e12f81f42339d1e02f (diff)
use include/category_default.inc.php to display most_visited and recent_pics
git-svn-id: http://piwigo.org/svn/trunk@459 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'category.php')
-rw-r--r--category.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/category.php b/category.php
index 1d84483a7..3fbc5eae8 100644
--- a/category.php
+++ b/category.php
@@ -271,7 +271,9 @@ $template->assign_block_vars('summary', array(
//------------------------------------------------------ main part : thumbnails
if (isset($page['cat'])
and ((is_numeric($page['cat']) and $page['cat_nb_images'] != 0)
- or $page['cat'] == 'search'))
+ or $page['cat'] == 'search'
+ or $page['cat'] == 'most_visited'
+ or $page['cat'] == 'recent_pics'))
{
include(PHPWG_ROOT_PATH.'include/category_default.inc.php');
}