Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 6e5ea979

Von Moritz Bunkus vor fast 17 Jahren hinzugefügt

  • ID 6e5ea979b62b5137ab35ae18d3579bf6619db15d
  • Vorgänger 13a8363e
  • Nachfolger 47eb3e45

HTML-Code aufgeräumt, Attribute gequotet, HTML-Sonderzeichen in Werten escapet.

Unterschiede anzeigen:

templates/webpages/admin/edit_group_membership_de.html
8 8

  
9 9
  <p>
10 10
   <table border="0">
11
    [% SET row_is_odd = '1' %][% USE users_it = Iterator(USERS) %][% FOREACH user = users_it %]
11
    [% FOREACH user = USERS %]
12 12

  
13 13
    [% IF user.repeat_headings %]
14 14
    <tr>
......
19 19
    </tr>
20 20
    [% END %]
21 21

  
22
    <tr class="listrow[% IF row_is_odd %]1[% SET row_is_odd = '0' %][% ELSE %]0[% SET row_is_odd = '1' %][% END %]">
22
    <tr class="listrow[% loop.count % 2 %]">
23 23
     <td valign="center">[% HTML.escape(user.login) %]</td>
24 24
     <td valign="center">[% HTML.escape(user.name) %]</td>
25 25
     [% FOREACH group = user.GROUPS %]
templates/webpages/admin/edit_group_membership_master.html
9 9

  
10 10
  <p>
11 11
   <table border="0">
12
    [% SET row_is_odd = '1' %][% USE users_it = Iterator(USERS) %][% FOREACH user = users_it %]
12
    [% FOREACH user = USERS %]
13 13

  
14 14
    [% IF user.repeat_headings %]
15 15
    <tr>
......
20 20
    </tr>
21 21
    [% END %]
22 22

  
23
    <tr class="listrow[% IF row_is_odd %]1[% SET row_is_odd = '0' %][% ELSE %]0[% SET row_is_odd = '1' %][% END %]">
23
    <tr class="listrow[% loop.count % 2 %]">
24 24
     <td valign="center">[% HTML.escape(user.login) %]</td>
25 25
     <td valign="center">[% HTML.escape(user.name) %]</td>
26 26
     [% FOREACH group = user.GROUPS %]
templates/webpages/admin/edit_user_de.html
245 245
   </tr>
246 246

  
247 247
   <tr>
248
    <td colspan="2">[% USE GROUPS_it = Iterator(GROUPS) %][% FOREACH row = GROUPS_it %]<a href="admin.pl?action=edit_group&group_id=[% HTML.url(row.id) %]">[% HTML.escape(row.name) %]</a>
249
     [% UNLESS GROUPS_it.last %] | [% END %][% END %]</td>
248
    <td colspan="2">[% FOREACH row = GROUPS %]<a href="admin.pl?action=edit_group&group_id=[% HTML.url(row.id) %]">[% HTML.escape(row.name) %]</a>
249
     [% UNLESS loop.last %] | [% END %][% END %]</td>
250 250
   </tr>
251 251
   [% END %]
252 252

  
templates/webpages/admin/edit_user_master.html
245 245
   </tr>
246 246

  
247 247
   <tr>
248
    <td colspan="2">[% USE GROUPS_it = Iterator(GROUPS) %][% FOREACH row = GROUPS_it %]<a href="admin.pl?action=edit_group&group_id=[% HTML.url(row.id) %]">[% HTML.escape(row.name) %]</a>
249
     [% UNLESS GROUPS_it.last %] | [% END %][% END %]</td>
248
    <td colspan="2">[% FOREACH row = GROUPS %]<a href="admin.pl?action=edit_group&group_id=[% HTML.url(row.id) %]">[% HTML.escape(row.name) %]</a>
249
     [% UNLESS loop.last %] | [% END %][% END %]</td>
250 250
   </tr>
251 251
   [% END %]
252 252

  
templates/webpages/admin/list_users_de.html
16 16
     <th class="listtop">Vorlagen</th>
17 17
    </tr>
18 18

  
19
    [% SET row_odd = '1' %]
20 19
    [% FOREACH row = MEMBERS %]
21
     <tr class="listrow[% IF row_odd %]1[% SET row_odd = '0' %][% ELSE %]0[% SET row_odd = '1' %][% END %]">
20
     <tr class="listrow[% loop.count % 2 %]">
