diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php index 915005cf6..6df85f4c3 100644 --- a/e107_handlers/form_handler.php +++ b/e107_handlers/form_handler.php @@ -1743,8 +1743,11 @@ class e_form $firstDay = vartrue($options['firstDay']) ? $options['firstDay'] : 0; $xsize = (vartrue($options['size']) && !is_numeric($options['size'])) ? $options['size'] : 'xlarge'; $disabled = vartrue($options['disabled']) ? "disabled" : ""; + $placeholder = vartrue($options['placeholder']) ? 'placeholder="'.$options['placeholder'].'"' : ''; $timezone = ''; + + if(!empty($options['timezone'])) // since datetimepicker does not support timezones and assumes the browser timezone is the intended timezone. { date_default_timezone_set($options['timezone']); @@ -1762,7 +1765,7 @@ class e_form } else { - $text .= ""; + $text .= ""; $ftype = (!empty($options['debug'])) ? 'text' : 'hidden'; $text .= ""; }