mirror of https://github.com/avecms/AVE.cms.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
603 B
14 lines
603 B
8 years ago
|
<script type="text/javascript">
|
||
|
$(document).ready(function(){ldelim}
|
||
|
$('#field{$field_id}_{$doc_id}').datetimepicker({ldelim}
|
||
|
dateFormat: "dd-mm-yy",
|
||
|
{rdelim});
|
||
|
{rdelim});
|
||
|
</script>
|
||
|
|
||
|
<input id="feld_{$field_id}_{$doc_id}" name="feld[{$field_id}]" value="{$field_value}" type="hidden">
|
||
|
|
||
|
<input id="field{$field_id}_{$doc_id}" type="text" name="field[{$field_id}]" value="{$field_value|date_format:'%d-%m-%Y %H:%M'}" style="width: 250px;" onchange="
|
||
|
$('#feld_{$field_id}_{$doc_id}').val('');
|
||
|
$('#feld_{$field_id}_{$doc_id}').val($('#field{$field_id}_{$doc_id}').datetimepicker('getDate')/1000);
|
||
|
">
|