From f762c98a373b07356d92cb7fcc89bc90504b8aec Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 18 Dec 2016 11:27:22 +0100 Subject: [PATCH] Fix html not balanced --- htdocs/contact/note.php | 12 +++++------- htdocs/core/lib/company.lib.php | 6 +++--- htdocs/core/tpl/contacts.tpl.php | 24 ++++++++++++------------ 3 files changed, 20 insertions(+), 22 deletions(-) diff --git a/htdocs/contact/note.php b/htdocs/contact/note.php index 6862ea0e4bf..b205603225b 100644 --- a/htdocs/contact/note.php +++ b/htdocs/contact/note.php @@ -85,9 +85,6 @@ if ($id > 0) print '
'; print '
'; - print '
'; - print ''; - print ''; // Company @@ -144,12 +141,13 @@ if ($id > 0) print "
"; - //print '
'; + print '
'; - //print '
'; - - include DOL_DOCUMENT_ROOT.'/core/tpl/notes.tpl.php'; + $cssclass="titlefield"; + include DOL_DOCUMENT_ROOT.'/core/tpl/notes.tpl.php'; + print '
'; + dol_fiche_end(); } diff --git a/htdocs/core/lib/company.lib.php b/htdocs/core/lib/company.lib.php index 40257d63880..bbb6cdcbe0e 100644 --- a/htdocs/core/lib/company.lib.php +++ b/htdocs/core/lib/company.lib.php @@ -713,12 +713,12 @@ function show_contacts($conf,$langs,$db,$object,$backtopage='') print ''; // Address / Phone - print ''; + print ''; //print ''; print ''; // Email - print ' '; + print ' '; // Status print ''; @@ -729,7 +729,7 @@ function show_contacts($conf,$langs,$db,$object,$backtopage='') if (! empty($conf->agenda->enabled) && $user->rights->agenda->myactions->create) { $colspan++; - print ' '; + print ' '; } // Edit diff --git a/htdocs/core/tpl/contacts.tpl.php b/htdocs/core/tpl/contacts.tpl.php index 3a00ca2c060..3f8006c286b 100644 --- a/htdocs/core/tpl/contacts.tpl.php +++ b/htdocs/core/tpl/contacts.tpl.php @@ -59,12 +59,12 @@ $userstatic=new User($db); if ($permission) { ?> -
trans("Nature"); ?>
-
trans("ThirdParty"); ?>
-
trans("Users").'/'.$langs->trans("Contacts"); ?>
-
trans("ContactType"); ?>
-
 
-
 
+
trans("Nature"); ?>
+
trans("ThirdParty"); ?>
+
trans("Users").'/'.$langs->trans("Contacts"); ?>
+
trans("ContactType"); ?>
+
 
+
 
-
trans("Nature"); ?>
-
trans("ThirdParty"); ?>
-
trans("Users").'/'.$langs->trans("Contacts"); ?>
-
trans("ContactType"); ?>
-
trans("Status"); ?>
-
 
+
trans("Nature"); ?>
+
trans("ThirdParty"); ?>
+
trans("Users").'/'.$langs->trans("Contacts"); ?>
+
trans("ContactType"); ?>
+
trans("Status"); ?>
+