mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-08 09:43:01 +02:00
- 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
This commit is contained in:
@@ -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');
|
||||
?>
|
||||
Reference in New Issue
Block a user