aboutsummaryrefslogtreecommitdiffstats
path: root/comments.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2012-09-20 12:16:45 +0000
committermistic100 <mistic@piwigo.org>2012-09-20 12:16:45 +0000
commitcbb971db3fa4664e4e27d031296b998defafb3fb (patch)
tree041f920bab19ad3d2552525efa4a995f4df702db /comments.php
parent5c70d3b9715bdba98fb9b8ca0010c69984a6c082 (diff)
feature 2747: Add triggers on all main pages
git-svn-id: http://piwigo.org/svn/trunk@18063 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--comments.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/comments.php b/comments.php
index 15891e2d5..f695cebaa 100644
--- a/comments.php
+++ b/comments.php
@@ -64,6 +64,8 @@ $since_options = array(
4 => array('label' => l10n('the beginning'),
'clause' => '1=1') // stupid but generic
);
+
+trigger_action('loc_begin_comments');
if (!empty($_GET['since']) && is_numeric($_GET['since']))
{
@@ -556,6 +558,7 @@ if (!isset($themeconf['hide_menu_on']) OR !in_array('theCommentsPage', $themecon
// | html code display |
// +-----------------------------------------------------------------------+
include(PHPWG_ROOT_PATH.'include/page_header.php');
+trigger_action('loc_end_comments');
include(PHPWG_ROOT_PATH.'include/page_messages.php');
$template->pparse('comments');
include(PHPWG_ROOT_PATH.'include/page_tail.php');