diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-04-02 01:08:24 +0400 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-04-02 01:08:24 +0400 |
commit | 48edef07bdc252fd9f0e9c90d8f0434fbe71e7ba (patch) | |
tree | ce4e80ffe4671eda6213184f871e4fde7f612003 /plugins/SecurityInfo | |
parent | 55cee28655de774b437a9b31eab52b5c2ed062c3 (diff) |
* Added General settings page to: enable browser archiving, define today's archive time to live (fixes #1149)
* added User settings page, that all logged in users can access to edit: Alias, email, default report to load, default date. Implemented settings in the _option table (rather than adding new fields to the table). Fixes #401 refs #526
* the super user can edit settings for the anonymous user and force the anonymous to the login screen or a specific website
* added order feature in admin menu + colored current menu + hiding menu entries that are not visible to the logged in user anyway
* improved styles of admin forms
Diffstat (limited to 'plugins/SecurityInfo')
-rw-r--r-- | plugins/SecurityInfo/SecurityInfo.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/SecurityInfo/SecurityInfo.php b/plugins/SecurityInfo/SecurityInfo.php index 6811aae328..d62916909d 100644 --- a/plugins/SecurityInfo/SecurityInfo.php +++ b/plugins/SecurityInfo/SecurityInfo.php @@ -37,9 +37,9 @@ class Piwik_SecurityInfo extends Piwik_Plugin function addMenu() { - if (Piwik::isUserIsSuperUser()) - { - Piwik_AddAdminMenu('SecurityInfo_Security', array('module' => 'SecurityInfo', 'action' => 'index')); - } + Piwik_AddAdminMenu('SecurityInfo_Security', + array('module' => 'SecurityInfo', 'action' => 'index'), + Piwik::isUserIsSuperUser(), + $order = 10); } } |