diff options
author | rub <rub@piwigo.org> | 2007-01-08 00:16:10 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2007-01-08 00:16:10 +0000 |
commit | 4489066c982c1044028295164ec2f2e840c16881 (patch) | |
tree | 9dbe71687d9ac6743b7137b45c943d15eb28e045 /plugins/admin_advices | |
parent | f992150313a63d30aeda6e5f3dcd64fc62a06adb (diff) |
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
Diffstat (limited to '')
-rw-r--r-- | plugins/admin_advices/main.inc.php | 4 |
1 files changed, 3 insertions, 1 deletions
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']) ) ?
|