Fix removed warnings
This commit is contained in:
parent
d9b3069813
commit
52240eec9a
@ -179,7 +179,7 @@ class FormActions
|
||||
elseif ($typeelement == 'fichinter') $title=$langs->trans('ActionsOnFicheInter');
|
||||
else $title=$langs->trans("Actions");
|
||||
|
||||
print_titre($title);
|
||||
print load_fiche_titre($title,'','');
|
||||
|
||||
$total = 0; $var=true;
|
||||
print '<table class="noborder" width="100%">';
|
||||
|
||||
@ -2730,8 +2730,8 @@ function getTitleFieldOfList($name, $thead=0, $file="", $field="", $begin="", $m
|
||||
*
|
||||
* @param string $title Title to show
|
||||
* @return string Title to show
|
||||
* @deprecated Use print_fiche_titre instead
|
||||
* @see print_fiche_titre
|
||||
* @deprecated Use load_fiche_titre instead
|
||||
* @see print_fiche_titre, load_fiche_titre
|
||||
*/
|
||||
function print_titre($title)
|
||||
{
|
||||
|
||||
@ -1612,9 +1612,10 @@ if ($action=='create')
|
||||
print "</form>\n";
|
||||
|
||||
// Show origin lines
|
||||
if (! empty($origin) && ! empty($originid) && is_object($objectsrc)) {
|
||||
if (! empty($origin) && ! empty($originid) && is_object($objectsrc))
|
||||
{
|
||||
$title = $langs->trans('ProductsAndServices');
|
||||
print_titre($title);
|
||||
print load_fiche_titre($title,'','');
|
||||
|
||||
print '<table class="noborder" width="100%">';
|
||||
|
||||
@ -2395,7 +2396,7 @@ elseif (! empty($object->id))
|
||||
'entity'=>''
|
||||
);
|
||||
|
||||
print_titre($langs->trans('CreateRemoteOrder'));
|
||||
print load_fiche_titre($langs->trans('CreateRemoteOrder'),'');
|
||||
|
||||
//Is everything filled?
|
||||
if (empty($ws_url) || empty($ws_key)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user