From 0dff6f1e8012ad544c228be0e1ef4a976f915cab Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 1 Jun 2011 22:58:20 +0000 Subject: [PATCH] Uniformize code --- htdocs/compta/deplacement/fiche.php | 2 +- htdocs/compta/deplacement/note.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/compta/deplacement/fiche.php b/htdocs/compta/deplacement/fiche.php index 21657ec6d3d..27d813d531c 100644 --- a/htdocs/compta/deplacement/fiche.php +++ b/htdocs/compta/deplacement/fiche.php @@ -323,7 +323,7 @@ else // Ref print ""; print ''.$langs->trans("Ref").''; - print $deplacement->ref; + print $html->showrefnav($deplacement,'id','',1,'rowid','ref',''); print ''; // Type diff --git a/htdocs/compta/deplacement/note.php b/htdocs/compta/deplacement/note.php index c197b0181c3..3f1a2045b69 100644 --- a/htdocs/compta/deplacement/note.php +++ b/htdocs/compta/deplacement/note.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004-2010 Laurent Destailleur + * Copyright (C) 2004-2011 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -148,7 +148,7 @@ if ($id > 0 || ! empty($ref)) print ''; // Note publique - print ''.$langs->trans("NotePublic").' :'; + print ''.$langs->trans("NotePublic").''; print ''; if ($_GET["action"] == 'edit') { @@ -168,7 +168,7 @@ if ($id > 0 || ! empty($ref)) // Note privee if (! $user->societe_id) { - print ''.$langs->trans("NotePrivate").' :'; + print ''.$langs->trans("NotePrivate").''; print ''; if ($_GET["action"] == 'edit') {