aboutsummaryrefslogtreecommitdiffstats
path: root/admin.php
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-04-21 12:51:48 +0000
committernikrou <nikrou@piwigo.org>2010-04-21 12:51:48 +0000
commit23cc91fcffc3fe81baf99dc177670d85c0903545 (patch)
tree91bf9d766adc35f88faaab1f47847f6e4b100e25 /admin.php
parentd406fe1ed4e2bfeabdb781efe64990262b6fe12f (diff)
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
Diffstat (limited to 'admin.php')
-rw-r--r--admin.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/admin.php b/admin.php
index ff5398616..21014e2e9 100644
--- a/admin.php
+++ b/admin.php
@@ -29,6 +29,8 @@ include_once( PHPWG_ROOT_PATH.'include/common.inc.php' );
include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
include_once(PHPWG_ROOT_PATH.'admin/include/functions_plugins.inc.php');
+trigger_action('loc_begin_admin');
+
// +-----------------------------------------------------------------------+
// | Check Access and exit when user status is not ok |
// +-----------------------------------------------------------------------+
@@ -168,6 +170,9 @@ if (count($page['infos']) != 0)
$template->assign( 'pwgmenu', pwg_URL() );
include(PHPWG_ROOT_PATH.'include/page_header.php');
+
+trigger_action('loc_end_admin');
+
$template->pparse('admin');
// +-----------------------------------------------------------------------+