From 472397d5c2f2a4d699c84b0742ac9d823c012ec3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Garci=CC=81a?= Date: Sat, 28 Jul 2012 20:47:12 +0200 Subject: [PATCH] BackToList links in Supplier order section --- htdocs/comm/propal.php | 2 +- htdocs/fourn/commande/contact.php | 4 +++- htdocs/fourn/commande/document.php | 4 +++- htdocs/fourn/commande/fiche.php | 4 +++- htdocs/fourn/commande/history.php | 4 +++- htdocs/fourn/commande/note.php | 4 +++- 6 files changed, 16 insertions(+), 6 deletions(-) diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php index b8f03a32b38..eecf70a7a97 100644 --- a/htdocs/comm/propal.php +++ b/htdocs/comm/propal.php @@ -1271,7 +1271,7 @@ $linkback=''; -print $form->showrefnav($object,'ref',$linkback,1,'ref','ref',''); +print $form->showrefnav($object, 'ref', $linkback, 1, 'ref', 'ref', ''); print ''; // Ref client diff --git a/htdocs/fourn/commande/contact.php b/htdocs/fourn/commande/contact.php index be532b75261..2349efa9c93 100644 --- a/htdocs/fourn/commande/contact.php +++ b/htdocs/fourn/commande/contact.php @@ -147,10 +147,12 @@ if ($id > 0 || ! empty($ref)) */ print ''; + $linkback = ''.$langs->trans("BackToList").''; + // Ref print ''; print ''; print ''; diff --git a/htdocs/fourn/commande/document.php b/htdocs/fourn/commande/document.php index 94483274ef7..ee319fd9d02 100644 --- a/htdocs/fourn/commande/document.php +++ b/htdocs/fourn/commande/document.php @@ -158,10 +158,12 @@ if ($object->id > 0) print '
'.$langs->trans("Ref").''; - print $form->showrefnav($object,'ref','',1,'ref','ref'); + print $form->showrefnav($object, 'ref', $linkback, 1, 'ref', 'ref'); print '
'; + $linkback = ''.$langs->trans("BackToList").''; + // Ref print ''; print ''; print ''; diff --git a/htdocs/fourn/commande/fiche.php b/htdocs/fourn/commande/fiche.php index f1f17b5a5d3..b5a826e60c2 100644 --- a/htdocs/fourn/commande/fiche.php +++ b/htdocs/fourn/commande/fiche.php @@ -1049,10 +1049,12 @@ if ($id > 0 || ! empty($ref)) print '
'.$langs->trans("Ref").''; - print $form->showrefnav($object,'ref','',1,'ref','ref'); + print $form->showrefnav($object, 'ref', $linkback, 1, 'ref', 'ref'); print '
'; + $linkback = ''.$langs->trans("BackToList").''; + // Ref print ''; print ''; print ''; diff --git a/htdocs/fourn/commande/history.php b/htdocs/fourn/commande/history.php index 499565927a3..f911e8c2b71 100644 --- a/htdocs/fourn/commande/history.php +++ b/htdocs/fourn/commande/history.php @@ -76,10 +76,12 @@ if ($id > 0 || ! empty($ref)) print '
'.$langs->trans("Ref").''; - print $form->showrefnav($object,'ref','',1,'ref','ref'); + print $form->showrefnav($object, 'ref', $linkback, 1, 'ref', 'ref'); print '
'; + $linkback = ''.$langs->trans("BackToList").''; + // Ref print ''; print ''; print ''; diff --git a/htdocs/fourn/commande/note.php b/htdocs/fourn/commande/note.php index a1cd6119a57..7ffc4489ab8 100644 --- a/htdocs/fourn/commande/note.php +++ b/htdocs/fourn/commande/note.php @@ -97,10 +97,12 @@ if ($id > 0 || ! empty($ref)) */ print '
'.$langs->trans("Ref").''; - print $form->showrefnav($commande,'ref','',1,'ref','ref'); + print $form->showrefnav($commande, 'ref', $linkback, 1, 'ref', 'ref'); print '
'; + $linkback = ''.$langs->trans("BackToList").''; + // Ref print ''; print ''; print '';
'.$langs->trans("Ref").''; - print $form->showrefnav($object,'ref','',1,'ref','ref'); + print $form->showrefnav($object, 'ref', $linkback, 1, 'ref', 'ref'); print '