|
@@ -194,7 +194,7 @@ else {
|
|
|
echo " ".$text['label-time_start']."\n";
|
|
|
echo "</td>\n";
|
|
|
echo "<td width='70%' class='vtable' style='position: relative;' align='left'>\n";
|
|
|
- echo " <input class='formfld datetimesecondspicker' type='text' name='time_start' id='time_start' style='min-width: 135px; width: 135px;' value='".escape($time_start)."'>\n";
|
|
|
+ echo " <input class='formfld datetimesecpicker' data-toggle='datetimepicker' data-target='#time_start' type='text' name='time_start' id='time_start' style='min-width: 135px; width: 135px;' value='".$time_start."' onblur=\"$(this).datetimepicker('hide');\">\n";
|
|
|
echo "</td>\n";
|
|
|
echo "</tr>\n";
|
|
|
|
|
@@ -203,7 +203,7 @@ else {
|
|
|
echo " ".$text['label-time_stop']."\n";
|
|
|
echo "</td>\n";
|
|
|
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
|
|
- echo " <input class='formfld datetimesecondspicker' type='text' name='time_stop' id='time_stop' style='min-width: 135px; width: 135px;' value='".escape($time_stop)."'>\n";
|
|
|
+ echo " <input class='formfld datetimesecpicker' data-toggle='datetimepicker' data-target='#time_stop' type='text' name='time_stop' id='time_stop' style='min-width: 135px; width: 135px;' value='".$time_stop."' onblur=\"$(this).datetimepicker('hide');\">\n";
|
|
|
echo "</td>\n";
|
|
|
echo "</tr>\n";
|
|
|
|
|
@@ -230,17 +230,7 @@ else {
|
|
|
echo "<br><br>";
|
|
|
echo "</form>";
|
|
|
|
|
|
- //apply bootstrap-datetimepicker WITH seconds
|
|
|
- echo "<script language='JavaScript' type='text/javascript'>";
|
|
|
- echo " $(document).ready(function() {\n";
|
|
|
- echo " $(function() {\n";
|
|
|
- echo " $('.datetimepicker').datetimepicker({\n";
|
|
|
- echo " format: 'YYYY-MM-DD HH:mm:ss',\n";
|
|
|
- echo " });\n";
|
|
|
- echo " });\n";
|
|
|
- echo " });\n";
|
|
|
- echo "</script>\n";
|
|
|
-
|
|
|
//include the footer
|
|
|
require_once "resources/footer.php";
|
|
|
-?>
|
|
|
+
|
|
|
+?>
|