$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') . '"');