diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index 3fb0c78f669..eabad51f829 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -73,7 +73,7 @@ class Form { } - Function select_date($set_time='', $h = 0, $m = 0) + Function select_date($set_time='', $prefix='re', $h = 0, $m = 0) { if (! $set_time) { @@ -101,7 +101,7 @@ class Form { $shour = date("H", $set_time); $smin = date("i", $set_time); - print "'; for ($day = 1 ; $day < $sday + 32 ; $day++) { @@ -118,7 +118,7 @@ class Form { print ""; - print "'; for ($month = $smonth ; $month < $smonth + 12 ; $month++) { if ($month == $cmonth) @@ -132,7 +132,7 @@ class Form { } print ""; - print ''; for ($year = $syear - 2; $year < $syear + 5 ; $year++) { @@ -149,7 +149,7 @@ class Form { if ($h) { - print ''; for ($hour = 0; $hour < 24 ; $hour++) { @@ -170,7 +170,7 @@ class Form { if ($m) { - print ''; for ($min = 0; $min < 60 ; $min++) {