Revision c66e4f15
Von Hans Peter Schlaepfer vor mehr als 5 Jahren hinzugefügt
templates/webpages/generictranslations/edit_greetings.html | ||
---|---|---|
1 |
[%- USE T8 %]
|
|
2 |
[%- USE HTML %]
|
|
1 |
[% USE T8 %] |
|
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 --> |
Auch abrufbar als: Unified diff
Neues kivitendo Design Aenderungen in templates/webpages/generic*
Dateien in generic/* und generictranslations/*