mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 00:53:04 +02:00
feature 434: split thumbnails in template so customization could be easyer
git-svn-id: http://piwigo.org/svn/trunk@1384 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -60,6 +60,7 @@ SELECT *
|
||||
}
|
||||
|
||||
// template thumbnail initialization
|
||||
$template->set_filenames( array( 'thumbnails' => 'thumbnails.tpl',));
|
||||
if (count($pictures) > 0)
|
||||
{
|
||||
$template->assign_block_vars('thumbnails', array());
|
||||
@@ -165,6 +166,7 @@ SELECT COUNT(*) AS nb_comments
|
||||
$row_number = 0;
|
||||
}
|
||||
}
|
||||
$template->assign_var_from_handle('THUMBNAILS', 'thumbnails');
|
||||
|
||||
pwg_debug('end include/category_default.inc.php');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user