mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
feature 2747: Add triggers on all main pages
git-svn-id: http://piwigo.org/svn/trunk@18063 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user