Revision 5267fd4e
Von Hans P. Schlaepfer vor fast 4 Jahren hinzugefügt
templates/webpages/generictranslations/edit_email_strings.html | ||
---|---|---|
2 | 2 |
[% USE HTML %] |
3 | 3 |
|
4 | 4 |
<h1>[% HTML.escape(title) %]</h1> |
5 |
[%- IF message %] |
|
6 |
<p> |
|
7 |
[% HTML.escape(message) %] |
|
8 |
</p> |
|
9 |
[%- END %] |
|
10 |
<form method="post" action="generictranslations.pl" id="form"> |
|
11 |
<table> |
|
12 |
[%- FOREACH mail_string IN MAIL_STRINGS.keys.sort %] |
|
13 |
<tr> |
|
14 |
<th class="listheading"> </th> |
|
15 |
<th class="listheading">[% MAIL_STRINGS.$mail_string %]</th> |
|
16 |
</tr> |
|
17 |
|
|
18 |
[%- FOREACH language = LANGUAGES %] |
|
19 |
<tr> |
|
20 |
<td> |
|
21 |
[%- IF language.id == 'default' %] |
|
22 |
[% 'Default (no language selected)' | $T8 %] |
|
23 |
[%- ELSE %] |
|
24 |
[%- HTML.escape(language.description) %] |
|
25 |
[%- END %] |
|
26 |
[%- IF mail_string.search('preset_text_periodic_invoices') %] |
|
27 |
<br /> |
|
28 |
<a href="doc/html/ch03.html#features.periodic-invoices.variables" target="_blank">?</a> |
|
29 |
[%- END %] |
|
30 |
</td> |
|
31 |
<td> |
|
32 |
[%- IF mail_string.search('preset') %] |
|
33 |
<textarea name="translation__[% language.id %]__[% mail_string %]" rows="4" cols="60">[% HTML.escape(language.$mail_string) %]</textarea> |
|
34 |
[%- ELSE %] |
|
35 |
<input name="translation__[% language.id %]__[% mail_string %]" size="40" value="[% HTML.escape(language.$mail_string) %]"> |
|
36 |
[%- END %] |
|
37 |
</td> |
|
38 |
</tr> |
|
39 |
[%- END %] |
|
40 |
[%- END %] |
|
41 |
</table> |
|
42 |
</form> |
|
5 |
|
|
6 |
<div class="wrapper"> |
|
7 |
|
|
8 |
[% IF message %]<p>[% HTML.escape(message) %]</p>[% END %] |
|
9 |
|
|
10 |
<form method="post" action="generictranslations.pl" id="form"> |
|
11 |
|
|
12 |
<div class="long-description">[% 'Default means "if no language selected then..."' | $T8 %]</div> |
|
13 |
|
|
14 |
<table class="tbl-horizontal"> |
|
15 |
<colgroup><col class="wi-small"><col class="wi-wider"></colgroup> |
|
16 |
<tbody> |
|
17 |
[% FOREACH mail_string IN MAIL_STRINGS.keys.sort %] |
|
18 |
<tr> |
|
19 |
<th class="caption" colspan="2">[% MAIL_STRINGS.$mail_string %]</th> |
|
20 |
</tr> |
|
21 |
[% FOREACH language = LANGUAGES %] |
|
22 |
<tr> |
|
23 |
<td> |
|
24 |
[% IF language.id == 'default' %] |
|
25 |
[% 'Default (no language selected)' | $T8 %] |
|
26 |
[% ELSE %] |
|
27 |
[% HTML.escape(language.description) %] |
|
28 |
[% END %] |
|
29 |
</td> |
|
30 |
<td> |
|
31 |
[% IF mail_string.search('preset') %] |
|
32 |
<textarea name="translation__[% language.id %]__[% mail_string %]" rows="4" cols="50" class="wi-wide" style="float:left;">[% HTML.escape(language.$mail_string) %]</textarea> |
|
33 |
[% ELSE %] |
|
34 |
<input name="translation__[% language.id %]__[% mail_string %]" value="[% HTML.escape(language.$mail_string) %]" type="text" class="wi-wide" style="float:left;"> |
|
35 |
[% END %] |
|
36 |
[% IF mail_string.search('preset_text_periodic_invoices') %] |
|
37 |
<a href="doc/html/ch03.html#features.periodic-invoices.variables" target="_blank" class="button wi-tiny neutral tooltipster-html" style="float:left;" title="[% 'Documentation about Variables in a new window/tab' | $T8 %]">?</a> |
|
38 |
[% END %] |
|
39 |
</td> |
|
40 |
</tr> |
|
41 |
[% END %] |
|
42 |
[% END %] |
|
43 |
</tbody> |
|
44 |
</table> |
|
45 |
|
|
46 |
</form> |
|
47 |
|
|
48 |
</div><!-- /.wrapper --> |
templates/webpages/generictranslations/edit_greetings.html | ||
---|---|---|
2 | 2 |
[% USE HTML %] |
3 | 3 |
<h1>[% HTML.escape(title) %]</h1> |
4 | 4 |
|
5 |
[%- IF message %] |
|
6 |
<p> |
|
7 |
[% HTML.escape(message) %] |
|
8 |
</p> |
|
9 |
[%- END %] |
|
5 |
<div class="wrapper"> |
|
10 | 6 |
|
11 |
<form method="post" action="generictranslations.pl" id="form"> |
|
7 |
<!-- UPDATE: Message --> |
|
8 |
[% IF message %] |
|
9 |
<p>[% HTML.escape(message) %]</p> |
|
10 |
[% END %] |
|
12 | 11 |
|
13 |
<table>
|
|
12 |
<form method="post" action="generictranslations.pl" id="form">
|
|
14 | 13 |
|
15 |
<tr> |
|
16 |
<th class="listheading"> </th> |
|
17 |
<th class="listheading">[% 'male' | $T8 %]</th> |
|
18 |
<th class="listheading">[% 'female' | $T8 %]</th> |
|
19 |
</tr> |
|
20 | 14 |
|
21 |
[%- FOREACH language = LANGUAGES %] |
|
22 |
<tr> |
|
23 |
<td> |
|
24 |
[%- IF language.id == 'default' %] |
|
25 |
[% 'Default (no language selected)' | $T8 %] |
|
26 |
[%- ELSE %] |
|
27 |
[%- HTML.escape(language.description) %] |
|
28 |
[%- END %] |
|
29 |
</td> |
|
30 |
<td><input name="translation__[% language.id %]__male" size="40" value="[% HTML.escape(language.male) %]"></td> |
|
31 |
<td><input name="translation__[% language.id %]__female" size="40" value="[% HTML.escape(language.female) %]"></td> |
|
32 |
</tr> |
|
33 |
[%- END %] |
|
15 |
<table class="tbl-list"> |
|
16 |
<thead> |
|
17 |
<tr> |
|
18 |
<th> </th> |
|
19 |
<th>[% 'male' | $T8 %]</th> |
|
20 |
<th>[% 'female' | $T8 %]</th> |
|
21 |
</tr> |
|
22 |
</thead> |
|
23 |
<tbody> |
|
24 |
[% FOREACH language = LANGUAGES %] |
|
25 |
<tr> |
|
26 |
<td>[% IF language.id == 'default' %] [% 'Default (no language selected)' | $T8 %] [% ELSE %] [% HTML.escape(language.description) %] [% END %]</td> |
|
27 |
<td><input name="translation__[% language.id %]__male" value="[% HTML.escape(language.male) %]" class="wi-wide" type="text"></td> |
|
28 |
<td><input name="translation__[% language.id %]__female" value="[% HTML.escape(language.female) %]" class="wi-wide" type="text"> </td> |
|
29 |
</tr> |
|
30 |
[% END %] |
|
31 |
</tbody> |
|
32 |
</table> |
|
34 | 33 |
|
35 |
</table> |
|
36 |
</form> |
|
34 |
</form> |
|
35 |
|
|
36 |
</div><!-- /.wrapper --> |
templates/webpages/generictranslations/edit_sepa_strings.html | ||
---|---|---|
2 | 2 |
[% USE HTML %] |
3 | 3 |
<h1>[% HTML.escape(title) %]</h1> |
4 | 4 |
|
5 |
[%- IF message %] |
|
6 |
<p> |
|
7 |
[% HTML.escape(message) %] |
|
8 |
</p> |
|
9 |
[%- END %] |
|
5 |
<div class="wrapper"> |
|
10 | 6 |
|
11 |
<form method="post" action="generictranslations.pl" id="form"> |
|
7 |
[% IF message %] |
|
8 |
<p>[% HTML.escape(message) %]</p> |
|
9 |
[% END %] |
|
12 | 10 |
|
13 |
<table>
|
|
11 |
<form method="post" action="generictranslations.pl" id="form">
|
|
14 | 12 |
|
15 |
<tr> |
|
16 |
<th class="listheading"> </th> |
|
17 |
<th class="listheading">[% 'Remittance information prefix' | $T8 %]</th> |
|
18 |
</tr> |
|
13 |
<table class="tbl-list width-moderate"> |
|
14 |
<thead> |
|
15 |
<tr> |
|
16 |
<th> </th> |
|
17 |
<th>[% 'Remittance information prefix' | $T8 %]</th> |
|
18 |
<th>[% 'Remittance information optional Vendor/Customer No postfix' | $T8 %]</th> |
|
19 |
</tr> |
|
20 |
</thead> |
|
21 |
<tbody> |
|
22 |
[% FOREACH language = LANGUAGES %] |
|
23 |
<tr> |
|
24 |
<th>[% IF language.id == 'default' %] [% 'Default (no language selected)' | $T8 %] [% ELSE %] [% HTML.escape(language.description) %] [% END %]</th> |
|
25 |
<td><input name="translation__[% language.id %]" value="[% HTML.escape(language.translation) %]" type="text" class="wi-wide"></td> |
|
26 |
<td><input name="translation__[% language.id %]__vc" value="[% HTML.escape(language.translation_vc) %]" type="text" class="wi-wide"></td> |
|
27 |
</tr> |
|
28 |
[% END %] |
|
29 |
</tbody> |
|
30 |
</table> |
|
19 | 31 |
|
20 |
[%- FOREACH language = LANGUAGES %] |
|
21 |
<tr> |
|
22 |
<td> |
|
23 |
[%- IF language.id == 'default' %] |
|
24 |
[% 'Default (no language selected)' | $T8 %] |
|
25 |
[%- ELSE %] |
|
26 |
[%- HTML.escape(language.description) %] |
|
27 |
[%- END %] |
|
28 |
</td> |
|
29 |
<td><input name="translation__[% language.id %]" size="40" value="[% HTML.escape(language.translation) %]"></td> |
|
30 |
</tr> |
|
31 |
[%- END %] |
|
32 |
<tr> |
|
33 |
<th class="listheading"> </th> |
|
34 |
<th class="listheading">[% 'Remittance information optional Vendor/Customer No postfix' | $T8 %]</th> |
|
35 |
</tr> |
|
32 |
</form> |
|
36 | 33 |
|
37 |
[%- FOREACH language = LANGUAGES %] |
|
38 |
<tr> |
|
39 |
<td> |
|
40 |
[%- IF language.id == 'default' %] |
|
41 |
[% 'Default (no language selected)' | $T8 %] |
|
42 |
[%- ELSE %] |
|
43 |
[%- HTML.escape(language.description) %] |
|
44 |
[%- END %] |
|
45 |
</td> |
|
46 |
<td><input name="translation__[% language.id %]__vc" size="40" value="[% HTML.escape(language.translation_vc) %]"></td> |
|
47 |
</tr> |
|
48 |
[%- END %] |
|
49 |
|
|
50 |
</table> |
|
51 |
</form> |
|
34 |
</div> |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/generictranslations/