mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-10-30 21:52:00 +01:00
plugins last modifications + events are triggered now from picture.php
git-svn-id: http://piwigo.org/svn/trunk@1590 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
1 parent
525c9bc40a
commit
bce8b9f680
14 files changed
+372
-220
No files matched your search
@@ -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');
|
||||
?>
|
||||
Reference in new issue
Block a user