aboutsummaryrefslogtreecommitdiffstats
path: root/include/common.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-11-08 04:28:30 +0000
committerrvelices <rv-github@modusoptimus.com>2006-11-08 04:28:30 +0000
commite5e776a263ba63407893a28df379f2ac8152680c (patch)
treecddbdfa05f6c58740161778d78f80112dac1a414 /include/common.inc.php
parente44f0b01549d3a52c5b261767c6531044d09a1a1 (diff)
- comments.php improvements:
- unvalidated comments are shown only for administrators - added delete/validate icons for admins - removed some unused code - display of comment content performed through an event - replace some get_thumbnail_src with get_thumbnail_url git-svn-id: http://piwigo.org/svn/trunk@1598 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/common.inc.php')
-rw-r--r--include/common.inc.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/common.inc.php b/include/common.inc.php
index e77d41f89..2b02e0cf8 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -5,7 +5,7 @@
// | Copyright (C) 2003-2006 PhpWebGallery Team - http://phpwebgallery.net |
// +-----------------------------------------------------------------------+
// | branch : BSF (Best So Far)
-// | file : $RCSfile$
+// | file : $Id$
// | last update : $Date$
// | last modifier : $Author$
// | revision : $Revision$
@@ -228,4 +228,8 @@ if (count($header_msgs) > 0)
array('HEADER_MSG'=>$header_msg));
}
}
+
+// default event handlers
+add_event_handler('render_comment_content', 'parse_comment_content');
+trigger_action('init');
?> \ No newline at end of file