From 17a25ed4a182cb257d4f2a897af94ab154985b73 Mon Sep 17 00:00:00 2001 From: Maxime Kohlhaas Date: Fri, 26 Jun 2015 17:00:24 +0200 Subject: [PATCH] Add date option to the formconfirm formquestion --- htdocs/core/class/html.form.class.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 331352812ca..24304aed904 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -3167,6 +3167,13 @@ class Form $i++; } } + else if ($input['type'] == 'date') + { + $more.=''.$input['label'].''; + $more.=''; + $more.=$this->select_date($input['value'],$input['name'],0,0,0,'',1,0,1); + $more.=''."\n"; + } else if ($input['type'] == 'other') { $more.='';