Fix: external user confidentiality
This commit is contained in:
parent
a92bb8373a
commit
c55eabeaff
@ -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">';
|
||||||
|
|||||||
@ -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">';
|
||||||
|
|||||||
@ -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