Changeset 29793 for extensions/title


Ignore:
Timestamp:
Sep 25, 2014, 9:47:44 PM (10 years ago)
Author:
ddtddt
Message:

[title] check 2.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/title/main.inc.php

    r22676 r29793  
    7979$titleP=$row['title'];
    8080
    81 $titlePED=trigger_event('AP_render_content', $titleP);
     81$titlePED=trigger_change('AP_render_content', $titleP);
    8282       
    8383                if (!empty($titlePED))
     
    104104$titleA=$row['title'];
    105105
    106 $titleAED=trigger_event('AP_render_content', $titleA);
     106$titleAED=trigger_change('AP_render_content', $titleA);
    107107
    108108                if (!empty($titleAED))
     
    130130                        {
    131131                        $titlespecial[$row['page']] = $row['title'];
    132                         $titlespecialED[$row['page']]=trigger_event('AP_render_content', $titlespecial[$row['page']]);
     132                        $titlespecialED[$row['page']]=trigger_change('AP_render_content', $titlespecial[$row['page']]);
    133133                        }
    134134       
     
    185185        if($PAC['state'] == 'active')
    186186        {
    187                 $titlespecialED['contact']=trigger_event('AP_render_content', $conf['contacttitle']);
     187                $titlespecialED['contact']=trigger_change('AP_render_content', $conf['contacttitle']);
    188188          if (isset($page['section']) and $page['section'] == 'contact' and !empty($titlespecialED['contact']))
    189189                {
     
    209209        $row = pwg_db_fetch_assoc($result);
    210210        $titleap=$row['title'];
    211         $titlespecialED['AdditionalPages']=trigger_event('AP_render_content', $titleap);       
     211        $titlespecialED['AdditionalPages']=trigger_change('AP_render_content', $titleap);       
    212212                                }
    213213          if (isset($page['section']) and $page['section'] == 'additional_page' and !empty($titlespecialED['AdditionalPages']))
Note: See TracChangeset for help on using the changeset viewer.