Revision 88470b76
Von Sven Schöling vor etwa 13 Jahren hinzugefügt
templates/webpages/amcvar/render_inputs.html | ||
---|---|---|
19 | 19 |
<textarea name="[% var_name %]" cols="[% HTML.escape(var.width) %]" rows="[% HTML.escape(var.height) %]">[% HTML.escape(var.value) %]</textarea> |
20 | 20 |
|
21 | 21 |
[%- ELSIF var.type == 'date' %] |
22 |
<input name="[% var_name %]" id="[% var_name %]" size="12" value="[% HTML.escape(var.value) %]"> |
|
23 |
<input name="[% var_name %]_button" id="[% var_name %]_trigger" type="button" value="?"> |
|
24 |
|
|
25 |
<script type="text/javascript"> |
|
26 |
<!-- |
|
27 |
Calendar.setup({ inputField : "[% var_name %]", |
|
28 |
ifFormat : "[% myconfig_jsc_dateformat %]", |
|
29 |
align : "BR", |
|
30 |
button : "[% var_name %]_trigger" }); |
|
31 |
--> |
|
32 |
</script> |
|
22 |
[% L.date_tag(var_name, var.value) %] |
|
33 | 23 |
|
34 | 24 |
[%- ELSIF var.type == 'timestamp' %] |
35 | 25 |
<input name="[% var_name %]" value="[% HTML.escape(var.value) %]"> |
Auch abrufbar als: Unified diff
date cvar mit date_tag anzeigen