Fix: use the new title
This commit is contained in:
parent
5b491a4d57
commit
96faf7cb0f
@ -30,7 +30,10 @@ $statutarray=array('1' => $langs->trans("OnSell"), '0' => $langs->trans("NotOnSe
|
||||
|
||||
<!-- BEGIN PHP TEMPLATE -->
|
||||
|
||||
<?php print load_fiche_titre($langs->trans("Product")); ?>
|
||||
<?php
|
||||
print load_fiche_titre($langs->trans("NewProduct"),'','title_products.png');
|
||||
dol_fiche_head('');
|
||||
?>
|
||||
|
||||
<?php dol_htmloutput_errors((is_numeric($object->error)?'':$object->error),$object->errors); ?>
|
||||
|
||||
|
||||
@ -31,7 +31,9 @@ $statutarray=array('1' => $langs->trans("OnSell"), '0' => $langs->trans("NotOnSe
|
||||
<!-- BEGIN PHP TEMPLATE -->
|
||||
|
||||
<?php
|
||||
print load_fiche_titre($langs->trans("Product"));
|
||||
$head=product_prepare_head($object);
|
||||
$titre=$langs->trans("CardProduct".$object->type);
|
||||
dol_fiche_head($head, 'card', $titre, 0, 'product');
|
||||
|
||||
dol_htmloutput_errors($object->error,$object->errors);
|
||||
?>
|
||||
|
||||
@ -30,7 +30,10 @@ $statutarray=array('1' => $langs->trans("OnSell"), '0' => $langs->trans("NotOnSe
|
||||
|
||||
<!-- BEGIN PHP TEMPLATE CREATE.TPL -->
|
||||
|
||||
<?php print load_fiche_titre($langs->trans("Service")); ?>
|
||||
<?php
|
||||
print load_fiche_titre($langs->trans("NewService"),'','title_products.png');
|
||||
dol_fiche_head('');
|
||||
?>
|
||||
|
||||
<?php dol_htmloutput_errors($this->control->tpl['error'],$this->control->tpl['errors']); ?>
|
||||
|
||||
|
||||
@ -31,7 +31,9 @@ $statutarray=array('1' => $langs->trans("OnSell"), '0' => $langs->trans("NotOnSe
|
||||
<!-- BEGIN PHP TEMPLATE EDIT.TPL -->
|
||||
|
||||
<?php
|
||||
print load_fiche_titre($langs->trans("Service"));
|
||||
$head=product_prepare_head($object);
|
||||
$titre=$langs->trans("CardProduct".$object->type);
|
||||
dol_fiche_head($head, 'card', $titre, 0, 'service');
|
||||
|
||||
dol_htmloutput_errors($object->error,$object->errors);
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user