Fix: Hide not stable feature

This commit is contained in:
Laurent Destailleur 2011-05-09 22:33:50 +00:00
parent 1817a045ac
commit 8b5a19a2fa

View File

@ -312,11 +312,13 @@ function agenda_prepare_head()
$head[$h][2] = 'xcal'; $head[$h][2] = 'xcal';
$h++; $h++;
$head[$h][0] = DOL_URL_ROOT."/admin/agenda_extsites.php"; if ($conf->global->MAIN_FEATURES_LEVEL >= 2) // In dev version only for the moment
$head[$h][1] = $langs->trans("ExtSites"); {
$head[$h][2] = 'extsites'; $head[$h][0] = DOL_URL_ROOT."/admin/agenda_extsites.php";
$h++; $head[$h][1] = $langs->trans("ExtSites");
$head[$h][2] = 'extsites';
$h++;
}
return $head; return $head;
} }