diff options
Diffstat (limited to 'plugins/VisitorInterest/API.php')
-rw-r--r-- | plugins/VisitorInterest/API.php | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/plugins/VisitorInterest/API.php b/plugins/VisitorInterest/API.php index 6011b07f71..ee79fb1a21 100644 --- a/plugins/VisitorInterest/API.php +++ b/plugins/VisitorInterest/API.php @@ -1,19 +1,19 @@ -<?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
- */
-
-
-/**
- *
- * @package Piwik_VisitorInterest
- */
+<?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 + */ + + +/** + * + * @package Piwik_VisitorInterest + */ class Piwik_VisitorInterest_API extends Piwik_Apiable { static private $instance = null; @@ -37,7 +37,7 @@ class Piwik_VisitorInterest_API extends Piwik_Apiable { Piwik::checkUserHasViewAccess( $idSite ); $archive = Piwik_Archive::build($idSite, $period, $date ); - $dataTable = $archive->getDataTable('VisitorInterest_timeGap');
+ $dataTable = $archive->getDataTable('VisitorInterest_timeGap'); $dataTable->queueFilter('Piwik_DataTable_Filter_ReplaceColumnNames'); $dataTable->queueFilter('Piwik_DataTable_Filter_Sort', array('label', 'asc', true)); @@ -106,7 +106,7 @@ function Piwik_getPageGapLabel($label) if($return == 1) { return $return . " page"; - }
-
+ } + return $return . " pages"; } |