Make it possible to select hours and minutes in form_confirm

This commit is contained in:
David Pareja Rodriguez 2023-02-23 15:14:12 +01:00
parent c2b9f05fe8
commit ca82aec88d

View File

@ -4843,7 +4843,9 @@ class Form
$more .= '<div class="tagtr"><div class="tagtd'.(empty($input['tdclass']) ? '' : (' '.$input['tdclass'])).'">'.$input['label'].'</div>';
$more .= '<div class="tagtd">';
$addnowlink = (empty($input['datenow']) ? 0 : 1);
$more .= $this->selectDate($input['value'], $input['name'], 0, 0, 0, '', 1, $addnowlink);
$h = $input['hours'] ?: 0;
$m = $input['minutes'] ?: 0;
$more .= $this->selectDate($input['value'], $input['name'], $h, $m, 0, '', 1, $addnowlink);
$more .= '</div></div>'."\n";
$formquestion[] = array('name'=>$input['name'].'day');
$formquestion[] = array('name'=>$input['name'].'month');