aboutsummaryrefslogtreecommitdiffstats
path: root/include/page_header.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-11-01 05:54:35 +0000
committerrvelices <rv-github@modusoptimus.com>2006-11-01 05:54:35 +0000
commitbce8b9f680af4eb5481441e52e1d82b11da722be (patch)
tree45b30f55abb3257bbc3a8592f8ab872468e41636 /include/page_header.php
parent525c9bc40ab6a99c44292388ce4385574057da86 (diff)
plugins last modifications + events are triggered now from picture.php
git-svn-id: http://piwigo.org/svn/trunk@1590 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/page_header.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/page_header.php b/include/page_header.php
index af571ab19..1535eb896 100644
--- a/include/page_header.php
+++ b/include/page_header.php
@@ -30,6 +30,8 @@
//
$template->set_filenames(array('header'=>'header.tpl'));
+trigger_action('loc_begin_page_header');
+
$template->assign_vars(
array(
'GALLERY_TITLE' =>
@@ -37,9 +39,8 @@ $template->assign_vars(
$page['gallery_title'] : $conf['gallery_title'],
'PAGE_BANNER' =>
- trigger_event('page_banner',
- isset($page['page_banner']) ?
- $page['page_banner'] : $conf['page_banner'] ),
+ isset($page['page_banner']) ?
+ $page['page_banner'] : $conf['page_banner'],
'BODY_ID' =>
isset($page['body_id']) ?
@@ -67,6 +68,8 @@ if ( isset( $refresh ) and intval($refresh) >= 0
$template->assign_block_vars('refresh', array());
}
+trigger_action('loc_end_page_header');
+
header('Content-Type: text/html; charset='.$lang_info['charset']);
$template->parse('header');
?>