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/batch_manager_global.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'admin/batch_manager_global.php') diff --git a/admin/batch_manager_global.php b/admin/batch_manager_global.php index 9cfd6ab14..b4e5e2cb4 100644 --- a/admin/batch_manager_global.php +++ b/admin/batch_manager_global.php @@ -40,7 +40,7 @@ include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); check_status(ACCESS_ADMINISTRATOR); -trigger_action('loc_begin_element_set_global'); +trigger_notify('loc_begin_element_set_global'); check_input_parameter('del_tags', $_POST, true, PATTERN_ID); check_input_parameter('associate', $_POST, false, PATTERN_ID); @@ -404,7 +404,7 @@ DELETE } } - trigger_action('element_set_global_action', $action, $collection); + trigger_notify('element_set_global_action', $action, $collection); } // +-----------------------------------------------------------------------+ @@ -429,7 +429,7 @@ if ($conf['enable_synchronization']) $prefilters[] = array('ID' => 'no_virtual_album', 'NAME' => l10n('With no virtual album')); } -$prefilters = trigger_event('get_batch_manager_prefilters', $prefilters); +$prefilters = trigger_change('get_batch_manager_prefilters', $prefilters); usort($prefilters, 'UC_name_compare'); $template->assign( @@ -674,7 +674,7 @@ $template->assign(array( 'CACHE_KEYS' => get_admin_client_cache_keys(array('tags', 'categories')), )); -trigger_action('loc_end_element_set_global'); +trigger_notify('loc_end_element_set_global'); //----------------------------------------------------------- sending html code $template->assign_var_from_handle('ADMIN_CONTENT', 'batch_manager_global'); -- cgit v1.2.3