diff --git a/serendipity_plugin_piwik/ChangeLog b/serendipity_plugin_piwik/ChangeLog index c8438cb3..36b8ed3a 100644 --- a/serendipity_plugin_piwik/ChangeLog +++ b/serendipity_plugin_piwik/ChangeLog @@ -1,3 +1,6 @@ +0.4.1 + * set correct requirement version + 0.4.0 * with Piwik v2 it is possible to use lsat x days for most read entries instead of current week diff --git a/serendipity_plugin_piwik/UTF-8/lang_de.inc.php b/serendipity_plugin_piwik/UTF-8/lang_de.inc.php index e1fc31a1..2318c1f2 100755 --- a/serendipity_plugin_piwik/UTF-8/lang_de.inc.php +++ b/serendipity_plugin_piwik/UTF-8/lang_de.inc.php @@ -1,38 +1,38 @@ -add('description', PLUGIN_SIDEBAR_PIWIK_DESC); $propbag->add('stackable', true); $propbag->add('author', 'Bernd Distler'); - $propbag->add('version', '0.4.0'); + $propbag->add('version', '0.4.1'); $propbag->add('requirements', array( - 'serendipity' => '1.3.1', // don't know about that + 'serendipity' => '1.6', 'smarty' => '2.6.7', 'php' => '5.1.0' )); @@ -40,7 +41,7 @@ class serendipity_plugin_piwik extends serendipity_plugin { $propbag->add('groups', array('FRONTEND_EXTERNAL_SERVICES')); $this->dependencies = array('serendipity_event_piwik' => 'remove'); } - + /** * @param string $name * @param serendipity_property_bag $propbag @@ -131,12 +132,13 @@ class serendipity_plugin_piwik extends serendipity_plugin { } return true; } - + /** * @param string $title * @return void */ - public function generate_content(&$title) { + public function generate_content(&$title) + { $title = $this->get_config('title', $title ? $title : $this->title); $token = $this->get_config('token', $this->token); $site_id = $this->get_config('site_id', $this->site_id); @@ -245,7 +247,7 @@ class serendipity_plugin_piwik extends serendipity_plugin { if ($error) { return; } - + // take pagetitles from seconed array and write it into first one for ($i = 0; $i < count($piwik_array_pagesurls); $i++) { $piwik_array_pagesurls[$i]['label'] = $piwik_array_pagestitles[$i]['label']; @@ -269,7 +271,7 @@ class serendipity_plugin_piwik extends serendipity_plugin { echo "\n\n"; } } - + /** * @param $api_url * @return bool|mixed|string @@ -295,6 +297,8 @@ class serendipity_plugin_piwik extends serendipity_plugin { fwrite($fp, "\n".date('Y-m-d H:i:s', serendipity_serverOffsetHour()).' '.$debug_message); fclose($fp); } + } - + /* vim: set sts=4 ts=4 expandtab : */ +?> \ No newline at end of file