aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_category.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/functions_category.inc.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/functions_category.inc.php b/include/functions_category.inc.php
index 74d3a077b..826ff9292 100644
--- a/include/functions_category.inc.php
+++ b/include/functions_category.inc.php
@@ -108,7 +108,7 @@ FROM '.CATEGORIES_TABLE.' INNER JOIN '.USER_CACHE_CATEGORIES_TABLE.'
);
}
- $where = trigger_event('get_categories_menu_sql_where',
+ $where = trigger_change('get_categories_menu_sql_where',
$where, $user['expand'], $filter['enabled'] );
$query.= '
@@ -123,7 +123,7 @@ WHERE '.$where.'
$child_date_last = @$row['max_date_last']> @$row['date_last'];
$row = array_merge($row,
array(
- 'NAME' => trigger_event(
+ 'NAME' => trigger_change(
'render_category_name',
$row['name'],
'get_categories_menu'
@@ -230,7 +230,7 @@ function get_category_preferred_image_orders()
{
global $conf, $page;
- return trigger_event('get_category_preferred_image_orders', array(
+ return trigger_change('get_category_preferred_image_orders', array(
array(l10n('Default'), '', true),
array(l10n('Photo title, A → Z'), 'name ASC', true),
array(l10n('Photo title, Z → A'), 'name DESC', true),
@@ -279,7 +279,7 @@ function display_select_categories($categories,
(3 * substr_count($category['global_rank'], '.')));
$option.= '- ';
$option.= strip_tags(
- trigger_event(
+ trigger_change(
'render_category_name',
$category['name'],
'display_select_categories'