aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-08-25 23:08:02 +0000
committerrub <rub@piwigo.org>2007-08-25 23:08:02 +0000
commit9d91210e41c0a83ec5af83bd5e254d14348086a6 (patch)
treee77f04b81640f381b47f4a9751323dbf577844b1 /index.php
parent5e5dc77f9e05941281ed4ba3e6b0ec0712634d65 (diff)
Resolved 0000728: Add description triggers for categories and elements
Add: o render_category_description o render_category_literal_description o render_element_description git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2078 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 2 insertions, 1 deletions
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']);