From: vincent@cubedesigners.com Date: Fri, 29 Nov 2019 11:28:21 +0000 (+0000) Subject: wip #3186 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=922ec32540f161bcc3ace32ea941743b7ee12561;p=cubeextranet.git wip #3186 --- diff --git a/inc/ws/Metier/class.ws.book.parametres.php b/inc/ws/Metier/class.ws.book.parametres.php index b91272db4..ee2dd68de 100644 --- a/inc/ws/Metier/class.ws.book.parametres.php +++ b/inc/ws/Metier/class.ws.book.parametres.php @@ -429,10 +429,12 @@ class wsBookParametres extends wsParametres $icons = [__('Aucune') => 'none', __('Partage') => 'nav-share', __('Ecran') => 'icon-site', __('Télécharger') => 'nav-download', 'PDF' => 'icon-pdf']; $f = []; for ($i = 1; $i <= 2; $i++) { - $this->fields['product_zoom_label_' . $i] = ['type' => 'text', 'label' => 'Label du bouton ' . $i, 'default' => '', 'editable' => true, 'grade' => 3]; - $this->fields['product_zoom_icon_' . $i] = ['type' => 'combo', 'datas' => $icons, 'label' => 'Icône du bouton ' . $i, 'default' => 'click', 'editable' => true, 'grade' => 3]; + $this->fields['product_zoom_label_' . $i] = ['type' => 'text', 'label' => __('Label du bouton') . ' ' . $i, 'default' => '', 'editable' => true, 'grade' => 3]; + $this->fields['product_zoom_tooltip_' . $i] = ['type' => 'text', 'label' => __('Label de l\'infobulle') . ' ' . $i, 'default' => '', 'editable' => true, 'grade' => 3]; + $this->fields['product_zoom_icon_' . $i] = ['type' => 'combo', 'datas' => $icons, 'label' => __('Icône du bouton') . ' ' . $i, 'default' => 'click', 'editable' => true, 'grade' => 3]; $f[] = '|'; $f[] = 'product_zoom_label_' . $i; + $f[] = 'product_zoom_tooltip_' . $i; $f[] = 'product_zoom_icon_' . $i; } $this->fields['product_email_title'] = array('type' => 'text', 'default' => '', 'editable' => true, 'label' => __("Titre de l'email") . ' "' . __('Envoyer à un ami') . '"');