Fix: Missing tr line
This commit is contained in:
parent
2e7205f309
commit
cbeeb463e2
@ -554,10 +554,14 @@ class FormFile
|
|||||||
$out .= $hookmanager->resPrint;
|
$out .= $hookmanager->resPrint;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$out.= '</tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$out.= '</tr>';
|
if (count($file_list) == 0)
|
||||||
|
{
|
||||||
|
$out.='<tr><td colspan="3">'.$langs->trans("None").'</td></tr>';
|
||||||
|
}
|
||||||
|
|
||||||
$this->numoffiles++;
|
$this->numoffiles++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -536,7 +536,9 @@ function show_contacts($conf,$langs,$db,$object,$backtopage='')
|
|||||||
|
|
||||||
print "\n".'<table class="noborder" width="100%">'."\n";
|
print "\n".'<table class="noborder" width="100%">'."\n";
|
||||||
|
|
||||||
print '<tr class="liste_titre"><td>'.$langs->trans("Name").'</td>';
|
$colspan=6;
|
||||||
|
print '<tr class="liste_titre">';
|
||||||
|
print '<td>'.$langs->trans("Name").'</td>';
|
||||||
print '<td>'.$langs->trans("Poste").'</td>';
|
print '<td>'.$langs->trans("Poste").'</td>';
|
||||||
print '<td>'.$langs->trans("PhonePro").'</td>';
|
print '<td>'.$langs->trans("PhonePro").'</td>';
|
||||||
print '<td>'.$langs->trans("PhoneMobile").'</td>';
|
print '<td>'.$langs->trans("PhoneMobile").'</td>';
|
||||||
@ -545,6 +547,7 @@ function show_contacts($conf,$langs,$db,$object,$backtopage='')
|
|||||||
print "<td> </td>";
|
print "<td> </td>";
|
||||||
if (! empty($conf->agenda->enabled) && $user->rights->agenda->myactions->create)
|
if (! empty($conf->agenda->enabled) && $user->rights->agenda->myactions->create)
|
||||||
{
|
{
|
||||||
|
$colspan++;
|
||||||
print '<td> </td>';
|
print '<td> </td>';
|
||||||
}
|
}
|
||||||
print "</tr>";
|
print "</tr>";
|
||||||
@ -622,9 +625,9 @@ function show_contacts($conf,$langs,$db,$object,$backtopage='')
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//print "<tr ".$bc[$var].">";
|
print "<tr ".$bc[$var].">";
|
||||||
//print '<td>'.$langs->trans("NoContactsYetDefined").'</td>';
|
print '<td colspan="'.$colspan.'">'.$langs->trans("None").'</td>';
|
||||||
//print "</tr>\n";
|
print "</tr>\n";
|
||||||
}
|
}
|
||||||
print "\n</table>\n";
|
print "\n</table>\n";
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user