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

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