Revision fc744a42
Von Werner Hahn vor fast 2 Jahren hinzugefügt
templates/design40_webpages/amcvar/render_inputs.html | ||
---|---|---|
19 | 19 |
[% ELSIF var.type == 'textfield' %] |
20 | 20 |
<textarea name="[% var_name %]" cols="[% HTML.escape(var.width) %]" rows="[% HTML.escape(var.height) %]">[% HTML.escape(var.value) %]</textarea> |
21 | 21 |
|
22 |
[%- ELSIF var.type == 'htmlfield' %] |
|
23 |
<textarea name="[% var_name %]" cols="[% HTML.escape(var.width) %]" rows="[% HTML.escape(var.height) %]" class="texteditor">[% HTML.escape(var.value) %]</textarea> |
|
24 |
|
|
22 | 25 |
[% ELSIF var.type == 'date' %] |
23 | 26 |
[% L.date_tag(var_name, var.value) %] |
24 | 27 |
|
templates/design40_webpages/amcvar/render_inputs_block.html | ||
---|---|---|
27 | 27 |
[% ELSIF cvar.var.type == 'textfield' %] |
28 | 28 |
[% render_cvar_tag_options.import(cols=cvar.var.width, rows=cvar.var.height); L.textarea_tag(cvar_tag_name, cvar.value, render_cvar_tag_options) %] |
29 | 29 |
|
30 |
[%- ELSIF cvar.var.type == 'htmlfield' %] |
|
31 |
[% render_cvar_tag_options.import(cols=cvar.var.width, rows=cvar.var.height, class="texteditor"); |
|
32 |
L.textarea_tag(cvar_tag_name, L.restricted_html(cvar.value), render_cvar_tag_options) %] |
|
33 |
|
|
30 | 34 |
[% ELSIF cvar.var.type == 'date' %] |
31 | 35 |
[% L.date_tag(cvar_tag_name, cvar.value, render_cvar_tag_options) %] |
32 | 36 |
|
Auch abrufbar als: Unified diff
Design 4.0 CVARS HTML-Felder richtig rendern