1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-29 18:47:54 +01:00

datepicker() debug option added.

This commit is contained in:
Cameron 2016-06-08 19:09:41 -07:00
parent 3dbe6a97b0
commit e08d454a49

View File

@ -1022,7 +1022,9 @@ class e_form
else
{
$text .= "<input class='{$class} input-".$xsize." form-control' type='text' size='{$size}' id='e-datepicker-{$id}' value='{$value}' data-date-unix ='{$useUnix}' data-date-format='{$dformat}' data-date-ampm='{$ampm}' data-date-language='".e_LAN."' data-date-firstday='{$firstDay}' {$required} {$disabled} />";
$text .= "<input type='hidden' name='{$name}' id='{$id}' value='{$value}' />";
$ftype = (!empty($options['debug'])) ? 'text' : 'hidden';
$text .= "<input type='{$ftype}' name='{$name}' id='{$id}' value='{$value}' />";
}
// $text .= "ValueFormat: ".$dateFormat." Value: ".$value;