From 5c13d6a8f1416abb5712bc77aadb959dc1c9d333 Mon Sep 17 00:00:00 2001 From: rub Date: Sat, 25 Aug 2007 23:10:12 +0000 Subject: Resolved 0000728: Add description triggers for categories and elements Add: o render_category_description o render_category_literal_description o render_element_description Merge branch-1_7 2048:2050 into BSF git-svn-id: http://piwigo.org/svn/trunk@2079 68402e56-0260-453c-a942-63ccdbb3a9ee --- index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index 6116828f3..f3edd49de 100644 --- a/index.php +++ b/index.php @@ -296,7 +296,8 @@ if (isset($page['comment']) and $page['comment'] != '') $template->assign_block_vars( 'cat_infos.comment', array( - 'COMMENTS' => $page['comment'] + 'COMMENTS' => + trigger_event('render_category_description', $page['comment']) ) ); $header_infos['COMMENT'] = strip_tags($page['comment']); -- cgit v1.2.3