Changeset 28649


Ignore:
Timestamp:
Jun 9, 2014, 4:07:32 PM (6 years ago)
Author:
mistic100
Message:

use trigger_change

Location:
extensions/AdditionalPages/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/AdditionalPages/trunk/additional_page.php

    r21203 r28649  
    110110  'id' => $row['id'],
    111111  'permalink' => @$row['permalink'],
    112   'title' => trigger_event('AP_render_title', $row['title']),
    113   'content' => trigger_event('AP_render_content', $row['content']),
     112  'title' => trigger_change('AP_render_title', $row['title']),
     113  'content' => trigger_change('AP_render_content', $row['content']),
    114114);
    115115
  • extensions/AdditionalPages/trunk/admin/add_page.inc.php

    r19836 r28649  
    3030  else
    3131  {
    32     $distribued = trigger_event('load_ap_template', array(), $_GET['load_template']);
     32    $distribued = trigger_change('load_ap_template', array(), $_GET['load_template']);
    3333  }
    3434  $edited_page = array_merge($edited_page, $distribued);
     
    228228    closedir($dh);
    229229  }
    230   $distribued = trigger_event('load_ap_templates_list', $distribued); // external plugins can add templates
     230  $distribued = trigger_change('load_ap_templates_list', $distribued); // external plugins can add templates
    231231  $template->assign('TEMPLATES', $distribued);
    232232}
  • extensions/AdditionalPages/trunk/admin/manage.inc.php

    r19429 r28649  
    4949  $row['U_DELETE'] = get_root_url().'admin.php?page=plugin-'.AP_DIR.'-edit_page&edit='.$row['id'].'&delete=';
    5050
    51   $row['title'] = trigger_event('AP_render_title', $row['title']);
     51  $row['title'] = trigger_change('AP_render_title', $row['title']);
    5252  $row['language'] = @$languages[$row['lang']];
    5353
  • extensions/AdditionalPages/trunk/main.inc.php

    r21550 r28649  
    125125    {
    126126      $url = make_index_url(array('section'=>'page')).'/'.(isset($row['permalink']) ? $row['permalink'] : $row['id']);
    127       array_push($data, array('URL' => $url, 'LABEL' => trigger_event('AP_render_title', $row['title'])));
     127      array_push($data, array('URL' => $url, 'LABEL' => trigger_change('AP_render_title', $row['title'])));
    128128    }
    129129
Note: See TracChangeset for help on using the changeset viewer.