diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php
index 677b55ce9d3..0dbdc07c587 100644
--- a/htdocs/html.form.class.php
+++ b/htdocs/html.form.class.php
@@ -1618,22 +1618,12 @@ class Form
$smin = '';
}
- $conf->use_popup_date=1; // Mettre 1 pour avoir date en popup (experimental)
+ // \todo Externaliser ce parametre dans page config interface
+ $conf->use_popup_date=1;
- /* Commenté par André
+ /*
* Affiche date en popup
*/
- /*
- if ($conf->use_javascript && $conf->use_popup_date)
- {
- $timearray=getDate($set_time);
- $formated_date=dolibarr_print_date($set_time,$conf->format_date_short);
- print ' ';
- print ''."\n";
- print ''."\n";
- print ''."\n";
- }
- */
if ($conf->use_javascript && $conf->use_popup_date && $h==0 && $m==0)
{
@@ -1658,6 +1648,7 @@ class Form
print ''.img_cal().'';
}
+
/*
* Affiche date en select
*/