aboutsummaryrefslogtreecommitdiffstats
path: root/include/page_header.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/page_header.php')
-rw-r--r--include/page_header.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/include/page_header.php b/include/page_header.php
index 381162dbd..506e93920 100644
--- a/include/page_header.php
+++ b/include/page_header.php
@@ -35,9 +35,14 @@ $template->assign(
$page['gallery_title'] : $conf['gallery_title'],
'PAGE_BANNER' =>
- trigger_event('render_page_banner',
- isset($page['page_banner']) ?
- $page['page_banner'] : $conf['page_banner']),
+ trigger_event(
+ 'render_page_banner',
+ str_replace(
+ '%gallery_title%',
+ $conf['gallery_title'],
+ isset($page['page_banner']) ? $page['page_banner'] : $conf['page_banner']
+ )
+ ),
'BODY_ID' =>
isset($page['body_id']) ?