Fix: external user confidentiality

This commit is contained in:
Regis Houssin 2012-07-26 17:45:08 +02:00
parent a92bb8373a
commit c55eabeaff
3 changed files with 89 additions and 81 deletions

View File

@ -220,7 +220,8 @@ complete_head_from_modules($conf,$langs,$object,$head,$h,'propal_stats');
dol_fiche_head($head,'byyear',$langs->trans("Statistics")); dol_fiche_head($head,'byyear',$langs->trans("Statistics"));
if (empty($socid))
{
print '<table class="notopnoleftnopadd" width="100%"><tr>'; print '<table class="notopnoleftnopadd" width="100%"><tr>';
print '<td align="center" valign="top">'; print '<td align="center" valign="top">';
@ -248,6 +249,7 @@ print '<tr><td align="center" colspan="2"><input type="submit" name="submit" cla
print '</table>'; print '</table>';
print '</form>'; print '</form>';
print '<br><br>'; print '<br><br>';
}
print '<table class="border" width="100%">'; print '<table class="border" width="100%">';
print '<tr height="24">'; print '<tr height="24">';

View File

@ -240,6 +240,8 @@ complete_head_from_modules($conf,$langs,$object,$head,$h,$type);
dol_fiche_head($head,'byyear',$langs->trans("Statistics")); dol_fiche_head($head,'byyear',$langs->trans("Statistics"));
if (empty($socid))
{
print '<table class="notopnoleftnopadd" width="100%"><tr>'; print '<table class="notopnoleftnopadd" width="100%"><tr>';
print '<td align="center" valign="top">'; print '<td align="center" valign="top">';
@ -268,6 +270,7 @@ print '<tr><td align="center" colspan="2"><input type="submit" name="submit" cla
print '</table>'; print '</table>';
print '</form>'; print '</form>';
print '<br><br>'; print '<br><br>';
}
print '<table class="border" width="100%">'; print '<table class="border" width="100%">';
print '<tr height="24">'; print '<tr height="24">';

View File

@ -219,6 +219,8 @@ complete_head_from_modules($conf,$langs,$object,$head,$h,$type);
dol_fiche_head($head,'byyear',$langs->trans("Statistics")); dol_fiche_head($head,'byyear',$langs->trans("Statistics"));
if (empty($socid))
{
print '<table class="notopnoleftnopadd" width="100%"><tr>'; print '<table class="notopnoleftnopadd" width="100%"><tr>';
print '<td align="center" valign="top">'; print '<td align="center" valign="top">';
@ -247,6 +249,7 @@ print '<tr><td align="center" colspan="2"><input type="submit" name="submit" cla
print '</table>'; print '</table>';
print '</form>'; print '</form>';
print '<br><br>'; print '<br><br>';
}
print '<table class="border" width="100%">'; print '<table class="border" width="100%">';
print '<tr height="24">'; print '<tr height="24">';