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:
authorrobocoder <anthon.pang@gmail.com>2009-06-28 09:59:07 +0400
committerrobocoder <anthon.pang@gmail.com>2009-06-28 09:59:07 +0400
commite3c66a37970b807931a87fdde10da01eab82480c (patch)
tree5a1f7bcd6aacf630d810a2ff84116db6477d5f2c
parentc5705b4a75325edda959f6f9f4f852b1102e5396 (diff)
Fixes #524 - add standard Piwik header to .php files in core & plugins, with
the exception of those in core/Updates/. git-svn-id: http://dev.piwik.org/svn/trunk@1259 59fd770c-687e-43c8-a1e3-f5a4ff64c105
-rw-r--r--core/API/DataTableGenericFilter.php9
-rw-r--r--core/API/DocumentationGenerator.php9
-rw-r--r--core/API/ResponseBuilder.php9
-rw-r--r--core/Archive/Array/IndexedByDate.php10
-rw-r--r--core/Archive/Array/IndexedBySite.php10
-rw-r--r--core/DataTable/Filter/AddColumnsWhenShowAllColumns.php10
-rw-r--r--core/DataTable/Filter/ColumnCallbackAddColumnPercentage.php10
-rw-r--r--core/Mail.php2
-rw-r--r--core/Option.php10
-rw-r--r--core/Period/Day.php7
-rw-r--r--core/Period/Month.php6
-rw-r--r--core/Period/Range.php9
-rw-r--r--core/Period/Week.php7
-rw-r--r--core/Period/Year.php10
-rw-r--r--core/PluginsFunctions/AdminMenu.php10
-rw-r--r--core/PluginsFunctions/Menu.php10
-rw-r--r--core/PluginsFunctions/Sql.php10
-rw-r--r--core/PluginsFunctions/WidgetsList.php10
-rw-r--r--core/Smarty.php10
-rw-r--r--core/SmartyPlugins/function.assignTopBar.php13
-rw-r--r--core/SmartyPlugins/function.loadJavascriptTranslations.php9
-rw-r--r--core/SmartyPlugins/modifier.escape.php13
-rw-r--r--core/SmartyPlugins/outputfilter.cachebuster.php10
-rw-r--r--core/Tracker/GoalManager.php9
-rw-r--r--core/UpdateCheck.php9
-rw-r--r--core/Updater.php10
-rw-r--r--core/Version.php9
-rw-r--r--core/ViewDataTable/GenerateGraphData/ChartEvolution.php10
-rw-r--r--core/ViewDataTable/GenerateGraphData/ChartPie.php10
-rw-r--r--core/ViewDataTable/GenerateGraphData/ChartVerticalBar.php10
-rw-r--r--core/ViewDataTable/GenerateGraphHTML/ChartEvolution.php10
-rw-r--r--core/ViewDataTable/GenerateGraphHTML/ChartPie.php10
-rw-r--r--core/ViewDataTable/GenerateGraphHTML/ChartVerticalBar.php10
-rw-r--r--core/ViewDataTable/HtmlTable/AllColumns.php10
-rw-r--r--core/ViewDataTable/HtmlTable/Goals.php10
-rw-r--r--core/iView.php4
-rw-r--r--js/piwik.js2
-rw-r--r--plugins/Actions/Controller.php10
-rw-r--r--plugins/CoreAdminHome/Controller.php3
-rw-r--r--plugins/CoreUpdater/Controller.php10
-rw-r--r--plugins/DBStats/Controller.php1
-rw-r--r--plugins/ExampleAPI/ExampleAPI.php10
-rw-r--r--plugins/ExampleFeedburner/ExampleFeedburner.php9
-rw-r--r--plugins/ExamplePlugin/lang/en.php10
-rw-r--r--plugins/ExampleRssWidget/ExampleRssWidget.php9
-rw-r--r--plugins/Goals/Controller.php10
-rw-r--r--plugins/LanguagesManager/API.php10
-rw-r--r--plugins/Live/API.php10
-rw-r--r--plugins/Live/Controller.php10
-rw-r--r--plugins/Live/Live.php11
-rw-r--r--plugins/Live/Visitor.php10
-rw-r--r--plugins/Login/Auth.php9
-rw-r--r--plugins/Provider/Controller.php10
-rw-r--r--plugins/Provider/functions.php10
-rw-r--r--plugins/Referers/Controller.php10
-rw-r--r--plugins/Referers/functions.php10
-rw-r--r--plugins/UserCountry/Controller.php10
-rw-r--r--plugins/UserCountry/functions.php9
-rw-r--r--plugins/UserSettings/Controller.php10
-rw-r--r--plugins/UserSettings/functions.php10
-rw-r--r--plugins/VisitFrequency/Controller.php10
-rw-r--r--plugins/VisitTime/Controller.php9
-rw-r--r--plugins/VisitorInterest/Controller.php9
-rw-r--r--plugins/VisitsSummary/Controller.php10
64 files changed, 562 insertions, 23 deletions
diff --git a/core/API/DataTableGenericFilter.php b/core/API/DataTableGenericFilter.php
index 59e616e1ee..ddf19b2923 100644
--- a/core/API/DataTableGenericFilter.php
+++ b/core/API/DataTableGenericFilter.php
@@ -1,4 +1,13 @@
<?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_API
+ */
class Piwik_API_DataTableGenericFilter
{
diff --git a/core/API/DocumentationGenerator.php b/core/API/DocumentationGenerator.php
index 3e0a6bbd2d..8a4c11d1ec 100644
--- a/core/API/DocumentationGenerator.php
+++ b/core/API/DocumentationGenerator.php
@@ -1,4 +1,13 @@
<?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_API
+ */
class Piwik_API_DocumentationGenerator
{
diff --git a/core/API/ResponseBuilder.php b/core/API/ResponseBuilder.php
index 4401f5136e..0f37d50cac 100644
--- a/core/API/ResponseBuilder.php
+++ b/core/API/ResponseBuilder.php
@@ -1,4 +1,13 @@
<?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_API
+ */
class Piwik_API_ResponseBuilder
{
diff --git a/core/Archive/Array/IndexedByDate.php b/core/Archive/Array/IndexedByDate.php
index 3a84e30089..437bdee093 100644
--- a/core/Archive/Array/IndexedByDate.php
+++ b/core/Archive/Array/IndexedByDate.php
@@ -1,4 +1,14 @@
<?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_Archive
+ */
+
require_once "Archive/Array.php";
class Piwik_Archive_Array_IndexedByDate extends Piwik_Archive_Array
diff --git a/core/Archive/Array/IndexedBySite.php b/core/Archive/Array/IndexedBySite.php
index 36882d0923..a933249b83 100644
--- a/core/Archive/Array/IndexedBySite.php
+++ b/core/Archive/Array/IndexedBySite.php
@@ -1,4 +1,14 @@
<?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_Archive
+ */
+
require_once "Archive/Array.php";
class Piwik_Archive_Array_IndexedBySite extends Piwik_Archive_Array
diff --git a/core/DataTable/Filter/AddColumnsWhenShowAllColumns.php b/core/DataTable/Filter/AddColumnsWhenShowAllColumns.php
index 75f13adc56..83e9ecfb85 100644
--- a/core/DataTable/Filter/AddColumnsWhenShowAllColumns.php
+++ b/core/DataTable/Filter/AddColumnsWhenShowAllColumns.php
@@ -1,4 +1,14 @@
<?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_DataTable
+ */
+
class Piwik_DataTable_Filter_AddColumnsWhenShowAllColumns extends Piwik_DataTable_Filter
{
protected $roundPrecision = 1;
diff --git a/core/DataTable/Filter/ColumnCallbackAddColumnPercentage.php b/core/DataTable/Filter/ColumnCallbackAddColumnPercentage.php
index 4ac7096344..23dcf412fa 100644
--- a/core/DataTable/Filter/ColumnCallbackAddColumnPercentage.php
+++ b/core/DataTable/Filter/ColumnCallbackAddColumnPercentage.php
@@ -1,5 +1,15 @@
<?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_DataTable
+ */
+
+/**
* Add a new column to the table which is a percentage based on the value resulting
* from a callback function with the parameter being another column's value
*
diff --git a/core/Mail.php b/core/Mail.php
index db12d4eaf1..d9702c0f73 100644
--- a/core/Mail.php
+++ b/core/Mail.php
@@ -4,7 +4,7 @@
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
- * @version $Id$
+ * @version $Id: $
*
* @package Piwik
*/
diff --git a/core/Option.php b/core/Option.php
index a1d13fda2e..355b7049c6 100644
--- a/core/Option.php
+++ b/core/Option.php
@@ -1,5 +1,15 @@
<?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
+ */
+
+/**
* Piwik_Option provides a very simple mechanism to save/retrieve key-values pair
* from the database (persistent key-value datastore).
*
diff --git a/core/Period/Day.php b/core/Period/Day.php
index 9f790ccd91..69e2bdd89e 100644
--- a/core/Period/Day.php
+++ b/core/Period/Day.php
@@ -1,9 +1,14 @@
<?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_Period
*/
+
class Piwik_Period_Day extends Piwik_Period
{
protected $label = 'day';
diff --git a/core/Period/Month.php b/core/Period/Month.php
index 0fc7cad553..1555c0d879 100644
--- a/core/Period/Month.php
+++ b/core/Period/Month.php
@@ -1,8 +1,14 @@
<?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_Period
*/
+
class Piwik_Period_Month extends Piwik_Period
{
protected $label = 'month';
diff --git a/core/Period/Range.php b/core/Period/Range.php
index 96df975c53..5dbe2b6c83 100644
--- a/core/Period/Range.php
+++ b/core/Period/Range.php
@@ -1,4 +1,13 @@
<?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_Period
+ */
/**
* from a starting date to an ending date
diff --git a/core/Period/Week.php b/core/Period/Week.php
index f309701891..f881287c95 100644
--- a/core/Period/Week.php
+++ b/core/Period/Week.php
@@ -1,9 +1,14 @@
<?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_Period
*/
+
class Piwik_Period_Week extends Piwik_Period
{
protected $label = 'week';
diff --git a/core/Period/Year.php b/core/Period/Year.php
index 0c994e1847..673d96dbf2 100644
--- a/core/Period/Year.php
+++ b/core/Period/Year.php
@@ -1,10 +1,16 @@
<?php
-
-require_once "Period/Month.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_Period
*/
+
+require_once "Period/Month.php";
+
class Piwik_Period_Year extends Piwik_Period
{
protected $label = 'year';
diff --git a/core/PluginsFunctions/AdminMenu.php b/core/PluginsFunctions/AdminMenu.php
index fddb67c5ea..481114b45a 100644
--- a/core/PluginsFunctions/AdminMenu.php
+++ b/core/PluginsFunctions/AdminMenu.php
@@ -1,4 +1,14 @@
<?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
+ */
+
function Piwik_GetAdminMenu()
{
return Piwik_AdminMenu::getInstance()->get();
diff --git a/core/PluginsFunctions/Menu.php b/core/PluginsFunctions/Menu.php
index 42f5817cae..584e99d373 100644
--- a/core/PluginsFunctions/Menu.php
+++ b/core/PluginsFunctions/Menu.php
@@ -1,4 +1,14 @@
<?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
+ */
+
function Piwik_GetMenu()
{
return Piwik_Menu::getInstance()->get();
diff --git a/core/PluginsFunctions/Sql.php b/core/PluginsFunctions/Sql.php
index b2d066b1ee..f1512f0b91 100644
--- a/core/PluginsFunctions/Sql.php
+++ b/core/PluginsFunctions/Sql.php
@@ -1,5 +1,15 @@
<?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
+ */
+
+/**
* Executes a SQL query on the DB and returns the Zend_Db_Statement object
* If you want to fetch data from the DB you should use the function Piwik_FetchAll()
*
diff --git a/core/PluginsFunctions/WidgetsList.php b/core/PluginsFunctions/WidgetsList.php
index e8339543f7..d26bce86b6 100644
--- a/core/PluginsFunctions/WidgetsList.php
+++ b/core/PluginsFunctions/WidgetsList.php
@@ -1,4 +1,14 @@
<?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
+ */
+
function Piwik_GetWidgetsList()
{
return Piwik_WidgetsList::get();
diff --git a/core/Smarty.php b/core/Smarty.php
index f4faba4ed3..3697624c68 100644
--- a/core/Smarty.php
+++ b/core/Smarty.php
@@ -1,4 +1,14 @@
<?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
+ */
+
require_once "Smarty/Smarty.class.php";
class Piwik_Smarty extends Smarty
{
diff --git a/core/SmartyPlugins/function.assignTopBar.php b/core/SmartyPlugins/function.assignTopBar.php
index 572d709f54..aad1fc1459 100644
--- a/core/SmartyPlugins/function.assignTopBar.php
+++ b/core/SmartyPlugins/function.assignTopBar.php
@@ -1,6 +1,17 @@
<?php
/**
- * Enter description here...
+ * 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 SmartyPlugins
+ */
+
+/**
+ * Smarty {assignTopBar} function plugin.
+ * Initialize top nav bar text and links.
*
* @param array $params
* @param Smarty $smarty
diff --git a/core/SmartyPlugins/function.loadJavascriptTranslations.php b/core/SmartyPlugins/function.loadJavascriptTranslations.php
index bd1a7fc634..1421219c65 100644
--- a/core/SmartyPlugins/function.loadJavascriptTranslations.php
+++ b/core/SmartyPlugins/function.loadJavascriptTranslations.php
@@ -1,4 +1,13 @@
<?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 SmartyPlugins
+ */
/**
* Load translation strings suffixed with _js for a given list of modules.
diff --git a/core/SmartyPlugins/modifier.escape.php b/core/SmartyPlugins/modifier.escape.php
index 9108ef6612..8d210e3a5e 100644
--- a/core/SmartyPlugins/modifier.escape.php
+++ b/core/SmartyPlugins/modifier.escape.php
@@ -1,11 +1,14 @@
<?php
/**
- * Smarty plugin
- * @package Smarty
- * @subpackage plugins
+ * 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 SmartyPlugins
*/
-
/**
* Smarty escape modifier plugin
*
@@ -90,5 +93,3 @@ function smarty_modifier_escape($string, $esc_type = 'html', $char_set = 'ISO-88
}
/* vim: set expandtab: */
-
-?>
diff --git a/core/SmartyPlugins/outputfilter.cachebuster.php b/core/SmartyPlugins/outputfilter.cachebuster.php
index 73ee38a2cb..ad3778a020 100644
--- a/core/SmartyPlugins/outputfilter.cachebuster.php
+++ b/core/SmartyPlugins/outputfilter.cachebuster.php
@@ -1,8 +1,12 @@
<?php
/**
- * Smarty plugin
- * @package Smarty
- * @subpackage plugins
+ * 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 SmartyPlugins
*/
/**
diff --git a/core/Tracker/GoalManager.php b/core/Tracker/GoalManager.php
index d0d194aedb..4815936b03 100644
--- a/core/Tracker/GoalManager.php
+++ b/core/Tracker/GoalManager.php
@@ -1,4 +1,13 @@
<?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_Tracker
+ */
class Piwik_Tracker_GoalManager
{
diff --git a/core/UpdateCheck.php b/core/UpdateCheck.php
index eb10142113..6f0d56c9ea 100644
--- a/core/UpdateCheck.php
+++ b/core/UpdateCheck.php
@@ -1,4 +1,13 @@
<?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
+ */
class Piwik_UpdateCheck
{
diff --git a/core/Updater.php b/core/Updater.php
index 320c3b637b..8b8913b6b4 100644
--- a/core/Updater.php
+++ b/core/Updater.php
@@ -1,4 +1,14 @@
<?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
+ */
+
require_once "Option.php";
class Piwik_Updater
diff --git a/core/Version.php b/core/Version.php
index 1173ead5d2..527eb9170c 100644
--- a/core/Version.php
+++ b/core/Version.php
@@ -1,4 +1,13 @@
<?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
+ */
final class Piwik_Version {
const VERSION = '0.4.1';
diff --git a/core/ViewDataTable/GenerateGraphData/ChartEvolution.php b/core/ViewDataTable/GenerateGraphData/ChartEvolution.php
index 6e950a1ada..f8380cfd1a 100644
--- a/core/ViewDataTable/GenerateGraphData/ChartEvolution.php
+++ b/core/ViewDataTable/GenerateGraphData/ChartEvolution.php
@@ -1,4 +1,14 @@
<?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_ViewDataTable
+ */
+
require_once "ViewDataTable/GenerateGraphData.php";
/**
* Piwik_ViewDataTable_GenerateGraphData for the Evolution graph (eg. Last 30 days visits) using Piwik_Visualization_Chart_Evolution
diff --git a/core/ViewDataTable/GenerateGraphData/ChartPie.php b/core/ViewDataTable/GenerateGraphData/ChartPie.php
index b225e0d83d..aee24ea90a 100644
--- a/core/ViewDataTable/GenerateGraphData/ChartPie.php
+++ b/core/ViewDataTable/GenerateGraphData/ChartPie.php
@@ -1,4 +1,14 @@
<?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_ViewDataTable
+ */
+
require_once "ViewDataTable/GenerateGraphData.php";
/**
* Piwik_ViewDataTable_GenerateGraphData for the pie chart, using Piwik_Visualization_Chart_Pie
diff --git a/core/ViewDataTable/GenerateGraphData/ChartVerticalBar.php b/core/ViewDataTable/GenerateGraphData/ChartVerticalBar.php
index bc0d28cf0f..070e2fe68a 100644
--- a/core/ViewDataTable/GenerateGraphData/ChartVerticalBar.php
+++ b/core/ViewDataTable/GenerateGraphData/ChartVerticalBar.php
@@ -1,4 +1,14 @@
<?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_ViewDataTable
+ */
+
require_once "ViewDataTable/GenerateGraphData.php";
/**
* Piwik_ViewDataTable_GenerateGraphData for the vertical bar graph, using Piwik_Visualization_Chart_VerticalBar
diff --git a/core/ViewDataTable/GenerateGraphHTML/ChartEvolution.php b/core/ViewDataTable/GenerateGraphHTML/ChartEvolution.php
index 8729a452f4..ffbf053178 100644
--- a/core/ViewDataTable/GenerateGraphHTML/ChartEvolution.php
+++ b/core/ViewDataTable/GenerateGraphHTML/ChartEvolution.php
@@ -1,4 +1,14 @@
<?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_ViewDataTable
+ */
+
require_once "ViewDataTable/GenerateGraphHTML.php";
/**
* Generates HTML embed for the Evolution graph
diff --git a/core/ViewDataTable/GenerateGraphHTML/ChartPie.php b/core/ViewDataTable/GenerateGraphHTML/ChartPie.php
index 6e94e998cf..23aa0a5106 100644
--- a/core/ViewDataTable/GenerateGraphHTML/ChartPie.php
+++ b/core/ViewDataTable/GenerateGraphHTML/ChartPie.php
@@ -1,4 +1,14 @@
<?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_ViewDataTable
+ */
+
require_once "ViewDataTable/GenerateGraphHTML.php";
/**
* Generates HTML embed for the Pie chart
diff --git a/core/ViewDataTable/GenerateGraphHTML/ChartVerticalBar.php b/core/ViewDataTable/GenerateGraphHTML/ChartVerticalBar.php
index 3cf13bc557..d54fff44cb 100644
--- a/core/ViewDataTable/GenerateGraphHTML/ChartVerticalBar.php
+++ b/core/ViewDataTable/GenerateGraphHTML/ChartVerticalBar.php
@@ -1,4 +1,14 @@
<?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_ViewDataTable
+ */
+
require_once "ViewDataTable/GenerateGraphHTML.php";
/**
*
diff --git a/core/ViewDataTable/HtmlTable/AllColumns.php b/core/ViewDataTable/HtmlTable/AllColumns.php
index 2efdfbf129..b540371712 100644
--- a/core/ViewDataTable/HtmlTable/AllColumns.php
+++ b/core/ViewDataTable/HtmlTable/AllColumns.php
@@ -1,4 +1,14 @@
<?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_ViewDataTable
+ */
+
require_once "ViewDataTable/HtmlTable.php";
class Piwik_ViewDataTable_HtmlTable_AllColumns extends Piwik_ViewDataTable_HtmlTable
diff --git a/core/ViewDataTable/HtmlTable/Goals.php b/core/ViewDataTable/HtmlTable/Goals.php
index 4219e72500..9b60bb18b8 100644
--- a/core/ViewDataTable/HtmlTable/Goals.php
+++ b/core/ViewDataTable/HtmlTable/Goals.php
@@ -1,4 +1,14 @@
<?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_ViewDataTable
+ */
+
require_once "ViewDataTable/HtmlTable.php";
class Piwik_ViewDataTable_HtmlTable_Goals extends Piwik_ViewDataTable_HtmlTable
diff --git a/core/iView.php b/core/iView.php
index 6c21b1e94f..7702ba6c87 100644
--- a/core/iView.php
+++ b/core/iView.php
@@ -4,9 +4,9 @@
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
- * @version $Id$
+ * @version $Id: $
*
- * @package Piwik_Visualization
+ * @package Piwik
*/
/**
diff --git a/js/piwik.js b/js/piwik.js
index 84c249a315..b24d64be22 100644
--- a/js/piwik.js
+++ b/js/piwik.js
@@ -3,7 +3,7 @@
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
- * @version $Id$
+ * @version $Id: $
*/
/*jslint browser:true, forin:true, plusplus:false, onevar:false, eqeqeq:false */
diff --git a/plugins/Actions/Controller.php b/plugins/Actions/Controller.php
index 418d8e961b..231240f458 100644
--- a/plugins/Actions/Controller.php
+++ b/plugins/Actions/Controller.php
@@ -1,4 +1,14 @@
<?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_Actions
+ */
+
require_once "ViewDataTable.php";
class Piwik_Actions_Controller extends Piwik_Controller
diff --git a/plugins/CoreAdminHome/Controller.php b/plugins/CoreAdminHome/Controller.php
index 1787c735f0..e64c5723a2 100644
--- a/plugins/CoreAdminHome/Controller.php
+++ b/plugins/CoreAdminHome/Controller.php
@@ -4,10 +4,9 @@
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
- * @version
+ * @version $Id: $
*
* @package Piwik_CoreAdminHome
- *
*/
require_once "API/Request.php";
diff --git a/plugins/CoreUpdater/Controller.php b/plugins/CoreUpdater/Controller.php
index 03f96800e1..1ba962a10d 100644
--- a/plugins/CoreUpdater/Controller.php
+++ b/plugins/CoreUpdater/Controller.php
@@ -1,4 +1,14 @@
<?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_CoreUpdater
+ */
+
class Piwik_CoreUpdater_Controller extends Piwik_Controller
{
const CONFIG_FILE_BACKUP = '/config/global.ini.auto-backup-before-update.php';
diff --git a/plugins/DBStats/Controller.php b/plugins/DBStats/Controller.php
index ec1e121252..024d33cbf3 100644
--- a/plugins/DBStats/Controller.php
+++ b/plugins/DBStats/Controller.php
@@ -1,5 +1,4 @@
<?php
-
/**
* Piwik - Open source web analytics
*
diff --git a/plugins/ExampleAPI/ExampleAPI.php b/plugins/ExampleAPI/ExampleAPI.php
index fe32fb9dc4..c70ad957de 100644
--- a/plugins/ExampleAPI/ExampleAPI.php
+++ b/plugins/ExampleAPI/ExampleAPI.php
@@ -1,4 +1,14 @@
<?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_ExampleAPI
+ */
+
class Piwik_ExampleAPI extends Piwik_Plugin
{
public function getInformation()
diff --git a/plugins/ExampleFeedburner/ExampleFeedburner.php b/plugins/ExampleFeedburner/ExampleFeedburner.php
index 089be108d3..d0648846a6 100644
--- a/plugins/ExampleFeedburner/ExampleFeedburner.php
+++ b/plugins/ExampleFeedburner/ExampleFeedburner.php
@@ -1,4 +1,13 @@
<?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_ExampleFeedburner
+ */
class Piwik_ExampleFeedburner extends Piwik_Plugin
{
diff --git a/plugins/ExamplePlugin/lang/en.php b/plugins/ExamplePlugin/lang/en.php
index ed9047c30e..8c73cdd444 100644
--- a/plugins/ExamplePlugin/lang/en.php
+++ b/plugins/ExamplePlugin/lang/en.php
@@ -1,4 +1,14 @@
<?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_ExamplePlugin
+ */
+
$translations = array(
'ExamplePlugin_exampleWidget' => 'Example widget',
'ExamplePlugin_blogPiwikRss' => 'Blog Piwik RSS',
diff --git a/plugins/ExampleRssWidget/ExampleRssWidget.php b/plugins/ExampleRssWidget/ExampleRssWidget.php
index 11db10348b..b03b5de148 100644
--- a/plugins/ExampleRssWidget/ExampleRssWidget.php
+++ b/plugins/ExampleRssWidget/ExampleRssWidget.php
@@ -1,4 +1,13 @@
<?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_ExampleRssWidget
+ */
class Piwik_ExampleRssWidget extends Piwik_Plugin
{
diff --git a/plugins/Goals/Controller.php b/plugins/Goals/Controller.php
index feb5ce1008..3cb7c0112f 100644
--- a/plugins/Goals/Controller.php
+++ b/plugins/Goals/Controller.php
@@ -1,4 +1,14 @@
<?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_Goals
+ */
+
require_once "Goals/API.php";
class Piwik_Goals_Controller extends Piwik_Controller
diff --git a/plugins/LanguagesManager/API.php b/plugins/LanguagesManager/API.php
index 42154eb094..a7909c3cdf 100644
--- a/plugins/LanguagesManager/API.php
+++ b/plugins/LanguagesManager/API.php
@@ -1,5 +1,15 @@
<?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_LanguagesManager
+ */
+
+/**
* @package Piwik_LanguagesManager
*/
class Piwik_LanguagesManager_API
diff --git a/plugins/Live/API.php b/plugins/Live/API.php
index 544db5e050..cbf5c65124 100644
--- a/plugins/Live/API.php
+++ b/plugins/Live/API.php
@@ -1,4 +1,14 @@
<?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_Live
+ */
+
require_once "Live/Visitor.php";
class Piwik_Live_API
diff --git a/plugins/Live/Controller.php b/plugins/Live/Controller.php
index 135b79eb2d..424d438f4b 100644
--- a/plugins/Live/Controller.php
+++ b/plugins/Live/Controller.php
@@ -1,4 +1,14 @@
<?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_Live
+ */
+
require_once 'Live/API.php';
diff --git a/plugins/Live/Live.php b/plugins/Live/Live.php
index ce280aed64..7c12dfc200 100644
--- a/plugins/Live/Live.php
+++ b/plugins/Live/Live.php
@@ -1,4 +1,13 @@
<?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_Live
+ */
/**
TODO Live! Plugin
@@ -28,4 +37,4 @@ class Piwik_Live extends Piwik_Plugin
}
}
-Piwik_AddWidget('Live!', 'Live Visitors!', 'Live', 'widget'); \ No newline at end of file
+Piwik_AddWidget('Live!', 'Live Visitors!', 'Live', 'widget');
diff --git a/plugins/Live/Visitor.php b/plugins/Live/Visitor.php
index 9a2a8c10d2..98343db12d 100644
--- a/plugins/Live/Visitor.php
+++ b/plugins/Live/Visitor.php
@@ -1,4 +1,14 @@
<?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_Live
+ */
+
require_once "Referers/functions.php";
require_once "UserCountry/functions.php";
require_once "UserSettings/functions.php";
diff --git a/plugins/Login/Auth.php b/plugins/Login/Auth.php
index 49feceda0f..def55c43c1 100644
--- a/plugins/Login/Auth.php
+++ b/plugins/Login/Auth.php
@@ -1,7 +1,14 @@
<?php
/**
- * @package Piwik
+ * 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_Login
*/
+
class Piwik_Login_Auth implements Piwik_Auth
{
protected $login = null;
diff --git a/plugins/Provider/Controller.php b/plugins/Provider/Controller.php
index e55733be1a..47c2c50e67 100644
--- a/plugins/Provider/Controller.php
+++ b/plugins/Provider/Controller.php
@@ -1,4 +1,14 @@
<?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_Provider
+ */
+
class Piwik_Provider_Controller extends Piwik_Controller
{
/**
diff --git a/plugins/Provider/functions.php b/plugins/Provider/functions.php
index 9996ad274d..2064f11fc1 100644
--- a/plugins/Provider/functions.php
+++ b/plugins/Provider/functions.php
@@ -1,4 +1,14 @@
<?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_Provider
+ */
+
function Piwik_getHostnameName($in)
{
if(empty($in))
diff --git a/plugins/Referers/Controller.php b/plugins/Referers/Controller.php
index 8e8532b5ed..d8665d9c4a 100644
--- a/plugins/Referers/Controller.php
+++ b/plugins/Referers/Controller.php
@@ -1,4 +1,14 @@
<?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_Referers
+ */
+
class Piwik_Referers_Controller extends Piwik_Controller
{
function index()
diff --git a/plugins/Referers/functions.php b/plugins/Referers/functions.php
index 76c3868a1a..7a75f048c7 100644
--- a/plugins/Referers/functions.php
+++ b/plugins/Referers/functions.php
@@ -1,4 +1,14 @@
<?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_Referers
+ */
+
function Piwik_getPathFromUrl($url)
{
$path = Piwik_Common::getPathAndQueryFromUrl($url);
diff --git a/plugins/UserCountry/Controller.php b/plugins/UserCountry/Controller.php
index 30ab3f79ec..530da2801c 100644
--- a/plugins/UserCountry/Controller.php
+++ b/plugins/UserCountry/Controller.php
@@ -1,4 +1,14 @@
<?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_UserCountry
+ */
+
require_once "ViewDataTable.php";
class Piwik_UserCountry_Controller extends Piwik_Controller
diff --git a/plugins/UserCountry/functions.php b/plugins/UserCountry/functions.php
index fd76bfe2eb..ba49a85c44 100644
--- a/plugins/UserCountry/functions.php
+++ b/plugins/UserCountry/functions.php
@@ -1,4 +1,13 @@
<?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_UserCountry
+ */
function Piwik_getFlagFromCode($code)
{
diff --git a/plugins/UserSettings/Controller.php b/plugins/UserSettings/Controller.php
index 48f7dc97e0..a51bde3891 100644
--- a/plugins/UserSettings/Controller.php
+++ b/plugins/UserSettings/Controller.php
@@ -1,4 +1,14 @@
<?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_UserSettings
+ */
+
require_once "ViewDataTable.php";
class Piwik_UserSettings_Controller extends Piwik_Controller
{
diff --git a/plugins/UserSettings/functions.php b/plugins/UserSettings/functions.php
index 9cab3f92da..063c49c505 100644
--- a/plugins/UserSettings/functions.php
+++ b/plugins/UserSettings/functions.php
@@ -1,4 +1,14 @@
<?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_UserSettings
+ */
+
require_once "UserAgentParser/UserAgentParser.php";
function Piwik_getPluginsLogo( $oldLabel )
diff --git a/plugins/VisitFrequency/Controller.php b/plugins/VisitFrequency/Controller.php
index e792b0a104..d88731d779 100644
--- a/plugins/VisitFrequency/Controller.php
+++ b/plugins/VisitFrequency/Controller.php
@@ -1,4 +1,14 @@
<?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_VisitFrequency
+ */
+
require_once "ViewDataTable.php";
class Piwik_VisitFrequency_Controller extends Piwik_Controller
diff --git a/plugins/VisitTime/Controller.php b/plugins/VisitTime/Controller.php
index c7b71aaa58..aa5eec2d1c 100644
--- a/plugins/VisitTime/Controller.php
+++ b/plugins/VisitTime/Controller.php
@@ -1,4 +1,13 @@
<?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_VisitTime
+ */
require_once "ViewDataTable.php";
class Piwik_VisitTime_Controller extends Piwik_Controller
diff --git a/plugins/VisitorInterest/Controller.php b/plugins/VisitorInterest/Controller.php
index 0458edfda2..86cdf4b915 100644
--- a/plugins/VisitorInterest/Controller.php
+++ b/plugins/VisitorInterest/Controller.php
@@ -1,4 +1,13 @@
<?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_VisitorInterest
+ */
require_once "ViewDataTable.php";
class Piwik_VisitorInterest_Controller extends Piwik_Controller
diff --git a/plugins/VisitsSummary/Controller.php b/plugins/VisitsSummary/Controller.php
index ab648ada62..ee8cca11d9 100644
--- a/plugins/VisitsSummary/Controller.php
+++ b/plugins/VisitsSummary/Controller.php
@@ -1,4 +1,14 @@
<?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_VisitsSummary
+ */
+
require_once "ViewDataTable.php";
class Piwik_VisitsSummary_Controller extends Piwik_Controller