aboutsummaryrefslogtreecommitdiffstats
path: root/include/category_default.inc.php
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2006-06-24 09:19:40 +0000
committerchrisaga <chrisaga@piwigo.org>2006-06-24 09:19:40 +0000
commitabf6100441ae127d48783b4d2c373309ad1625a6 (patch)
treec74fd9c20b8a064b43c11286ccacc2245250b083 /include/category_default.inc.php
parentc502e8d37c772967fd50f4ffaa4822390e5258e0 (diff)
feature 434: split thumbnails in template so customization could be easyer (manual merge from trunk r:1384
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1386 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/category_default.inc.php')
-rw-r--r--include/category_default.inc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/category_default.inc.php b/include/category_default.inc.php
index 6c909647a..652f31f50 100644
--- a/include/category_default.inc.php
+++ b/include/category_default.inc.php
@@ -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');
?>