Merge pull request #8982 from hregis/7.0_bug6
Fix: "libelle" is deprecated, use "label" instead
This commit is contained in:
commit
5b019eb985
@ -101,7 +101,7 @@ class ActionsCardProduct
|
|||||||
$this->tpl['ref'] = $this->ref;
|
$this->tpl['ref'] = $this->ref;
|
||||||
|
|
||||||
// Label
|
// Label
|
||||||
$this->tpl['label'] = $this->libelle;
|
$this->tpl['label'] = $this->label;
|
||||||
|
|
||||||
// Description
|
// Description
|
||||||
$this->tpl['description'] = nl2br($this->description);
|
$this->tpl['description'] = nl2br($this->description);
|
||||||
|
|||||||
@ -55,7 +55,7 @@ $statutarray=array('1' => $langs->trans("OnSell"), '0' => $langs->trans("NotOnSe
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="fieldrequired"><?php echo $langs->trans("Label"); ?></td>
|
<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>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@ -55,7 +55,7 @@ dol_htmloutput_errors($object->error,$object->errors);
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="fieldrequired"><?php echo $langs->trans("Label"); ?></td>
|
<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>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@ -100,7 +100,7 @@ class ActionsCardService
|
|||||||
$this->tpl['ref'] = $this->ref;
|
$this->tpl['ref'] = $this->ref;
|
||||||
|
|
||||||
// Label
|
// Label
|
||||||
$this->tpl['label'] = $this->libelle;
|
$this->tpl['label'] = $this->label;
|
||||||
|
|
||||||
// Description
|
// Description
|
||||||
$this->tpl['description'] = nl2br($this->description);
|
$this->tpl['description'] = nl2br($this->description);
|
||||||
|
|||||||
@ -52,7 +52,7 @@ $statutarray=array('1' => $langs->trans("OnSell"), '0' => $langs->trans("NotOnSe
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="fieldrequired"><?php echo $langs->trans("Label"); ?></td>
|
<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>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@ -52,7 +52,7 @@ dol_htmloutput_errors($object->error,$object->errors);
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="fieldrequired"><?php echo $langs->trans("Label"); ?></td>
|
<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>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user