Fix: use the new title

This commit is contained in:
Regis Houssin 2018-06-20 11:23:33 +02:00
parent 5b491a4d57
commit 96faf7cb0f
4 changed files with 14 additions and 4 deletions

View File

@ -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); ?>

View File

@ -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);
?>

View File

@ -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']); ?>

View File

@ -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);
?>