From 6acbf6dfc327ace144af72f8b0db8d5b595bba7a Mon Sep 17 00:00:00 2001 From: rvelices Date: Sat, 8 Oct 2011 20:02:38 +0000 Subject: merge -r12391 from trunk moved up one line of code added in 2.3 (plugin compatibility) git-svn-id: http://piwigo.org/svn/branches/2.3@12392 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/category_default.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/category_default.inc.php b/include/category_default.inc.php index ef04324f7..256591db4 100644 --- a/include/category_default.inc.php +++ b/include/category_default.inc.php @@ -170,9 +170,10 @@ foreach ($pictures as $row) $tpl_thumbnails_var[] = $tpl_var; } +$template->assign('SHOW_THUMBNAIL_CAPTION', $conf['show_thumbnail_caption']); $tpl_thumbnails_var = trigger_event('loc_end_index_thumbnails', $tpl_thumbnails_var, $pictures); $template->assign('thumbnails', $tpl_thumbnails_var); -$template->assign('SHOW_THUMBNAIL_CAPTION', $conf['show_thumbnail_caption']); + $template->assign_var_from_handle('THUMBNAILS', 'index_thumbnails'); pwg_debug('end include/category_default.inc.php'); -- cgit v1.2.3