diff options
Diffstat (limited to 'plugins/Feedback/Feedback.php')
-rw-r--r-- | plugins/Feedback/Feedback.php | 29 |
1 files changed, 6 insertions, 23 deletions
diff --git a/plugins/Feedback/Feedback.php b/plugins/Feedback/Feedback.php index 5cbd0afdf2..895d99462d 100644 --- a/plugins/Feedback/Feedback.php +++ b/plugins/Feedback/Feedback.php @@ -1,11 +1,11 @@ <?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$ - * + * * @category Piwik_Plugins * @package Piwik_Feedback */ @@ -19,28 +19,11 @@ class Piwik_Feedback extends Piwik_Plugin public function getInformation() { return array( - 'description' => Piwik_Translate('Feedback_PluginDescription'), + 'name' => 'Feedback', + 'description' => 'Send your Feedback to the Piwik Team in one click. Share your ideas and suggestions with us!', 'author' => 'Piwik', - 'author_homepage' => 'http://piwik.org/', - 'version' => Piwik_Version::VERSION, - ); - } - - function getListHooksRegistered() - { - return array( - 'template_css_import' => 'css', - 'template_js_import' => 'js', + 'homepage' => 'http://piwik.org/', + 'version' => '0.1', ); } - - function css() - { - echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"plugins/Feedback/templates/styles.css\" />\n"; - } - - function js() - { - echo "<script type=\"text/javascript\" src=\"plugins/Feedback/templates/feedback.js\"></script>\n"; - } } |