Ignore:
Timestamp:
Aug 30, 2011, 10:24:42 AM (9 years ago)
Author:
plg
Message:

feature 2420 added: automatically use the gallery title in the page banner.
Just write %gallery_title% in the page banner (this is written by default).

The default gallery title and tagline are now localized.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/page_header.php

    r11368 r12008  
    3636
    3737    'PAGE_BANNER' =>
    38       trigger_event('render_page_banner',
    39         isset($page['page_banner']) ?
    40           $page['page_banner'] : $conf['page_banner']),
     38      trigger_event(
     39        'render_page_banner',
     40        str_replace(
     41          '%gallery_title%',
     42          $conf['gallery_title'],
     43          isset($page['page_banner']) ? $page['page_banner'] : $conf['page_banner']
     44          )
     45        ),
    4146
    4247    'BODY_ID' =>
Note: See TracChangeset for help on using the changeset viewer.