Merge pull request #8982 from hregis/7.0_bug6

Fix: "libelle" is deprecated, use "label" instead
This commit is contained in:
Laurent Destailleur 2018-06-18 14:32:35 +02:00 committed by GitHub
commit 5b019eb985
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View File

@ -101,7 +101,7 @@ class ActionsCardProduct
$this->tpl['ref'] = $this->ref;
// Label
$this->tpl['label'] = $this->libelle;
$this->tpl['label'] = $this->label;
// Description
$this->tpl['description'] = nl2br($this->description);

View File

@ -55,7 +55,7 @@ $statutarray=array('1' => $langs->trans("OnSell"), '0' => $langs->trans("NotOnSe
<tr>
<td class="fieldrequired"><?php echo $langs->trans("Label"); ?></td>
<td><input name="libelle" size="40" value="<?php echo $object->label; ?>"></td>
<td><input name="label" size="40" value="<?php echo $object->label; ?>"></td>
</tr>
<tr>

View File

@ -55,7 +55,7 @@ dol_htmloutput_errors($object->error,$object->errors);
<tr>
<td class="fieldrequired"><?php echo $langs->trans("Label"); ?></td>
<td><input name="libelle" size="40" value="<?php echo $object->label; ?>"></td>
<td><input name="label" size="40" value="<?php echo $object->label; ?>"></td>
</tr>
<tr>

View File

@ -100,7 +100,7 @@ class ActionsCardService
$this->tpl['ref'] = $this->ref;
// Label
$this->tpl['label'] = $this->libelle;
$this->tpl['label'] = $this->label;
// Description
$this->tpl['description'] = nl2br($this->description);

View File

@ -52,7 +52,7 @@ $statutarray=array('1' => $langs->trans("OnSell"), '0' => $langs->trans("NotOnSe
<tr>
<td class="fieldrequired"><?php echo $langs->trans("Label"); ?></td>
<td><input name="libelle" size="40" value="<?php echo $object->label; ?>"></td>
<td><input name="label" size="40" value="<?php echo $object->label; ?>"></td>
</tr>
<tr>

View File

@ -52,7 +52,7 @@ dol_htmloutput_errors($object->error,$object->errors);
<tr>
<td class="fieldrequired"><?php echo $langs->trans("Label"); ?></td>
<td><input name="libelle" size="40" value="<?php echo $object->label; ?>"></td>
<td><input name="label" size="40" value="<?php echo $object->label; ?>"></td>
</tr>
<tr>