From 58b1c34aa15759112f7434c65ed74109802622f8 Mon Sep 17 00:00:00 2001 From: patdenice Date: Thu, 29 Nov 2007 13:03:15 +0000 Subject: Add second parameter for render_category_description to differentiate both triggers in category_cats.inc.php and section_init.inc.php. Add render_page_banner trigger. git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2174 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/section_init.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/section_init.inc.php') diff --git a/include/section_init.inc.php b/include/section_init.inc.php index f80b321a1..86c1c35c0 100644 --- a/include/section_init.inc.php +++ b/include/section_init.inc.php @@ -207,7 +207,8 @@ if ('categories' == $page['section']) 'comment' => trigger_event( 'render_category_description', - $page['category']['comment'] + $page['category']['comment'], + 'main_page_category_description' ), 'title' => get_cat_display_name($page['category']['upper_names'], '', false), -- cgit v1.2.3