|
@@ -181,8 +181,10 @@ if (! empty($conf->categorie->enabled) && ! empty($conf->global->CATEGORY_GRAPHS
|
|
|
{
|
|
|
require_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php';
|
|
|
$elementtype = 'societe';
|
|
|
+
|
|
|
print '<br>';
|
|
|
- print '<table class="noborder" width="100%">';
|
|
|
+
|
|
|
+ print '<table class="noborder nohover" width="100%">';
|
|
|
print '<tr class="liste_titre"><th colspan="2">'.$langs->trans("Categories").'</th></tr>';
|
|
|
print '<tr '.$bc[0].'><td align="center" colspan="2">';
|
|
|
$sql = "SELECT c.label, count(*) as nb";
|
|
@@ -226,7 +228,7 @@ if (! empty($conf->categorie->enabled) && ! empty($conf->global->CATEGORY_GRAPHS
|
|
|
{
|
|
|
$obj = $db->fetch_object($result);
|
|
|
$var=!$var;
|
|
|
- print '<tr $bc[$var]><td>'.$obj->label.'</td><td>'.$obj->nb.'</td></tr>';
|
|
|
+ print '<tr '.$bc[$var].'><td>'.$obj->label.'</td><td>'.$obj->nb.'</td></tr>';
|
|
|
$total+=$obj->nb;
|
|
|
$i++;
|
|
|
}
|