22 21
      <td><a href="admin.pl?action=edit&login=[% HTML.url(row.login) %]">[% HTML.escape(row.login) %]</a></td>
23 22
      <td>[% HTML.escape(row.name) %]</td>
24 23
      <td>[% HTML.escape(row.company) %]</td>
templates/webpages/admin/list_users_master.html
16 16
     <th class="listtop"><translate>Templates</translate></th>
17 17
    </tr>
18 18

  
19
    [% SET row_odd = '1' %]
20 19
    [% FOREACH row = MEMBERS %]
21
     <tr class="listrow[% IF row_odd %]1[% SET row_odd = '0' %][% ELSE %]0[% SET row_odd = '1' %][% END %]">
20
     <tr class="listrow[% loop.count % 2 %]">
22 21
      <td><a href="admin.pl?action=edit&login=[% HTML.url(row.login) %]">[% HTML.escape(row.login) %]</a></td>
23 22
      <td>[% HTML.escape(row.name) %]</td>
24 23
      <td>[% HTML.escape(row.company) %]</td>
templates/webpages/admin/update_dataset_de.html
21 21
     <th class="listtop">Benutzer</th>
22 22
    </tr>
23 23

  
24
    [% SET odd = '1' %][% USE NEED_UPDATES_it = Iterator(NEED_UPDATES) %][% FOREACH row = NEED_UPDATES_it %]
25
     <tr class="listrow[% IF odd %]1[% SET odd='0' %][% ELSE %]0[% SET odd = '1' %][% END %]">
26
      <td><input type="checkbox" name="update_[% NEED_UPDATES_it.count %]" id="update_[% NEED_UPDATES_it.count %]" value="1" checked></td>
24
    [% FOREACH row = NEED_UPDATES %]
25
     <tr class="listrow[% loop.count % 2 %]">
26
      <td><input type="checkbox" name="update_[% loop.count %]" id="update_[% loop.count %]" value="1" checked></td>
27 27
      <td>
28
       <input type="hidden" name="dbname_[% NEED_UPDATES_it.count %]" value="[% HTML.escape(row.dbname) %]">
29
       <label for="update_[% NEED_UPDATES_it.count %]">[% HTML.escape(row.dbname) %]</label>
28
       <input type="hidden" name="dbname_[% loop.count %]" value="[% HTML.escape(row.dbname) %]">
29
       <label for="update_[% loop.count %]">[% HTML.escape(row.dbname) %]</label>
30 30
      </td>
31
      <td><input type="hidden" name="dbdriver_[% NEED_UPDATES_it.count %]" value="Pg">PostgreSQL</td>
32
      <td><input type="hidden" name="dbhost_[% NEED_UPDATES_it.count %]" value="[% HTML.escape(row.dbhost) %]">[% HTML.escape(row.dbhost) %]</td>
33
      <td><input type="hidden" name="dbport_[% NEED_UPDATES_it.count %]" value="[% HTML.escape(row.dbport) %]">[% HTML.escape(row.dbport) %]</td>
34
      <td><input type="hidden" name="dbuser_[% NEED_UPDATES_it.count %]" value="[% HTML.escape(row.dbuser) %]">[% HTML.escape(row.dbuser) %]</td>
31
      <td><input type="hidden" name="dbdriver_[% loop.count %]" value="Pg">PostgreSQL</td>
32
      <td><input type="hidden" name="dbhost_[% loop.count %]" value="[% HTML.escape(row.dbhost) %]">[% HTML.escape(row.dbhost) %]</td>
33
      <td><input type="hidden" name="dbport_[% loop.count %]" value="[% HTML.escape(row.dbport) %]">[% HTML.escape(row.dbport) %]</td>
34
      <td><input type="hidden" name="dbuser_[% loop.count %]" value="[% HTML.escape(row.dbuser) %]">[% HTML.escape(row.dbuser) %]</td>
35 35
     </tr>
36 36

  
37
     [% IF NEED_UPDATES_it.last %]
38
      <input type="hidden" name="rowcount" value="[% NEED_UPDATES_it.size %]">
39
     [% END %]
40 37
    [% END %]
41 38
   </table>
42 39

  
40
   <input type="hidden" name="rowcount" value="[% NEED_UPDATES.size %]">
41

  
43 42
   <input name="callback" type="hidden" value="admin.pl?action=list_users">
44 43
   <input type="hidden" name="nextsub" value="dbupdate">
