3 [% IF MESSAGE %]<p>[% MESSAGE %]</p>[% END %]
5 <div class="listtop">[% title %]</div>
7 <form method="post" action="amcvar.pl">
8 <input type="hidden" name="action" value="dispatcher">
9 <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
12 Custom variables for module
13 [%- INCLUDE generic/multibox.html
16 label_key = 'description',
18 <input type="submit" class="submit" name="action_list_cvar_configs" value="Show">
24 <td class="listheading" width="0%"></td>
25 <td class="listheading" width="0%"></td>
26 <td class="listheading" width="20%">Name</td>
27 <td class="listheading" width="20%">Description</td>
28 <td class="listheading" width="20%">Type</td>
29 <td class="listheading" width="20%">Searchable</td>
30 <td class="listheading" width="20%">Includeable in reports</td>
31 [%- IF module == 'IC' %]
32 <td class="listheading" width="20%">Editable</td>
36 [%- FOREACH cfg = CONFIGS %]
37 <tr class="listrow[% loop.count % 2 %]">
39 [%- IF cfg.previous_id %]
40 <a href="amcvar.pl?action=swap_cvar_configs&module=[% HTML.url(module) %]&id1=[% HTML.url(cfg.previous_id) %]&id2=[% HTML.url(cfg.id) %]">
41 <img border="0" src="image/up.png"></a>
47 <a href="amcvar.pl?action=swap_cvar_configs&module=[% HTML.url(module) %]&id1=[% HTML.url(cfg.next_id) %]&id2=[% HTML.url(cfg.id) %]">
48 <img border="0" src="image/down.png"></a>
53 <a href="amcvar.pl?action=edit_cvar_config&module=[% HTML.url(module) %]&id=[% HTML.url(cfg.id) %]&callback=[% HTML.url(callback) %]">
54 [% HTML.escape(cfg.name) %]
58 <td>[% HTML.escape(cfg.description) %]</td>
59 <td>[% HTML.escape(cfg.type_tr) %]</td>
62 [%- IF cfg.searchable %]
70 [%- IF cfg.included_by_default %]
71 Yes, included by default
72 [%- ELSIF cfg.includeable %]
79 [%- IF module == 'IC' %]
81 [%- IF cfg.flag_editable %]
96 <input type="submit" class="submit" name="action_add_cvar_config" value="Add">