Fix: external user confidentiality
This commit is contained in:
parent
5318fb54d5
commit
b2317fd3ee
@ -225,7 +225,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">';
|
||||||
|
|
||||||
@ -253,6 +254,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">';
|
||||||
|
|||||||
@ -243,6 +243,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">';
|
||||||
|
|
||||||
@ -271,6 +273,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">';
|
||||||
|
|||||||
@ -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">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user