Use option MAIN_USE_NOTES_IN_DETAILS instead of milestone module

This commit is contained in:
Laurent Destailleur 2010-06-08 08:03:03 +00:00
parent 6064f56055
commit de4419f74a

View File

@ -479,9 +479,12 @@ class Form
if (1 == $selected) print ' selected="true"';
print '>'.$langs->trans("Service");
print '<option value="9"';
if (9 == $selected) print ' selected="true"';
print '>'.$langs->trans("Notes");
if ($conf->global->MAIN_USE_NOTES_IN_DETAILS)
{
print '<option value="9"';
if (9 == $selected) print ' selected="true"';
print '>'.$langs->trans("Notes");
}
print '</select>';
//if ($user->admin) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionnarySetup"),1);