Fix: entrée du menu adhérent mal gérée

This commit is contained in:
Laurent Destailleur 2004-09-18 17:44:25 +00:00
parent 5646f75ae2
commit 82cd978e8e

View File

@ -56,9 +56,12 @@ if ($conf->adherent->enabled)
{ {
$class='class="tmenu" id="sel"'; $class='class="tmenu" id="sel"';
} }
print '<td class="'.$class.'" width="'.$widthtd.'%" align=center>'; else
print '<a class="'.$class.'" href="'.DOL_URL_ROOT.'/adherents/index.php"'.($target?" target=$target":"").'>'.$langs->trans("Members").'</a>'; {
print '</td>'; $class = 'class="tmenu"';
}
print '<a '.$class.' href="'.DOL_URL_ROOT.'/adherents/index.php"'.($target?" target=$target":"").'>'.$langs->trans("Members").'</a>';
} }
if ($conf->compta->enabled || $conf->banque->enabled || $conf->caisse->enabled) if ($conf->compta->enabled || $conf->banque->enabled || $conf->caisse->enabled)