From e5f262ad9207eae6e08bee3f58aa476ebb68123b Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Fri, 27 Nov 2020 15:25:17 +0000 Subject: [PATCH] wait #4100 @0:05 --- fluidbook/tools/fwstk/.idea/workspace.xml | 56 ++++++---------------- inc/ws/Controlleur/class.ws.stats.php | 2 +- inc/ws/Metier/class.ws.book.parametres.php | 2 +- 3 files changed, 17 insertions(+), 43 deletions(-) diff --git a/fluidbook/tools/fwstk/.idea/workspace.xml b/fluidbook/tools/fwstk/.idea/workspace.xml index a5cf44a73..6ddc0a569 100644 --- a/fluidbook/tools/fwstk/.idea/workspace.xml +++ b/fluidbook/tools/fwstk/.idea/workspace.xml @@ -6,13 +6,7 @@ - - - - - - - + @@ -575,41 +576,14 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + diff --git a/inc/ws/Controlleur/class.ws.stats.php b/inc/ws/Controlleur/class.ws.stats.php index 2f4c1d013..6eca44cfb 100644 --- a/inc/ws/Controlleur/class.ws.stats.php +++ b/inc/ws/Controlleur/class.ws.stats.php @@ -411,7 +411,7 @@ class wsStats $class = array('liste', 'max'); $lines[] = array($date_creation, date(__('d-m-Y'), $book->date)); - //$lines[] = array(__('Nombre de lieux de visite'), $stats['places']); + $lines[] = array(__('Nombre de lieux de visite'), $stats['places']); $lines[] = array(__('Nombre de visiteurs uniques'), $stats['visitors']); $lines[] = array(__('Nombre de visites'), $stats['visits']); $lines[] = array(__('Nombre de pages vues'), $stats['pages']); diff --git a/inc/ws/Metier/class.ws.book.parametres.php b/inc/ws/Metier/class.ws.book.parametres.php index 6f52bcd95..f480a8d00 100644 --- a/inc/ws/Metier/class.ws.book.parametres.php +++ b/inc/ws/Metier/class.ws.book.parametres.php @@ -411,7 +411,7 @@ class wsBookParametres extends wsParametres $this->forms['zoom'] = array('label' => __('Zoom'), 'fieldsnames' => array('zoomMode', '|', 'zoom', 'zoomw')); // . - $this->fields['stats'] = array('type' => 'boolean', 'default' => true, 'editable' => true, 'label' => __('Activer les statistiques Fluidbook'), 'grade' => 3); + $this->fields['stats'] = array('type' => 'boolean', 'default' => false, 'editable' => true, 'label' => __('Activer les statistiques Fluidbook'), 'grade' => 3); $this->fields['stats_score'] = array('type' => 'boolean', 'default' => true, 'editable' => true, 'label' => __('Afficher les scores dans les rapports'), 'grade' => 5); $this->fields['stats_exclude_ip'] = array('type' => 'textarea', 'default' => '', 'editable' => true, 'label' => __('Exclure les IP suivantes des statistiques'), 'grade' => 3, 'hint' => sprintf(__('Indiquer une adresse ip de la forme %s par ligne'), 'www.xxx.yyy.zzz')); $this->fields['relay_url_params'] = ['type' => 'text', 'default' => '', 'editable' => true, 'label' => __('Relayer les paramètres d\'url dans les liens sortants'), 'grade' => 3]; -- 2.39.5