Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 81791052

Von Hans P. Schlaepfer vor fast 4 Jahren hinzugefügt

  • ID 81791052c005ee5a73092f3ae84c0c6177384ee2
  • Vorgänger f393022c
  • Nachfolger d8db5ea9

USE-Einleitungen formatiert templates/webpages/amcvar/

Unterschiede anzeigen:

templates/webpages/amcvar/render_checkboxes.html
1
[%- USE HTML %]
2
[%- SET var_valid = HTML.escape(name_prefix) _ "cvar_" _ HTML.escape(var.name) _ HTML.escape(name_postfix) _ '_valid' -%]
3 1
[%- IF var.partsgroup_filtered %]
4 2
<input type="hidden" name="[% var_valid %]" value="[% HTML.escape(var.valid) %]">
5 3
[%- ELSE %]
6 4
<input type=checkbox name='[% var_valid %]'[% IF var.valid %] checked[% END %]>
7 5
[%- END %]
6
[% USE HTML %]
templates/webpages/amcvar/render_inputs.html
1
[%- USE T8 %]
2
[%- USE HTML %]
3
[%- USE L %]
4
[%- USE P %]
1
[% USE T8 %]
2
[% USE HTML %]
3
[% USE L %]
4
[% USE P %]
5 5

  
6 6
[%- SET var_name = HTML.escape(name_prefix) _ "cvar_" _ HTML.escape(var.name) _ HTML.escape(name_postfix) -%]
7 7

  
templates/webpages/amcvar/render_inputs_block.html
1
[%- USE T8 %]
2
[%- USE HTML %]
3
[%- USE L %]
4
[%- USE P %]
5
[%- USE LxERP %][%- USE P -%]
6
[%- BLOCK cvar_inputs %]
7 1
[%- SET render_cvar_tag_options = {};
8 2
    render_cvar_tag_options.import(cvar_tag_options) IF cvar_tag_options;
9 3
    SET cvar_tag_name = HTML.escape(cvar.name_prefix) _ "cvar_" _ HTML.escape(cvar.var.name) _ HTML.escape(cvar.name_postfix);
......
11 5
      SET render_cvar_tag_options.no_id = 1;
12 6
    END;
13 7
%]
8
[% USE T8 %]
9
[% USE HTML %]
10
[% USE L %]
11
[% USE P %]
12
[% USE LxERP %]
13
[% USE P %]
14 14

  
15 15
[%- IF (!cvar.hide_non_editable || cvar.var.flag_editable) && !cvar.partsgroup_filtered %]
16 16

  
templates/webpages/amcvar/search_filter.html
1
[%- USE T8 %]
2
[%- USE L %]
1
[% USE T8 %]
2
[% USE L %]
3 3
[% USE HTML %]
4 4

  
5 5
   [%- FOREACH var = variables %]

Auch abrufbar als: Unified diff