Changeset 8132


Ignore:
Timestamp:
12/14/10 16:21:47 (8 years ago)
Author:
patdenice
Message:

Extended description tags can be used in additional pages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/AdditionalPages/additional_page.php

    r3609 r8132  
    5252 
    5353// Envoi de la page 
     54// Extended description 
     55if (function_exists('get_extended_desc')) 
     56  add_event_handler('AP_render_content', 'get_extended_desc'); 
     57 
    5458$template->assign(array( 
    55   'TITLE' => $result['title'], 
    56   'PLUGIN_INDEX_CONTENT_BEGIN' => $result['text'])); 
     59  'TITLE' => trigger_event('AP_render_content', $result['title']), 
     60  'PLUGIN_INDEX_CONTENT_BEGIN' => trigger_event('AP_render_content', $result['text']))); 
    5761if (isset($ap_conf[2]) and $ap_conf[2] == 'on') 
    5862{ 
Note: See TracChangeset for help on using the changeset viewer.