From 4489066c982c1044028295164ec2f2e840c16881 Mon Sep 17 00:00:00 2001 From: rub Date: Mon, 8 Jan 2007 00:16:10 +0000 Subject: Feature Issue ID 0000496: Integrate MOD add_index on PWG with plugin.lang.php Add some plugin triggers: o for help o for language o for site manager o for advanced features Allow to launch directly plugin page (without section key) Add add_index plugin, available on site manager and advanced features Configuration page and best help must be coming soon. git-svn-id: http://piwigo.org/svn/trunk@1699 68402e56-0260-453c-a942-63ccdbb3a9ee --- plugins/admin_advices/main.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins/admin_advices') diff --git a/plugins/admin_advices/main.inc.php b/plugins/admin_advices/main.inc.php index c6362a72b..5af0b8f9a 100644 --- a/plugins/admin_advices/main.inc.php +++ b/plugins/admin_advices/main.inc.php @@ -13,7 +13,9 @@ function set_admin_advice() // This Plugin works only on the Admin page if ( isset($page['body_id']) and $page['body_id']=='theAdminPage' - and isset($page['page']) and $page['page'] == 'intro' ) + and isset($page['page']['name']) and $page['page']['name'] == 'intro' + and isset($page['page']['type']) and $page['page']['type'] == 'standard' + ) { // Setup Advice Language (Maybe there is already a variable) $advlang = ( isset($user['language']) ) ? -- cgit v1.2.3