45 44

  
templates/webpages/admin/update_dataset_master.html
21 21
     <th class="listtop"><translate>User</translate></th>
22 22
    </tr>
23 23

  
24
    [% SET odd = '1' %][% USE NEED_UPDATES_it = Iterator(NEED_UPDATES) %][% FOREACH row = NEED_UPDATES_it %]
25
     <tr class="listrow[% IF odd %]1[% SET odd='0' %][% ELSE %]0[% SET odd = '1' %][% END %]">
26
      <td><input type="checkbox" name="update_[% NEED_UPDATES_it.count %]" id="update_[% NEED_UPDATES_it.count %]" value="1" checked></td>
24
    [% FOREACH row = NEED_UPDATES %]
25
     <tr class="listrow[% loop.count % 2 %]">
26
      <td><input type="checkbox" name="update_[% loop.count %]" id="update_[% loop.count %]" value="1" checked></td>
27 27
      <td>
28
       <input type="hidden" name="dbname_[% NEED_UPDATES_it.count %]" value="[% HTML.escape(row.dbname) %]">
29
       <label for="update_[% NEED_UPDATES_it.count %]">[% HTML.escape(row.dbname) %]</label>
28
       <input type="hidden" name="dbname_[% loop.count %]" value="[% HTML.escape(row.dbname) %]">
29
       <label for="update_[% loop.count %]">[% HTML.escape(row.dbname) %]</label>
30 30
      </td>
31
      <td><input type="hidden" name="dbdriver_[% NEED_UPDATES_it.count %]" value="Pg">PostgreSQL</td>
32
      <td><input type="hidden" name="dbhost_[% NEED_UPDATES_it.count %]" value="[% HTML.escape(row.dbhost) %]">[% HTML.escape(row.dbhost) %]</td>
33
      <td><input type="hidden" name="dbport_[% NEED_UPDATES_it.count %]" value="[% HTML.escape(row.dbport) %]">[% HTML.escape(row.dbport) %]</td>
34
      <td><input type="hidden" name="dbuser_[% NEED_UPDATES_it.count %]" value="[% HTML.escape(row.dbuser) %]">[% HTML.escape(row.dbuser) %]</td>
31
      <td><input type="hidden" name="dbdriver_[% loop.count %]" value="Pg">PostgreSQL</td>
32
      <td><input type="hidden" name="dbhost_[% loop.count %]" value="[% HTML.escape(row.dbhost) %]">[% HTML.escape(row.dbhost) %]</td>
33
      <td><input type="hidden" name="dbport_[% loop.count %]" value="[% HTML.escape(row.dbport) %]">[% HTML.escape(row.dbport) %]</td>
34
      <td><input type="hidden" name="dbuser_[% loop.count %]" value="[% HTML.escape(row.dbuser) %]">[% HTML.escape(row.dbuser) %]</td>
35 35
     </tr>
36 36

  
37
     [% IF NEED_UPDATES_it.last %]
38
      <input type="hidden" name="rowcount" value="[% NEED_UPDATES_it.size %]">
39
     [% END %]
40 37
    [% END %]
41 38
   </table>
42 39

  
40
   <input type="hidden" name="rowcount" value="[% NEED_UPDATES.size %]">
41

  
43 42
   <input name="callback" type="hidden" value="admin.pl?action=list_users">
44 43
   <input type="hidden" name="nextsub" value="dbupdate">
45 44

  
templates/webpages/admin/user_migration_done_de.html
6 6

  
7 7
  <p>Die folgenden Benutzer wurden in die Authentifizierungsdatenbank migriert:</p>
8 8

  
9
  <p>[% FOREACH row = MEMBERS %][% row.login %] [% END %]</p>
9
  <p>[% FOREACH row = MEMBERS %][% HTML.escape(row.login) %] [% END %]</p>
10 10

  
11 11
  <input type="hidden" name="nextsub" value="create_standard_group_ask">
12 12

  
templates/webpages/admin/user_migration_done_master.html
7 7
  <p><translate>The following users have been migrated into the
8 8
    authentication database:</translate></p>
9 9

  
10
  <p>[% FOREACH row = MEMBERS %][% row.login %] [% END %]</p>
10
  <p>[% FOREACH row = MEMBERS %][% HTML.escape(row.login) %] [% END %]</p>
11 11

  
12 12
  <input type="hidden" name="nextsub" value="create_standard_group_ask">
13 13

  

Auch abrufbar als: Unified diff