From: vincent@cubedesigners.com Date: Wed, 19 Jun 2019 18:33:24 +0000 (+0000) Subject: done #2846 @1.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=3b75bdef03a995439f8f482a4de48d966f2dcfc6;p=cubeextranet.git done #2846 @1.5 --- diff --git a/fluidbook/sounds/silent/corner-drag.mp3 b/fluidbook/sounds/silent/corner-drag.mp3 new file mode 100644 index 000000000..9cd8436ea Binary files /dev/null and b/fluidbook/sounds/silent/corner-drag.mp3 differ diff --git a/fluidbook/sounds/silent/corner-release.mp3 b/fluidbook/sounds/silent/corner-release.mp3 new file mode 100644 index 000000000..9cd8436ea Binary files /dev/null and b/fluidbook/sounds/silent/corner-release.mp3 differ diff --git a/fluidbook/sounds/silent/cover-flip.mp3 b/fluidbook/sounds/silent/cover-flip.mp3 new file mode 100644 index 000000000..9cd8436ea Binary files /dev/null and b/fluidbook/sounds/silent/cover-flip.mp3 differ diff --git a/fluidbook/sounds/silent/page-flip-1.mp3 b/fluidbook/sounds/silent/page-flip-1.mp3 new file mode 100644 index 000000000..9cd8436ea Binary files /dev/null and b/fluidbook/sounds/silent/page-flip-1.mp3 differ diff --git a/fluidbook/sounds/silent/page-flip-2.mp3 b/fluidbook/sounds/silent/page-flip-2.mp3 new file mode 100644 index 000000000..9cd8436ea Binary files /dev/null and b/fluidbook/sounds/silent/page-flip-2.mp3 differ diff --git a/inc/ws/Metier/class.ws.book.parametres.php b/inc/ws/Metier/class.ws.book.parametres.php index 0e18e2b89..276a24caa 100644 --- a/inc/ws/Metier/class.ws.book.parametres.php +++ b/inc/ws/Metier/class.ws.book.parametres.php @@ -291,7 +291,9 @@ class wsBookParametres extends wsParametres 'datas' => array(__('Pas de son') => '', __('Classique') => 'classic', __("Papier épais") => 'heavy', - __("Papier fin") => 'light')); + __("Papier fin") => 'light', + __("Silencieux") => 'silent')); + $this->fields['soundOn'] = array('type' => 'boolean', 'default' => true, 'editable' => true, 'label' => __("Activer les effets sonores à l'ouverture")); $this->fields['ambientSound'] = array('type' => 'freefile', 'default' => '', 'editable' => true, 'label' => __('Ambiance sonore'), 'grade' => 3, 'fileFilter' => $soundFilter);