aboutsummaryrefslogtreecommitdiffstats
path: root/include/page_header.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2014-06-02 07:55:46 +0000
committermistic100 <mistic@piwigo.org>2014-06-02 07:55:46 +0000
commit4bd32005b56f6ec741ceeed0a1745fe89f291085 (patch)
treee2ee9bb68d07822bb7c0122831a0ce313a5af2d2 /include/page_header.php
parentf98edc7a2e423bed534977107e4cb892180cb946 (diff)
feature 3010 : replace trigger_action/event by trigger_notify/change
git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/page_header.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/page_header.php b/include/page_header.php
index 5ae28b27c..6710f20d9 100644
--- a/include/page_header.php
+++ b/include/page_header.php
@@ -26,7 +26,7 @@
//
$template->set_filenames(array('header'=>'header.tpl'));
-trigger_action('loc_begin_page_header');
+trigger_notify('loc_begin_page_header');
$template->assign(
array(
@@ -35,7 +35,7 @@ $template->assign(
$page['gallery_title'] : $conf['gallery_title'],
'PAGE_BANNER' =>
- trigger_event(
+ trigger_change(
'render_page_banner',
str_replace(
'%gallery_title%',
@@ -96,10 +96,10 @@ if ( isset( $refresh ) and intval($refresh) >= 0
));
}
-trigger_action('loc_end_page_header');
+trigger_notify('loc_end_page_header');
header('Content-Type: text/html; charset='.get_pwg_charset());
$template->parse('header');
-trigger_action('loc_after_page_header');
+trigger_notify('loc_after_page_header');
?> \ No newline at end of file