Esempio n. 1
0
	function addMenu()
	{
		Piwik_AddAdminMenu('SitesManager_MenuSites',
							array('module' => 'SitesManager', 'action' => 'index'),
							Piwik::isUserHasSomeAdminAccess(),
							$order = 5);
	}
Esempio n. 2
0
	function addMenu()
	{
		Piwik_AddAdminMenu('DBStats_DatabaseUsage', 
							array('module' => 'DBStats', 'action' => 'index'),
							Piwik::isUserIsSuperUser(),
							$order = 9);		
	}
Esempio n. 3
0
	function addMenu()
	{
		Piwik_AddAdminMenu('SecurityInfo_Security', 
							array('module' => 'SecurityInfo', 'action' => 'index'),
							Piwik::isUserIsSuperUser(),
							$order = 10);		
	}
	function addMenu()
	{
		Piwik_AddAdminMenu('CorePluginsAdmin_MenuPlugins', 
							array('module' => 'CorePluginsAdmin', 'action' => 'index'),
							Piwik::isUserIsSuperUser(),
							$order = 7);		
	}
 function addMenu()
 {
     Piwik_AddAdminMenu('PrivacyManager_MenuPrivacySettings',
                        array('module' => 'PrivacyManager', 'action' => 'privacySettings'),
                        Piwik::isUserHasSomeAdminAccess(),
                        $order = 8);
 }
Esempio n. 6
0
	function addMenu()
	{
		Piwik_AddAdminMenu('CoreAdminHome_MenuGeneralSettings', 
							array('module' => 'CoreAdminHome', 'action' => 'generalSettings'),
							Piwik::isUserHasSomeAdminAccess(),
							$order = 6);
	}
	public function addMenu() {
		Piwik_AddAdminMenu(
				'VisitorGenerator_VisitorGenerator',
				array('module' => 'VisitorGenerator', 'action' => 'index'),
				Piwik::isUserIsSuperUser(),
				$order = 10
		);
	}
Esempio n. 8
0
	function addMenu()
	{
		Piwik_AddAdminMenu('DBStats_DatabaseUsage', array('module' => 'DBStats', 'action' => 'index'));		
	}
Esempio n. 9
0
 function addMenu()
 {
     Piwik_AddAdminMenu('UsersManager_MenuUsers', array('module' => 'UsersManager', 'action' => 'index'));
 }
Esempio n. 10
0
 function addMenu()
 {
     Piwik_AddAdminMenu('SitesManager_MenuSites', array('module' => 'SitesManager', 'action' => 'index'));
 }
Esempio n. 11
0
 function postLoad()
 {
     Piwik_AddAdminMenu(Piwik_Translate('PluginsAdmin_MenuPlugins'), array('module' => 'PluginsAdmin'));
 }
Esempio n. 12
0
 /** Admin menu hook */
 public function addAdminMenu()
 {
     Piwik_AddAdminMenu('SiteSearch_SiteSearch', array('module' => 'SiteSearch', 'action' => 'admin'), Piwik::isUserIsSuperUser(), 8);
 }
 function addAdminMenu()
 {
     Piwik_AddAdminMenu('Mobile Analytics', array('module' => 'MobileAnalytics', 'action' => 'adminMenu'), Piwik::isUserIsSuperUser(), $order = 30);
 }
Esempio n. 14
0
 /**
  * Event handler. Adds menu items to the Admin menu.
  */
 function addAdminMenu()
 {
     if (Piwik::isUserIsSuperUser()) {
         Piwik_AddAdminMenu('UserCountry_Geolocation', array('module' => 'UserCountry', 'action' => 'adminIndex'), Piwik::isUserHasSomeAdminAccess(), $order = 8);
     }
 }
Esempio n. 15
0
 function addMenu()
 {
     Piwik_AddAdminMenu('MobileMessaging_SettingsMenu', array('module' => 'MobileMessaging', 'action' => 'index'), true);
 }
Esempio n. 16
0
	/**
	 * Add admin menu items
	 *
	 * @param Event_Notification $notification (not used)
	 */
	function addMenu()
	{
		Piwik_AddAdminMenu('UsersManager_MenuUsers', 
							array('module' => 'UsersManager', 'action' => 'index'),
							Piwik::isUserHasSomeAdminAccess(),
							$order = 3);
		Piwik_AddAdminMenu('UsersManager_MenuUserSettings', 
							array('module' => 'UsersManager', 'action' => 'userSettings'),
							Piwik::isUserHasSomeViewAccess(),
							$order = 1);
	}
Esempio n. 17
0
 function addMenu()
 {
     Piwik_AddAdminMenu(Piwik_Translate('CorePluginsAdmin_MenuPlugins'), array('module' => 'CorePluginsAdmin', 'action' => 'index'));
 }