aboutsummaryrefslogtreecommitdiffstats
path: root/include/page_header.php
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2007-11-29 13:08:38 +0000
committerpatdenice <patdenice@piwigo.org>2007-11-29 13:08:38 +0000
commit58fafb94d8aeae3c29b2c4d1a4614c21ab6cacdf (patch)
treea81337b9fc870c0f2c477c11b30d023b7abf33b9 /include/page_header.php
parenta6026ae08929733515af628a784942c715c1eb15 (diff)
Merge from branch-1_7: 2174
Add second parameter for render_category_description to differentiate both triggers in category_cats.inc.php and section_init.inc.php. Add render_page_banner trigger. git-svn-id: http://piwigo.org/svn/trunk@2175 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/page_header.php')
-rw-r--r--include/page_header.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/page_header.php b/include/page_header.php
index 99890b182..cd51f5031 100644
--- a/include/page_header.php
+++ b/include/page_header.php
@@ -39,8 +39,9 @@ $template->assign_vars(
$page['gallery_title'] : $conf['gallery_title'],
'PAGE_BANNER' =>
- isset($page['page_banner']) ?
- $page['page_banner'] : $conf['page_banner'],
+ trigger_event('render_page_banner',
+ isset($page['page_banner']) ?
+ $page['page_banner'] : $conf['page_banner']),
'BODY_ID' =>
isset($page['body_id']) ?