Changeset 2174 for branches


Ignore:
Timestamp:
Nov 29, 2007, 2:03:15 PM (17 years ago)
Author:
patdenice
Message:

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.

Location:
branches/branch-1_7/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1_7/include/category_cats.inc.php

    r2118 r2174  
    221221            trigger_event('render_category_literal_description',
    222222              trigger_event('render_category_description',
    223                 @$category['comment'])),
     223                @$category['comment'],
     224                'subcatify_category_description')),
    224225          'NAME'  => $name,
    225226          )
  • branches/branch-1_7/include/page_header.php

    r2158 r2174  
    4040
    4141    'PAGE_BANNER' =>
    42       isset($page['page_banner']) ?
    43         $page['page_banner'] : $conf['page_banner'],
     42      trigger_event('render_page_banner',
     43        isset($page['page_banner']) ?
     44          $page['page_banner'] : $conf['page_banner']),
    4445
    4546    'BODY_ID' =>
  • branches/branch-1_7/include/section_init.inc.php

    r2137 r2174  
    208208            trigger_event(
    209209              'render_category_description',
    210               $page['category']['comment']
     210              $page['category']['comment'],
     211              'main_page_category_description'
    211212            ),
    212213        'title'             =>
Note: See TracChangeset for help on using the changeset viewer.