Look and feel v6

This commit is contained in:
Laurent Destailleur 2017-07-04 13:05:02 +02:00
parent 77f5952318
commit c1e747fa39
4 changed files with 16 additions and 6 deletions

View File

@ -101,7 +101,7 @@ else
$head = member_stats_prepare_head($adh); $head = member_stats_prepare_head($adh);
dol_fiche_head($head, 'statsbyproperties', $langs->trans("Statistics"), 0, 'user'); dol_fiche_head($head, 'statsbyproperties', $langs->trans("Statistics"), -1, 'user');
// Print title // Print title

View File

@ -198,7 +198,7 @@ if ($mode)
$head = member_stats_prepare_head($adh); $head = member_stats_prepare_head($adh);
dol_fiche_head($head, $tab, $langs->trans("Statistics"), 0, 'user'); dol_fiche_head($head, $tab, $langs->trans("Statistics"), -1, 'user');
// Print title // Print title

View File

@ -211,6 +211,14 @@ while ($i < min($num,$limit))
$i++; $i++;
} }
// If no record found
if ($num == 0)
{
$colspan=8;
//foreach($arrayfields as $key => $val) { if (! empty($val['checked'])) $colspan++; }
print '<tr><td colspan="'.$colspan.'" class="opacitymedium">'.$langs->trans("NoRecordFound").'</td></tr>';
}
print '</table>'."\n"; print '</table>'."\n";
print '</div>'; print '</div>';
print '</form>'; print '</form>';

View File

@ -311,7 +311,9 @@ if ($ret)
} }
else else
{ {
print '<tr><td class="opacitymedium">'.$langs->trans('NoResourceInDatabase').'</td></tr>'; $colspan=1;
foreach($arrayfields as $key => $val) { if (! empty($val['checked'])) $colspan++; }
print '<tr><td colspan="'.$colspan.'" class="opacitymedium">'.$langs->trans("NoRecordFound").'</td></tr>';
} }
print '</table>'; print '</table>';