Ignore:
Timestamp:
Jun 2, 2014, 9:55:46 AM (10 years ago)
Author:
mistic100
Message:

feature 3010 : replace trigger_action/event by trigger_notify/change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_category.inc.php

    r27926 r28587  
    109109  }
    110110
    111   $where = trigger_event('get_categories_menu_sql_where',
     111  $where = trigger_change('get_categories_menu_sql_where',
    112112    $where, $user['expand'], $filter['enabled'] );
    113113
     
    124124    $row = array_merge($row,
    125125      array(
    126         'NAME' => trigger_event(
     126        'NAME' => trigger_change(
    127127          'render_category_name',
    128128          $row['name'],
     
    231231  global $conf, $page;
    232232
    233   return trigger_event('get_category_preferred_image_orders', array(
     233  return trigger_change('get_category_preferred_image_orders', array(
    234234    array(l10n('Default'),                        '',                     true),
    235235    array(l10n('Photo title, A → Z'),        'name ASC',             true),
     
    280280      $option.= '- ';
    281281      $option.= strip_tags(
    282         trigger_event(
     282        trigger_change(
    283283          'render_category_name',
    284284          $category['name'],
Note: See TracChangeset for help on using the changeset viewer.