From 4bd32005b56f6ec741ceeed0a1745fe89f291085 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Mon, 2 Jun 2014 07:55:46 +0000 Subject: feature 3010 : replace trigger_action/event by trigger_notify/change git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/cat_list.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'admin/cat_list.php') diff --git a/admin/cat_list.php b/admin/cat_list.php index 729fe845f..631a69354 100644 --- a/admin/cat_list.php +++ b/admin/cat_list.php @@ -33,7 +33,7 @@ include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); // +-----------------------------------------------------------------------+ check_status(ACCESS_ADMINISTRATOR); -trigger_action('loc_begin_cat_list'); +trigger_notify('loc_begin_cat_list'); if (!empty($_POST) or isset($_GET['delete'])) { @@ -324,7 +324,7 @@ foreach ($categories as $category) $tpl_cat = array( 'NAME' => - trigger_event( + trigger_change( 'render_category_name', $category['name'], 'admin_cat_list' @@ -363,7 +363,7 @@ foreach ($categories as $category) $template->append('categories', $tpl_cat); } -trigger_action('loc_end_cat_list'); +trigger_notify('loc_end_cat_list'); // +-----------------------------------------------------------------------+ // | sending html code | -- cgit v1.2.3