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
This commit is contained in:
nikrou
2010-04-21 12:51:48 +00:00
parent d406fe1ed4
commit 23cc91fcff
5 changed files with 23 additions and 1 deletions
+5
View File
@@ -33,6 +33,8 @@ include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
// +-----------------------------------------------------------------------+
check_status(ACCESS_ADMINISTRATOR);
trigger_action('loc_begin_cat_list');
if (!empty($_POST) or isset($_GET['delete']))
{
check_pwg_token();
@@ -284,6 +286,9 @@ foreach ($categories as $category)
}
$template->append('categories', $tpl_cat);
}
trigger_action('loc_end_cat_list');
// +-----------------------------------------------------------------------+
// | sending html code |
// +-----------------------------------------------------------------------+