Changeset 28688


Ignore:
Timestamp:
06/13/14 20:18:03 (5 years ago)
Author:
mistic100
Message:

use trigger_change

Location:
extensions/AMenuManager
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/AMenuManager/amm_pip.class.inc.php

    r28241 r28688  
    215215          $this->currentBuiltMenu=$row['id']; 
    216216 
    217           $row['name']=trigger_event('render_category_name', $row['name'], 'amm_album_to_menu'); 
     217          $row['name']=trigger_change('render_category_name', $row['name'], 'amm_album_to_menu'); 
    218218 
    219219          if(($block=$menu->get_block('mbAMM_album'.$row['id']))!= null) 
  • extensions/AMenuManager/amm_root.class.inc.php

    r21510 r28688  
    144144        while($row=pwg_db_fetch_assoc($result)) 
    145145        { 
    146           $row['name']=trigger_event('render_category_name', $row['name'], 'amm_album_to_menu'); 
     146          $row['name']=trigger_change('render_category_name', $row['name'], 'amm_album_to_menu'); 
    147147 
    148148          $menu->register_block( new RegisteredBlock( 'mbAMM_album'.$row['id'], $row['name'].' ('.l10n('g002_album2menu').') ', 'AMM')); 
     
    364364      while($row=pwg_db_fetch_assoc($result)) 
    365365      { 
    366         $row['content'] = trigger_event('get_extended_desc', $row['content']); 
     366        $row['content'] = trigger_change('get_extended_desc', $row['content']); 
    367367        $returned[]=$row; 
    368368      } 
Note: See TracChangeset for help on using the changeset viewer.