Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Becker <halfdan@xnorfz.de>2013-01-29 22:17:57 +0400
committerFabian Becker <halfdan@xnorfz.de>2013-01-29 22:17:57 +0400
commit388792fc912351eb32f194bb96a0c4f2c46a41fd (patch)
tree315da676c78842b75951ee986e873b36ce9cb7d9 /plugins/UserCountry
parent15cbd9a535a401d7428b062ef08cc8d244fccebc (diff)
New admin menus, hooray!
New vertical admin menus are organized as follow: - Predefined menus are Manage, Settings, Diagnostics, Plugins, Community - New submenus can be defined via Piwik_AddAdminSubMenu() - Piwik_AddAdminMenu defaults to "Settings" fixed #1552 git-svn-id: http://dev.piwik.org/svn/trunk@7815 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/UserCountry')
-rw-r--r--plugins/UserCountry/UserCountry.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UserCountry/UserCountry.php b/plugins/UserCountry/UserCountry.php
index cefbb66d87..329456e84e 100644
--- a/plugins/UserCountry/UserCountry.php
+++ b/plugins/UserCountry/UserCountry.php
@@ -151,7 +151,7 @@ class Piwik_UserCountry extends Piwik_Plugin
*/
function addAdminMenu()
{
- Piwik_AddAdminMenu('UserCountry_Geolocation',
+ Piwik_AddAdminSubMenu('General_Settings', 'UserCountry_Geolocation',
array('module' => 'UserCountry', 'action' => 'adminIndex'),
Piwik::isUserIsSuperUser(),
$order = 8);