feature 3010 : replace trigger_action/event by trigger_notify/change

git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
mistic100
2014-06-02 07:55:46 +00:00
parent f98edc7a2e
commit 4bd32005b5
62 changed files with 322 additions and 344 deletions
+4 -4
View File
@@ -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');
?>