From c2dc140024dbec6bc38aca487b3822065dd0554b Mon Sep 17 00:00:00 2001 From: BENKE Charlie Date: Thu, 15 Dec 2016 11:09:03 +0100 Subject: [PATCH] Cleaning code --- htdocs/contact/note.php | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/htdocs/contact/note.php b/htdocs/contact/note.php index 17c718cfb42..6862ea0e4bf 100644 --- a/htdocs/contact/note.php +++ b/htdocs/contact/note.php @@ -74,11 +74,6 @@ if ($id > 0) $head = contact_prepare_head($object); dol_fiche_head($head, 'note', $title,0,'contact'); - - - print '
'; - print ''; - $linkback = ''.$langs->trans("BackToList").''; dol_banner_tab($object, 'id', $linkback, 1, 'rowid', 'ref', ''); @@ -88,11 +83,12 @@ if ($id > 0) //if ($action == 'editnote_private') $cssclass='titlefieldcreate'; print '
'; - print '
'; - print ''; - $linkback = ''.$langs->trans("BackToList").''; + print ''; + print ''; + + print '
'; // Company if (empty($conf->global->SOCIETE_DISABLE_CONTACTS)) @@ -154,7 +150,6 @@ if ($id > 0) include DOL_DOCUMENT_ROOT.'/core/tpl/notes.tpl.php'; - dol_fiche_end(); }