From 23cc91fcffc3fe81baf99dc177670d85c0903545 Mon Sep 17 00:00:00 2001 From: nikrou Date: Wed, 21 Apr 2010 12:51:48 +0000 Subject: Feature 1620 : add triggers on admin side for categories and batch mode. git-svn-id: http://piwigo.org/svn/trunk@5933 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/element_set_unit.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'admin/element_set_unit.php') diff --git a/admin/element_set_unit.php b/admin/element_set_unit.php index 95e163705..d7a29374b 100644 --- a/admin/element_set_unit.php +++ b/admin/element_set_unit.php @@ -39,6 +39,8 @@ include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); // +-----------------------------------------------------------------------+ check_status(ACCESS_ADMINISTRATOR); +trigger_action('loc_begin_element_set_unit'); + // +-----------------------------------------------------------------------+ // | unit mode form submission | // +-----------------------------------------------------------------------+ @@ -254,6 +256,8 @@ SELECT $template->assign('ELEMENT_IDS', implode(',', $element_ids)); } +trigger_action('loc_end_element_set_unit'); + // +-----------------------------------------------------------------------+ // | sending html code | // +-----------------------------------------------------------------------+ -- cgit v1.2.3