diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-04-17 02:28:03 +0400 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-04-17 02:28:03 +0400 |
commit | f85e6caa77c092cfb736b4d0250bec92a0d973a3 (patch) | |
tree | 87b870466b3ae7e36f3bddca06b3dbc82ec37c31 /plugins/SitesManager/SitesManager.php | |
parent | 48187389f65599017f4f1fabcc8054069015e445 (diff) |
[mauser]- refs #62 commited huge work by Maciej ZawadziĆski: thanks! still some work to do + QA but looks really good :)
[mauser]- refs #116 commited partial fix
[mauser]- refs #65 commited partial fix
- fixed broken tests
Diffstat (limited to 'plugins/SitesManager/SitesManager.php')
-rw-r--r-- | plugins/SitesManager/SitesManager.php | 74 |
1 files changed, 38 insertions, 36 deletions
diff --git a/plugins/SitesManager/SitesManager.php b/plugins/SitesManager/SitesManager.php index 7189cc70bc..44e95abfed 100644 --- a/plugins/SitesManager/SitesManager.php +++ b/plugins/SitesManager/SitesManager.php @@ -1,36 +1,38 @@ -<?php -/** - * Piwik - Open source web analytics - * - * @link http://piwik.org - * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later - * @version $Id$ - * - * @package Piwik_SitesManager - */ - -/** - * - * @package Piwik_SitesManager - */ -class Piwik_SitesManager extends Piwik_Plugin -{ - public function getInformation() - { - $info = array( - // name must be the className prefix! - 'name' => 'SitesManager', - 'description' => 'Description', - 'author' => 'Piwik', - 'homepage' => 'http://piwik.org/', - 'version' => '0.1', - 'translationAvailable' => false, - ); - - return $info; - } - -} - -Piwik_AddAdminMenu('Sites', array('module' => 'SitesManager')); - +<?php
+/**
+ * Piwik - Open source web analytics
+ *
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ *
+ * @package Piwik_SitesManager
+ */
+
+/**
+ *
+ * @package Piwik_SitesManager
+ */
+class Piwik_SitesManager extends Piwik_Plugin
+{
+ public function getInformation()
+ {
+ $info = array(
+ // name must be the className prefix!
+ 'name' => 'SitesManager',
+ 'description' => 'Description',
+ 'author' => 'Piwik',
+ 'homepage' => 'http://piwik.org/',
+ 'version' => '0.1',
+ 'translationAvailable' => true,
+ );
+
+ return $info;
+ }
+
+ function postLoad()
+ {
+ Piwik_AddAdminMenu(Piwik_Translate('SitesManager_MenuSites'), array('module' => 'SitesManager'));
+ }
+}
+
|