Fix: bas tabs when socid provided into stats pages

This commit is contained in:
Laurent Destailleur 2012-09-21 00:28:11 +02:00
parent 320b24bca1
commit 84089f3e53
3 changed files with 15 additions and 15 deletions

View File

@ -217,11 +217,11 @@ complete_head_from_modules($conf,$langs,$object,$head,$h,'propal_stats');
dol_fiche_head($head,'byyear',$langs->trans("Statistics"));
if (empty($socid))
{
print '<table class="notopnoleftnopadd" width="100%"><tr>';
print '<td align="center" valign="top">';
print '<table class="notopnoleftnopadd" width="100%"><tr>';
print '<td align="center" valign="top">';
//if (empty($socid))
//{
// Show filter box
print '<form name="stats" method="POST" action="'.$_SERVER["PHP_SELF"].'">';
print '<input type="hidden" name="mode" value="'.$mode.'">';
@ -246,7 +246,7 @@ if (empty($socid))
print '</table>';
print '</form>';
print '<br><br>';
}
//}
print '<table class="border" width="100%">';
print '<tr height="24">';

View File

@ -238,11 +238,11 @@ complete_head_from_modules($conf,$langs,$object,$head,$h,$type);
dol_fiche_head($head,'byyear',$langs->trans("Statistics"));
if (empty($socid))
{
print '<table class="notopnoleftnopadd" width="100%"><tr>';
print '<td align="center" valign="top">';
print '<table class="notopnoleftnopadd" width="100%"><tr>';
print '<td align="center" valign="top">';
//if (empty($socid))
//{
// Show filter box
print '<form name="stats" method="POST" action="'.$_SERVER["PHP_SELF"].'">';
print '<input type="hidden" name="mode" value="'.$mode.'">';
@ -268,7 +268,7 @@ if (empty($socid))
print '</table>';
print '</form>';
print '<br><br>';
}
//}
print '<table class="border" width="100%">';
print '<tr height="24">';

View File

@ -214,11 +214,11 @@ complete_head_from_modules($conf,$langs,$object,$head,$h,$type);
dol_fiche_head($head,'byyear',$langs->trans("Statistics"));
if (empty($socid))
{
print '<table class="notopnoleftnopadd" width="100%"><tr>';
print '<td align="center" valign="top">';
print '<table class="notopnoleftnopadd" width="100%"><tr>';
print '<td align="center" valign="top">';
//if (empty($socid))
//{
// Show filter box
print '<form name="stats" method="POST" action="'.$_SERVER["PHP_SELF"].'">';
print '<input type="hidden" name="mode" value="'.$mode.'">';
@ -244,7 +244,7 @@ if (empty($socid))
print '</table>';
print '</form>';
print '<br><br>';
}
//}
print '<table class="border" width="100%">';
print '<tr height="24">';