aboutsummaryrefslogtreecommitdiffstats
path: root/include/datetime.php
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2015-11-28 16:26:24 +0100
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2015-11-28 16:26:24 +0100
commit17907f11a350536bbcac248e6b81b63eecee964d (patch)
tree93f8413b78c6fb12fde059ecc8f8831e9996731a /include/datetime.php
parentcb7df797e1d5a87ff8b6dbb6c07faf68e3e725f7 (diff)
parent122d7281f7d4b55ef8adf8791bdab51b4b797ba8 (diff)
downloadvolse-hubzilla-17907f11a350536bbcac248e6b81b63eecee964d.tar.gz
volse-hubzilla-17907f11a350536bbcac248e6b81b63eecee964d.tar.bz2
volse-hubzilla-17907f11a350536bbcac248e6b81b63eecee964d.zip
Merge remote-tracking branch 'upstream/master'
Conflicts: include/datetime.php include/text.php mod/events.php version.inc view/css/mod_events.css view/theme/redbasic/css/style.css view/tpl/event_head.tpl view/tpl/events-js.tpl view/tpl/jot.tpl
Diffstat (limited to 'include/datetime.php')
-rw-r--r--include/datetime.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/datetime.php b/include/datetime.php
index f7df70a36..952151a00 100644
--- a/include/datetime.php
+++ b/include/datetime.php
@@ -235,7 +235,11 @@ function datetimesel($format, $min, $max, $default, $label, $id = 'datetimepicke
$o .= replace_macros($tpl,array(
'$field' => array($id, $label, $input_text, (($required) ? t('Required') : ''), (($required) ? '*' : ''), 'placeholder="' . $readable_format . '"'),
));
+<<<<<<< HEAD
$o .= "<script>\$(function () {var picker = \$('#id_$id').datetimepicker({step:5,format:'$dateformat' $minjs $maxjs $pickers $defaultdatejs,dayOfWeekStart:$first_day}); $extra_js})</script>";
+=======
+ $o .= "<script>\$(function () {var picker = \$('#id_$id').datetimepicker({step:15,format:'$dateformat' $minjs $maxjs $pickers $defaultdatejs,dayOfWeekStart:$first_day}); $extra_js})</script>";
+>>>>>>> upstream/master
return $o;
}