Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision fda64d3f

Von Jan Büren vor mehr als 15 Jahren hinzugefügt

  • ID fda64d3f62aae7dd7aff7c1d3dd4e2773a14c5f3
  • Vorgänger 72626b14
  • Nachfolger 11e2bd11

Die entsprechenden Templates, damit die generic Translations auch editierbar sind

Unterschiede anzeigen:

templates/webpages/generictranslations/edit_greetings_de.html
1
[% USE HTML %]<body>
2

  
3
 <p>
4
  <div class="listtop">[% HTML.escape(title) %]</div>
5
 </p>
6

  
7
 [%- IF message %]
8
 <p>
9
  [% HTML.escape(message) %]
10
 </p>
11
 [%- END %]
12

  
13
 <form method="post" action="generictranslations.pl">
14

  
15
  <table>
16

  
17
   <tr>
18
    <th class="listheading">&nbsp;</th>
19
    <th class="listheading">m&auml;nnlich</th>
20
    <th class="listheading">weiblich</th>
21
   </tr>
22

  
23
   [%- FOREACH language = LANGUAGES %]
24
   <tr>
25
    <td>
26
     [%- IF language.id == 'default' %]
27
     Default (no language selected)
28
     [%- ELSE %]
29
     [%- HTML.escape(language.description) %]
30
     [%- END %]
31
    </td>
32
    <td><input name="translation__[% language.id %]__male" size="40" value="[% HTML.escape(language.male) %]"></td>
33
    <td><input name="translation__[% language.id %]__female" size="40" value="[% HTML.escape(language.female) %]"></td>
34
   </tr>
35
   [%- END %]
36

  
37
  </table>
38

  
39
  <p>
40
   <input type="hidden" name="action" value="save_greetings">
41
   <input type="submit" class="submit" value="Speichern">
42
  </p>
43

  
44
 </form>
45

  
46
</body>
47
</html>
templates/webpages/generictranslations/edit_greetings_master.html
1
[% USE HTML %]<body>
2

  
3
 <p>
4
  <div class="listtop">[% HTML.escape(title) %]</div>
5
 </p>
6

  
7
 [%- IF message %]
8
 <p>
9
  [% HTML.escape(message) %]
10
 </p>
11
 [%- END %]
12

  
13
 <form method="post" action="generictranslations.pl">
14

  
15
  <table>
16

  
17
   <tr>
18
    <th class="listheading">&nbsp;</th>
19
    <th class="listheading"><translate>male</translate></th>
20
    <th class="listheading"><translate>female</translate></th>
21
   </tr>
22

  
23
   [%- FOREACH language = LANGUAGES %]
24
   <tr>
25
    <td>
26
     [%- IF language.id == 'default' %]
27
     <translate>Default (no language selected)</translate>
28
     [%- ELSE %]
29
     [%- HTML.escape(language.description) %]
30
     [%- END %]
31
    </td>
32
    <td><input name="translation__[% language.id %]__male" size="40" value="[% HTML.escape(language.male) %]"></td>
33
    <td><input name="translation__[% language.id %]__female" size="40" value="[% HTML.escape(language.female) %]"></td>
34
   </tr>
35
   [%- END %]
36

  
37
  </table>
38

  
39
  <p>
40
   <input type="hidden" name="action" value="save_greetings">
41
   <input type="submit" class="submit" value="<translate>Save</translate>">
42
  </p>
43

  
44
 </form>
45

  
46
</body>
47
</html>

Auch abrufbar als: Unified diff