mirror of
https://github.com/friendica/friendica
synced 2025-04-24 13:10:11 +00:00
frio - event - code clean up + docu
This commit is contained in:
parent
606f42701c
commit
4313982e02
4 changed files with 22 additions and 159 deletions
|
@ -298,8 +298,7 @@ function datetimesel($format, $min, $max, $default, $label, $id = 'datetimepicke
|
|||
$o .= replace_macros($tpl,array(
|
||||
'$field' => array($id, $label, $input_text, '', (($required) ? '*' : ''), 'placeholder="' . $readable_format . '"'),
|
||||
));
|
||||
// $o .= "<div class='date'><input type='text' placeholder='$readable_format' name='$id' id='$id' $input_text />";
|
||||
// $o .= '</div>';
|
||||
|
||||
$o .= "<script type='text/javascript'>";
|
||||
$o .= "\$(function () {var picker = \$('#id_$id').datetimepicker({step:5,format:'$dateformat' $minjs $maxjs $pickers $defaultdatejs}); $extra_js})";
|
||||
$o .= "</script>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue