mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-10-30 21:52:00 +01:00
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
This commit is contained in:
1 parent
8f01fd0923
commit
7a3a12a93c
1 file changed
+3
-1
+3
-1
@@ -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');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user