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:
Diffstat (limited to 'plugins/Feedback/Feedback.php')
-rw-r--r--plugins/Feedback/Feedback.php94
1 files changed, 47 insertions, 47 deletions
diff --git a/plugins/Feedback/Feedback.php b/plugins/Feedback/Feedback.php
index 1e0098b6f1..d0094578ed 100644
--- a/plugins/Feedback/Feedback.php
+++ b/plugins/Feedback/Feedback.php
@@ -15,55 +15,55 @@
*/
class Piwik_Feedback extends Piwik_Plugin
{
- public function getInformation()
- {
- return array(
- 'description' => Piwik_Translate('Feedback_PluginDescription'),
- 'author' => 'Piwik',
- 'author_homepage' => 'http://piwik.org/',
- 'version' => Piwik_Version::VERSION,
- );
- }
+ public function getInformation()
+ {
+ return array(
+ 'description' => Piwik_Translate('Feedback_PluginDescription'),
+ 'author' => 'Piwik',
+ 'author_homepage' => 'http://piwik.org/',
+ 'version' => Piwik_Version::VERSION,
+ );
+ }
- function getListHooksRegistered()
- {
- return array(
- 'AssetManager.getCssFiles' => 'getCssFiles',
- 'AssetManager.getJsFiles' => 'getJsFiles',
- 'TopMenu.add' => 'addTopMenu',
- );
- }
+ function getListHooksRegistered()
+ {
+ return array(
+ 'AssetManager.getCssFiles' => 'getCssFiles',
+ 'AssetManager.getJsFiles' => 'getJsFiles',
+ 'TopMenu.add' => 'addTopMenu',
+ );
+ }
- public function addTopMenu()
- {
- Piwik_AddTopMenu(
- 'General_GiveUsYourFeedback',
- array('module' => 'Feedback', 'action' => 'index'),
- true,
- $order = 20,
- $isHTML = false,
- $tooltip = Piwik_Translate('Feedback_TopLinkTooltip')
- );
- }
+ public function addTopMenu()
+ {
+ Piwik_AddTopMenu(
+ 'General_GiveUsYourFeedback',
+ array('module' => 'Feedback', 'action' => 'index'),
+ true,
+ $order = 20,
+ $isHTML = false,
+ $tooltip = Piwik_Translate('Feedback_TopLinkTooltip')
+ );
+ }
- /**
- * @param Piwik_Event_Notification $notification notification object
- */
- function getCssFiles( $notification )
- {
- $cssFiles = &$notification->getNotificationObject();
-
- $cssFiles[] = "plugins/Feedback/templates/styles.css";
- }
+ /**
+ * @param Piwik_Event_Notification $notification notification object
+ */
+ function getCssFiles($notification)
+ {
+ $cssFiles = & $notification->getNotificationObject();
+
+ $cssFiles[] = "plugins/Feedback/templates/styles.css";
+ }
+
+ /**
+ * @param Piwik_Event_Notification $notification notification object
+ */
+ function getJsFiles($notification)
+ {
+ $jsFiles = & $notification->getNotificationObject();
+
+ $jsFiles[] = "plugins/Feedback/templates/feedback.js";
+ }
- /**
- * @param Piwik_Event_Notification $notification notification object
- */
- function getJsFiles( $notification )
- {
- $jsFiles = &$notification->getNotificationObject();
-
- $jsFiles[] = "plugins/Feedback/templates/feedback.js";
- }
-
}