From 4bd32005b56f6ec741ceeed0a1745fe89f291085 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Mon, 2 Jun 2014 07:55:46 +0000 Subject: feature 3010 : replace trigger_action/event by trigger_notify/change git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/page_header.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/page_header.php') 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 -- cgit v1.2.3