From: vincent@cubedesigners.com Date: Tue, 21 Jan 2020 09:11:07 +0000 (+0000) Subject: wip #3358 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=cfbc764fb16ed6f24c6689080856763eaca4fc26;p=cubeextranet.git wip #3358 @0.25 --- diff --git a/fluidbook/icones/15/interface.svg b/fluidbook/icones/15/interface.svg index 214f35bfb..55bd8f84f 100644 --- a/fluidbook/icones/15/interface.svg +++ b/fluidbook/icones/15/interface.svg @@ -185,6 +185,15 @@ c0-0.6-0.3-1.2-1.1-1.2c-0.8,0-1.5,0.9-1.5,2c0,0.7,0.2,1.2,0.2,1.2s-0.8,3.5-1,4.2c-0.1,0.5-0.1,1.1-0.1,1.6 c-2.7-1.2-4.6-3.9-4.6-7c0-4.2,3.4-7.7,7.7-7.7s7.7,3.4,7.7,7.7S16.7,20.2,12.5,20.2z"/> + + + diff --git a/inc/ws/Metier/class.ws.book.parametres.php b/inc/ws/Metier/class.ws.book.parametres.php index 84f5c3e23..af9d02a94 100644 --- a/inc/ws/Metier/class.ws.book.parametres.php +++ b/inc/ws/Metier/class.ws.book.parametres.php @@ -130,6 +130,7 @@ class wsBookParametres extends wsParametres $this->fields['friend'] = array('type' => 'boolean', 'default' => true, 'editable' => true, 'label' => __('E-mail')); $this->fields['facebook'] = array('type' => 'boolean', 'default' => true, 'editable' => true, 'label' => __('Facebook')); $this->fields['twitter'] = array('type' => 'boolean', 'default' => true, 'editable' => true, 'label' => __('Twitter')); + $this->fields['whatsapp'] = array('type' => 'boolean', 'default' => false, 'editable' => true, 'label' => __('WhatsApp')); $this->fields['linkedin'] = array('type' => 'boolean', 'default' => true, 'editable' => true, 'label' => __('LinkedIn')); $this->fields['googleplus'] = array('type' => 'boolean', 'default' => false, 'editable' => true, 'label' => __('Google +')); $this->fields['viadeo'] = array('type' => 'boolean', 'default' => false, 'editable' => true, 'label' => __('Viadeo')); @@ -140,7 +141,7 @@ class wsBookParametres extends wsParametres $this->forms['share'] = array('label' => __('Fonctions de partage'), 'fieldsnames' => array('share', '|', 'email_title', 'email_body', 'email_editable', 'askAcknowledge', 'sendasfluidbook', 'email_mailto', '|', 'facebook_title', 'facebook_description', 'facebook_image', 'twitter_description', '|', - 'friend', 'facebook', 'twitter', 'googleplus', 'linkedin', 'viadeo', 'pinterest', '|', 'customSharer', '|', 'friendWidth', 'friendHeight')); + 'friend', 'facebook', 'twitter', 'whatsapp', 'linkedin', 'pinterest', '|', 'googleplus', 'viadeo', '|', 'customSharer', '|', 'friendWidth', 'friendHeight')); //. $this->fields['seoVersion'] = array('type' => 'boolean', 'default' => true, 'editable' => true, 'label' => __('Générer une version pour les moteurs de recherche')); $this->fields['seoRobots'] = array('type' => 'boolean', 'default' => true, 'editable' => true, 'label' => __('Autoriser le parcours par les moteurs de recherche')); diff --git a/inc/ws/Util/html5/master/class.ws.html5.compiler.php b/inc/ws/Util/html5/master/class.ws.html5.compiler.php index 4d7b880a6..ba4f73d8e 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -1557,7 +1557,7 @@ class wsHTML5Compiler } if (!file_exists($minimized) || filesize($minimized) == 0) { - die('An error occured while uglifying ' . $hasNonMin . '? ' . $minimized . ': ' . ($uglify ?? $uglify->commande) . ' :: ' . ($uglify ?? $uglify->output) . '(' . implode(',', $files) . ')'); + die('An error occured while uglifying ' . $hasNonMin . '? ' . $minimized . ': ' . ($uglify ? $uglify->commande : '') . ' :: ' . ($uglify ? $uglify->output : '') . '(' . implode(',', $files) . ')'); } } }