mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-01 06:23:49 +02: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:
+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