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/cat_modify.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'admin/cat_modify.php') diff --git a/admin/cat_modify.php b/admin/cat_modify.php index d48d79ad2..ff48e8ac4 100644 --- a/admin/cat_modify.php +++ b/admin/cat_modify.php @@ -33,6 +33,8 @@ include_once(PHPWG_ROOT_PATH.'include/functions_mail.inc.php'); // +-----------------------------------------------------------------------+ check_status(ACCESS_ADMINISTRATOR); +trigger_action('loc_begin_cat_modify'); + //---------------------------------------------------------------- verification if ( !isset( $_GET['cat_id'] ) || !is_numeric( $_GET['cat_id'] ) ) { @@ -555,6 +557,8 @@ SELECT ); } +trigger_action('loc_end_cat_modify'); + //----------------------------------------------------------- sending html code $template->assign_var_from_handle('ADMIN_CONTENT', 'categories'); -?> +?> \ No newline at end of file -- cgit v1.2.3