Skip to content
Extraits de code Groupes Projets
Valider 2f3c0530 rédigé par mattpiwik's avatar mattpiwik
Parcourir les fichiers

Fixes #2100

git-svn-id: http://dev.piwik.org/svn/trunk@3955 59fd770c-687e-43c8-a1e3-f5a4ff64c105
parent 2f33081b
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -81,6 +81,9 @@ site_selector_max_sites = 10 ...@@ -81,6 +81,9 @@ site_selector_max_sites = 10
; if set to 1, shows sparklines (evolution graph) in 'All Websites' report (MultiSites plugin) ; if set to 1, shows sparklines (evolution graph) in 'All Websites' report (MultiSites plugin)
show_multisites_sparklines = 1 show_multisites_sparklines = 1
; number of websites to display per page in the All Websites dashboard
all_websites_website_per_page = 50
; if set to 0, the anonymous user will not be able to use the 'segments' parameter in the API request ; if set to 0, the anonymous user will not be able to use the 'segments' parameter in the API request
; this is useful to prevent full DB access to the anonymous user, or to limit performance usage ; this is useful to prevent full DB access to the anonymous user, or to limit performance usage
anonymous_user_enable_use_segments_API = 1 anonymous_user_enable_use_segments_API = 1
......
...@@ -21,11 +21,17 @@ class Piwik_MultiSites_Controller extends Piwik_Controller ...@@ -21,11 +21,17 @@ class Piwik_MultiSites_Controller extends Piwik_Controller
protected $evolutionBy = 'visits'; protected $evolutionBy = 'visits';
protected $mySites = array(); protected $mySites = array();
protected $page = 1; protected $page = 1;
protected $limit = 20; protected $limit = 0;
protected $period; protected $period;
protected $date; protected $date;
protected $dateToStr; protected $dateToStr;
function __construct()
{
parent::__construct();
$this->limit = Zend_Registry::get('config')->General->all_websites_website_per_page;
}
function index() function index()
{ {
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter