diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php index 78bf317d3a9..c45d2c7c999 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -554,10 +554,14 @@ class FormFile $out .= $hookmanager->resPrint; } } + $out.= ''; } - $out.= ''; - + if (count($file_list) == 0) + { + $out.=''.$langs->trans("None").''; + } + $this->numoffiles++; } } diff --git a/htdocs/core/lib/company.lib.php b/htdocs/core/lib/company.lib.php index 774e16e6e68..a058b129d49 100644 --- a/htdocs/core/lib/company.lib.php +++ b/htdocs/core/lib/company.lib.php @@ -536,7 +536,9 @@ function show_contacts($conf,$langs,$db,$object,$backtopage='') print "\n".''."\n"; - print ''; + $colspan=6; + print ''; + print ''; print ''; print ''; print ''; @@ -545,6 +547,7 @@ function show_contacts($conf,$langs,$db,$object,$backtopage='') print ""; if (! empty($conf->agenda->enabled) && $user->rights->agenda->myactions->create) { + $colspan++; print ''; } print ""; @@ -622,9 +625,9 @@ function show_contacts($conf,$langs,$db,$object,$backtopage='') } else { - //print ""; - //print ''; - //print "\n"; + print ""; + print ''; + print "\n"; } print "\n
'.$langs->trans("Name").'
'.$langs->trans("Name").''.$langs->trans("Poste").''.$langs->trans("PhonePro").''.$langs->trans("PhoneMobile").'  
'.$langs->trans("NoContactsYetDefined").'
'.$langs->trans("None").'
\n";