Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 3e209ee0

Von Moritz Bunkus vor mehr als 17 Jahren hinzugefügt

  • ID 3e209ee0839af1e8056bb238f423c540a4966dba
  • Vorgänger dcab2b89
  • Nachfolger eaaef7cd

HTML-Vorlagen, die von admin.pl aus verwendet werden, auf die Benutzung des Template-Toolkits umgestellt.

Unterschiede anzeigen:

bin/mozilla/admin.pl
115 115
    qq|Lx-Office ERP $form->{version} | . $locale->text('Administration');
116 116

  
117 117
  $form->header();
118
  print $form->parse_html_template('admin/adminlogin');
118
  print $form->parse_html_template2('admin/adminlogin');
119 119
}
120 120

  
121 121
sub login {
......
155 155
  $form->{MEMBERS} = [ @members{sort { lc $a cmp lc $b } keys %members} ];
156 156

  
157 157
  $form->header();
158
  print $form->parse_html_template("admin/list_users");
158
  print $form->parse_html_template2("admin/list_users");
159 159
}
160 160

  
161 161
sub add_user {
......
313 313
  chop $form->{all_acs};
314 314

  
315 315
  $form->header();
316
  print $form->parse_html_template("admin/edit_user");
316
  print $form->parse_html_template2("admin/edit_user");
317 317
}
318 318

  
319 319
sub save {
......
520 520
    . $locale->text('Change Admin Password');
521 521

  
522 522
  $form->header();
523
  print $form->parse_html_template("admin/change_admin_password");
523
  print $form->parse_html_template2("admin/change_admin_password");
524 524
}
525 525

  
526 526
sub change_password {
......
572 572
  $form->{ALLOW_DBBACKUP} = "$pg_dump_exe" ne "DISABLED";
573 573

  
574 574
  $form->header();
575
  print $form->parse_html_template("admin/dbadmin");
575
  print $form->parse_html_template2("admin/dbadmin");
576 576
}
577 577

  
578 578
sub continue {
......
594 594
  $form->{ALL_UPDATED}  = !scalar @need_updates;
595 595

  
596 596
  $form->header();
597
  print $form->parse_html_template("admin/update_dataset");
597
  print $form->parse_html_template2("admin/update_dataset");
598 598
}
599 599

  
600 600
sub dbupdate {
......
609 609

  
610 610
  $| = 1;
611 611

  
612
  print $form->parse_html_template("admin/dbupgrade_all_header");
612
  print $form->parse_html_template2("admin/dbupgrade_all_header");
613 613

  
614 614
  foreach my $i (@update_rows) {
615 615
    restore_form($saved_form);
......
618 618

  
619 619
    my $controls = parse_dbupdate_controls($form, $form->{dbdriver});
620 620

  
621
    print $form->parse_html_template("admin/dbupgrade_header");
621
    print $form->parse_html_template2("admin/dbupgrade_header");
622 622

  
623 623
    $form->{dbupdate}        = $form->{dbname};
624 624
    $form->{$form->{dbname}} = 1;
......
626 626
    User->dbupdate($form);
627 627
    User->dbupdate2($form, $controls);
628 628

  
629
    print $form->parse_html_template("admin/dbupgrade_footer");
629
    print $form->parse_html_template2("admin/dbupgrade_footer");
630 630
  }
631 631

  
632
  print $form->parse_html_template("admin/dbupgrade_all_done");
632
  print $form->parse_html_template2("admin/dbupgrade_all_done");
633 633
}
634 634

  
635 635
sub create_dataset {
......
663 663
    . $locale->text('Create Dataset');
664 664

  
665 665
  $form->header();
666
  print $form->parse_html_template("admin/create_dataset");
666
  print $form->parse_html_template2("admin/create_dataset");
667 667
}
668 668

  
669 669
sub dbcreate {
......
677 677
    . $locale->text('Create Dataset');
678 678

  
679 679
  $form->header();
680
  print $form->parse_html_template("admin/dbcreate");
680
  print $form->parse_html_template2("admin/dbcreate");
681 681
}
682 682

  
683 683
sub delete_dataset {
......
691 691
  $form->{DBSOURCES} = [ map { { "name", $_ } } sort @dbsources ];
692 692

  
693 693
  $form->header();
694
  print $form->parse_html_template("admin/delete_dataset");
694
  print $form->parse_html_template2("admin/delete_dataset");
695 695
}
696 696

  
697 697
sub dbdelete {
......
707 707
    . $locale->text('Database Administration') . " / "
708 708
    . $locale->text('Delete Dataset');
709 709
  $form->header();
710
  print $form->parse_html_template("admin/dbdelete");
710
  print $form->parse_html_template2("admin/dbdelete");
711 711
}
712 712

  
713 713
sub backup_dataset {
......
729 729
  $form->{from} = "Lx-Office Admin <${username}\@${hostname}>";
730 730

  
731 731
  $form->header();
732
  print $form->parse_html_template("admin/backup_dataset");
732
  print $form->parse_html_template2("admin/backup_dataset");
733 733
}
734 734

  
735 735
sub backup_dataset_start {
......
818 818
      . $locale->text('Backup Dataset');
819 819

  
820 820
    $form->header();
821
    print $form->parse_html_template("admin/backup_dataset_email_done");
821
    print $form->parse_html_template2("admin/backup_dataset_email_done");
822 822
  }
823 823
}
824 824

  
......
844 844
  }
845 845

  
846 846
  $form->header();
847
  print $form->parse_html_template("admin/restore_dataset");
847
  print $form->parse_html_template2("admin/restore_dataset");
848 848
}
849 849

  
850 850
sub restore_dataset_start {
......
956 956
  $AUTOFLUSH = 1;
957 957

  
958 958
  $form->header();
959
  print $form->parse_html_template("admin/restore_dataset_start_header");
959
  print $form->parse_html_template2("admin/restore_dataset_start_header");
960 960

  
961 961
  while (my $line = <$in>) {
962 962
    print $line;
......
964 964
  $in->close();
965 965

  
966 966
  $form->{retval} = $CHILD_ERROR >> 8;
967
  print $form->parse_html_template("admin/restore_dataset_start_footer");
967
  print $form->parse_html_template2("admin/restore_dataset_start_footer");
968 968

  
969 969
  unlink "${tmpdir}/.pgpass", $tmp;
970 970
  rmdir $tmpdir;
locale/de/all
1095 1095
  'The base unit does not exist.' => 'Die Basiseinheit existiert nicht.',
1096 1096
  'The base unit relations must not contain loops (e.g. by saying that unit A\'s base unit is B, B\'s base unit is C and C\'s base unit is A) in row %d.' => 'Die Beziehungen der Einheiten d&uuml;rfen keine Schleifen beinhalten (z.B. wenn gesagt wird, dass Einheit As Basiseinheit B, Bs Basiseinheit C und Cs Basiseinheit A ist) in Zeile %d.',
1097 1097
  'The columns &quot;Dunning Duedate&quot;, &quot;Total Fees&quot; and &quot;Interest&quot; show data for the previous dunning created for this invoice.' => 'Die Spalten &quot;Zahlbar bis&quot;, &quot;Kumulierte Geb&uuml;hren&quot; und &quot;Zinsen&quot; zeigen Daten der letzten f&uuml;r diese Rechnung erzeugten Mahnung.',
1098
  'The database <TMPL_VAR db ESCAPE=HTML> has been successfully deleted.' => 'Die Datenbank <TMPL_VAR db ESCAPE=HTML> wurde erfolgreich gel&ouml;scht.',
1098
  'The database [% HTML.escape(db) %] has been successfully deleted.' => 'Die Datenbank [% HTML.escape(db) %] wurde erfolgreich gel&ouml;scht.',
1099 1099
  'The database update/creation did not succeed. The file <TMPL_VAR file ESCAPE=HTML> contained the following error:' => 'Die Datenbankaktualisierung/erstellung schlug fehl. Die Datei <TMPL_VAR file ESCAPE=HTML> enthielt den folgenden Fehler:',
1100 1100
  'The database upgrade for the introduction of Buchungsgruppen is now complete.' => 'Das Datenbankupgrade f&uuml;r die Einf&uuml;hrung von Buchungsgruppen ist jetzt beendet.',
1101 1101
  'The database upgrade for the introduction of units is now complete.' => 'Das Datenbankupgrade zwecks Einf&uuml;hrung von Einheiten ist nun beendet.',
1102
  'The dataset <TMPL_VAR db ESCAPE=HTML> has been successfully created.' => 'Die Datenbank <TMPL_VAR db ESCAPE=HTML> wurde erfolgreich erstellt.',
1103
  'The dataset backup has been sent via email to <TMPL_VAR to ESCAPE=HTML>.' => 'Die Datenbanksicherung wurde an <TMPL_VAR to ESCAPE=HTML> per Email verschickt.',
1102
  'The dataset [% HTML.escape(db) %] has been successfully created.' => 'Die Datenbank [% HTML.escape(db) %] wurde erfolgreich angelegt.',
1103
  'The dataset backup has been sent via email to [% HTML.escape(to) %].' => 'Die Datenbanksicherung wurde per Email an [% HTML.escape(to) %] verschickt.',
1104 1104
  'The dataset has to exist before a restoration can be started.' => 'Die Datenbank muss vor der Wiederherstellung bereits angelegt worden sein.',
1105 1105
  'The dataset name is missing.' => 'Der Datenbankname fehlt.',
1106 1106
  'The directory %s does not exist.' => 'Das Verzeichnis %s existiert nicht.',
......
1126 1126
  'The pg_dump process could not be started.' => 'Der pg_dump-Prozess konnte nicht gestartet werden.',
1127 1127
  'The pg_restore process could not be started.' => 'Der pg_restore-Prozess konnte nicht gestartet werden.',
1128 1128
  'The preferred one is to install packages provided by your operating system distribution (e.g. Debian or RPM packages).' => 'Die bevorzugte Art, ein Perl-Modul zu installieren, ist durch Installation eines von Ihrem Betriebssystem zur Verf&uuml;gung gestellten Paketes (z.B. Debian-Pakete oder RPM).',
1129
  'The program\'s exit code was <TMPL_VAR retval ESCAPE=HTML> (&quot;0&quot; usually means that everything went OK).' => 'Der Exitcode des Programms war <TMPL_VAR retval ESCAPE=HTML> (&quot;0&quot; bedeutet normalerweise, dass die Wiederherstellung erfolgreich war).',
1129
  'The program\'s exit code was [% HTML.escape(retval) %] (&quot;0&quot; usually means that everything went OK).' => 'Der Exitcode des Programms war [% HTML.escape(retval) %] (&quot;0&quot; bedeutet normalerweise, dass die Wiederherstellung erfolgreich war).',
1130 1130
  'The restoration process has started. Here\'s the output of the &quot;pg_restore&quot; command:' => 'Der Wiederherstellungsprozess wurde gestartet. Hier ist die Ausgabe des &quot;pg_restore&quot;-Programmes:',
1131 1131
  'The restoration process is complete. Please review &quot;pg_restore&quot;\'s output to find out if the restoration was successful.' => 'Die Wiederherstellung ist abgeschlossen. Bitte sehen Sie sich die Ausgabe von &quot;pg_restore&quot; an, um festzustellen, ob die Wiederherstellung erfolgreich war.',
1132 1132
  'The second way is to use Perl\'s CPAN module and let it download and install the module for you.' => 'Die zweite Variante besteht darin, Perls CPAN-Modul zu benutzen und es das Modul f&uuml;r Sie installieren zu lassen.',
templates/webpages/admin/adminlogin_de.html
1
<body class="admin" onload="document.getElementById('rpw').focus()">
1
[% USE HTML %]<body class="admin" onload="document.getElementById('rpw').focus()">
2 2

  
3 3
 <div align="center">
4 4

  
5 5
  <a href="http://www.lx-office.org"><img src="image/lx-office-erp.png" border="0"></a>
6 6

  
7
  <h1 class="login">Version <TMPL_VAR version ESCAPE=HTML></h1>
7
  <h1 class="login">Version [% HTML.escape(version) %]</h1>
8 8

  
9 9
  <h2>Administration</h2>
10 10

  
templates/webpages/admin/adminlogin_master.html
1
<body class="admin" onload="document.getElementById('rpw').focus()">
1
[% USE HTML %]<body class="admin" onload="document.getElementById('rpw').focus()">
2 2

  
3 3
 <div align="center">
4 4

  
5 5
  <a href="http://www.lx-office.org"><img src="image/lx-office-erp.png" border="0"></a>
6 6

  
7
  <h1 class="login"><translate>Version</translate> <TMPL_VAR version ESCAPE=HTML></h1>
7
  <h1 class="login"><translate>Version</translate> [% HTML.escape(version) %]</h1>
8 8

  
9 9
  <h2><translate>Administration</translate></h2>
10 10

  
templates/webpages/admin/backup_dataset_de.html
1
<body class="admin" onload="set_subject(); document.getElementsByName('to')[0].focus(); ">
1
[% USE HTML %]<body class="admin" onload="set_subject(); document.getElementsByName('to')[0].focus(); ">
2 2

  
3 3
 <script type="text/javascript">
4 4
  <!--
......
13 13
    -->
14 14
 </script>
15 15

  
16
 <h2><TMPL_VAR title></h2>
16
 <h2>[% title %]</h2>
17 17

  
18
 <TMPL_IF NO_DATABSES>
18
 [% IF NO_DATABSES %]
19 19
  Auf diesem Server wurden keine Datenbanken gefunden.
20 20

  
21
  <TMPL_ELSE>
21
  [% ELSE %]
22 22

  
23 23
  <form name="Form" method="post" action="admin.pl">
24 24

  
25 25
   <input type="hidden" name="dbdriver" value="Pg">
26
   <input type="hidden" name="dbhost" value="<TMPL_VAR dbhost ESCAPE=HTML>">
27
   <input type="hidden" name="dbport" value="<TMPL_VAR dbport ESCAPE=HTML>">
28
   <input type="hidden" name="dbuser" value="<TMPL_VAR dbuser ESCAPE=HTML>">
29
   <input type="hidden" name="dbpasswd" value="<TMPL_VAR dbpasswd ESCAPE=HTML>">
26
   <input type="hidden" name="dbhost" value="[% HTML.escape(dbhost) %]">
27
   <input type="hidden" name="dbport" value="[% HTML.escape(dbport) %]">
28
   <input type="hidden" name="dbuser" value="[% HTML.escape(dbuser) %]">
29
   <input type="hidden" name="dbpasswd" value="[% HTML.escape(dbpasswd) %]">
30 30

  
31 31
   <p>
32 32
    Bitte w&auml;hlen Sie die zu sichernde Datenbank gefunden:
33
    <select name="dbname" onchange="set_subject()"><TMPL_LOOP DATABASES><option><TMPL_VAR dbname ESCAPE=HTML></option></TMPL_LOOP></select>
33
    <select name="dbname" onchange="set_subject()">[% FOREACH row = DATABASES %]<option>[% HTML.escape(row.dbname) %]</option>[% END %]</select>
34 34
   </p>
35 35

  
36 36
   <table>
......
47 47
      <table>
48 48
       <tr>
49 49
        <td valign="top" align="right">Von</td>
50
        <td valign="top"><input name="from" size="40" value="<TMPL_VAR from ESCAPE=HTML>"></td>
50
        <td valign="top"><input name="from" size="40" value="[% HTML.escape(from) %]"></td>
51 51
       </tr>
52 52

  
53 53
       <tr>
......
77 77

  
78 78
   </table>
79 79

  
80
   <input name="callback" type="hidden" value="admin.pl?action=list_users&rpw=<TMPL_VAR rpw ESCAPE=URL>">
81
   <input type="hidden" name="rpw" value="<TMPL_VAR rpw ESCAPE=HTML>">
80
   <input name="callback" type="hidden" value="admin.pl?action=list_users&rpw=[% HTML.url(rpw) %]">
81
   <input type="hidden" name="rpw" value="[% HTML.escape(rpw) %]">
82 82
   <input type="hidden" name="nextsub" value="backup_dataset_start">
83 83
   <input type="hidden" name="back_nextsub" value="list_users">
84 84

  
......
91 91

  
92 92
  </form>
93 93

  
94
 </TMPL_IF>
94
 [% END %]
95 95

  
96 96
</body>
97 97
</html>
templates/webpages/admin/backup_dataset_email_done_de.html
1
<body class="admin">
1
[% USE HTML %]<body class="admin">
2 2

  
3
 <h2><TMPL_VAR title></h2>
3
 <h2>[% title %]</h2>
4 4

  
5
 <p>Die Datenbanksicherung wurde an <TMPL_VAR to ESCAPE=HTML> per Email verschickt.</p>
5
 <p>Die Datenbanksicherung wurde per Email an [% HTML.escape(to) %] verschickt.</p>
6 6

  
7 7
 <form method="post" action="admin.pl">
8
  <input type="hidden" name="rpw" value="<TMPL_VAR rpw ESCAPE=HTML>">
8
  <input type="hidden" name="rpw" value="[% HTML.escape(rpw) %]">
9 9
  <input type="hidden" name="nextsub" value="list_users">
10 10
  <input type="submit" name="action" value="Weiter">
11 11
 </form>
templates/webpages/admin/backup_dataset_email_done_master.html
1
<body class="admin">
1
[% USE HTML %]<body class="admin">
2 2

  
3
 <h2><TMPL_VAR title></h2>
3
 <h2>[% title %]</h2>
4 4

  
5
 <p><translate>The dataset backup has been sent via email to <TMPL_VAR to ESCAPE=HTML>.</translate></p>
5
 <p><translate>The dataset backup has been sent via email to [% HTML.escape(to) %].</translate></p>
6 6

  
7 7
 <form method="post" action="admin.pl">
8
  <input type="hidden" name="rpw" value="<TMPL_VAR rpw ESCAPE=HTML>">
8
  <input type="hidden" name="rpw" value="[% HTML.escape(rpw) %]">
9 9
  <input type="hidden" name="nextsub" value="list_users">
10 10
  <input type="submit" name="action" value="<translate>Continue</translate>">
11 11
 </form>
templates/webpages/admin/backup_dataset_master.html
1
<body class="admin" onload="set_subject(); document.getElementsByName('to')[0].focus(); ">
1
[% USE HTML %]<body class="admin" onload="set_subject(); document.getElementsByName('to')[0].focus(); ">
2 2

  
3 3
 <script type="text/javascript">
4 4
  <!--
......
13 13
    -->
14 14
 </script>
15 15

  
16
 <h2><TMPL_VAR title></h2>
16
 <h2>[% title %]</h2>
17 17

  
18
 <TMPL_IF NO_DATABSES>
18
 [% IF NO_DATABSES %]
19 19
  <translate>No databases have been found on this server.</translate>
20 20

  
21
  <TMPL_ELSE>
21
  [% ELSE %]
22 22

  
23 23
  <form name="Form" method="post" action="admin.pl">
24 24

  
25 25
   <input type="hidden" name="dbdriver" value="Pg">
26
   <input type="hidden" name="dbhost" value="<TMPL_VAR dbhost ESCAPE=HTML>">
27
   <input type="hidden" name="dbport" value="<TMPL_VAR dbport ESCAPE=HTML>">
28
   <input type="hidden" name="dbuser" value="<TMPL_VAR dbuser ESCAPE=HTML>">
29
   <input type="hidden" name="dbpasswd" value="<TMPL_VAR dbpasswd ESCAPE=HTML>">
26
   <input type="hidden" name="dbhost" value="[% HTML.escape(dbhost) %]">
27
   <input type="hidden" name="dbport" value="[% HTML.escape(dbport) %]">
28
   <input type="hidden" name="dbuser" value="[% HTML.escape(dbuser) %]">
29
   <input type="hidden" name="dbpasswd" value="[% HTML.escape(dbpasswd) %]">
30 30

  
31 31
   <p>
32 32
    <translate>Please select the database you want to backup</translate>:
33
    <select name="dbname" onchange="set_subject()"><TMPL_LOOP DATABASES><option><TMPL_VAR dbname ESCAPE=HTML></option></TMPL_LOOP></select>
33
    <select name="dbname" onchange="set_subject()">[% FOREACH row = DATABASES %]<option>[% HTML.escape(row.dbname) %]</option>[% END %]</select>
34 34
   </p>
35 35

  
36 36
   <table>
......
47 47
      <table>
48 48
       <tr>
49 49
        <td valign="top" align="right"><translate>From</translate></td>
50
        <td valign="top"><input name="from" size="40" value="<TMPL_VAR from ESCAPE=HTML>"></td>
50
        <td valign="top"><input name="from" size="40" value="[% HTML.escape(from) %]"></td>
51 51
       </tr>
52 52

  
53 53
       <tr>
......
77 77

  
78 78
   </table>
79 79

  
80
   <input name="callback" type="hidden" value="admin.pl?action=list_users&rpw=<TMPL_VAR rpw ESCAPE=URL>">
81
   <input type="hidden" name="rpw" value="<TMPL_VAR rpw ESCAPE=HTML>">
80
   <input name="callback" type="hidden" value="admin.pl?action=list_users&rpw=[% HTML.url(rpw) %]">
81
   <input type="hidden" name="rpw" value="[% HTML.escape(rpw) %]">
82 82
   <input type="hidden" name="nextsub" value="backup_dataset_start">
83 83
   <input type="hidden" name="back_nextsub" value="list_users">
84 84

  
......
91 91

  
92 92
  </form>
93 93

  
94
 </TMPL_IF>
94
 [% END %]
95 95

  
96 96
</body>
97 97
</html>
templates/webpages/admin/change_admin_password_de.html
1
<body class="admin">
1
[% USE HTML %]<body class="admin">
2 2

  
3 3
 <h2>Administratorpasswort ?ndern</h2>
4 4

  
......
16 16
   </tr>
17 17
  </table>
18 18

  
19
  <input type="hidden" name="rpw" value="<TMPL_VAR rpw ESCAPE=HTML>">
19
  <input type="hidden" name="rpw" value="[% HTML.escape(rpw) %]">
20 20

  
21
  <p>
22
   <input type="submit" class="submit" name="action" value="Passwort ?ndern"></p>
21
  <p><input type="submit" class="submit" name="action" value="Passwort ?ndern"></p>
23 22

  
24 23
 </form>
25 24

  
templates/webpages/admin/change_admin_password_master.html
1
<body class="admin">
1
[% USE HTML %]<body class="admin">
2 2

  
3 3
 <h2><translate>Change Admin Password</translate></h2>
4 4

  
......
16 16
   </tr>
17 17
  </table>
18 18

  
19
  <input type="hidden" name="rpw" value="<TMPL_VAR rpw ESCAPE=HTML>">
19
  <input type="hidden" name="rpw" value="[% HTML.escape(rpw) %]">
20 20

  
21
  <p>
22
   <input type="submit" class="submit" name="action" value="<translate>Change Password</translate>"></p>
21
  <p><input type="submit" class="submit" name="action" value="<translate>Change Password</translate>"></p>
23 22

  
24 23
 </form>
25 24

  
templates/webpages/admin/create_dataset_de.html
1
<body class="admin">
1
[% USE HTML %]<body class="admin">
2 2

  
3
  <h2><TMPL_VAR title></h2>
3
  <h2>[% title %]</h2>
4 4

  
5 5
  <form method="post" action="admin.pl">
6 6

  
7 7
   <table>
8 8
    <tr>
9 9
     <th valign="top" align="right" nowrap>existierende Datenbanken</th>
10
     <td valign="top"><TMPL_VAR dbsources ESCAPE=HTML></td>
10
     <td valign="top">[% HTML.escape(dbsources) %]</td>
11 11
    </tr>
12 12

  
13 13
    <tr>
......
19 19
     <th align="right" nowrap>Schriftsatz</th>
20 20
     <td>
21 21
      <select name="encoding">
22
       <TMPL_LOOP DBENCODINGS><option value="<TMPL_VAR dbencoding ESCAPE=HTML>" <TMPL_IF selected>selected</TMPL_IF>><TMPL_VAR label ESCAPE=HTML></option></TMPL_LOOP>
22
       [% FOREACH row = DBENCODINGS %]<option value="[% HTML.escape(row.dbencoding) %]" [% IF row.selected %]selected[% END %]>[% HTML.escape(row.label) %]</option>[% END %]
23 23
      </select>
24 24
     </td>
25 25
    </tr>
......
28 28
     <th valign="top" align="right" nowrap>Kontenplan anlegen</th>
29 29
     <td>
30 30
      <select name="chart">
31
       <TMPL_LOOP CHARTS><option <TMPL_IF selected>selected</TMPL_IF>><TMPL_VAR name ESCAPE=HTML></option></TMPL_LOOP>
31
       [% FOREACH row = CHARTS %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>[% END %]
32 32
      </select>
33 33
     </td>
34 34
    </tr>
35 35

  
36 36
   </table>
37 37

  
38
   <input type="hidden" name="dbdriver"  value="<TMPL_VAR dbdriver ESCAPE=HTML>">
39
   <input type="hidden" name="dbuser"    value="<TMPL_VAR dbuser ESCAPE=HTML>">
40
   <input type="hidden" name="dbhost"    value="<TMPL_VAR dbhost ESCAPE=HTML>">
41
   <input type="hidden" name="dbport"    value="<TMPL_VAR dbport ESCAPE=HTML>">
42
   <input type="hidden" name="dbpasswd"  value="<TMPL_VAR dbpasswd ESCAPE=HTML>">
43
   <input type="hidden" name="dbdefault" value="<TMPL_VAR dbdefault ESCAPE=HTML>">
38
   <input type="hidden" name="dbdriver"  value="[% HTML.escape(dbdriver) %]">
39
   <input type="hidden" name="dbuser"    value="[% HTML.escape(dbuser) %]">
40
   <input type="hidden" name="dbhost"    value="[% HTML.escape(dbhost) %]">
41
   <input type="hidden" name="dbport"    value="[% HTML.escape(dbport) %]">
42
   <input type="hidden" name="dbpasswd"  value="[% HTML.escape(dbpasswd) %]">
43
   <input type="hidden" name="dbdefault" value="[% HTML.escape(dbdefault) %]">
44 44

  
45
   <input type="hidden" name="callback" value="admin.pl?action=list_users&rpw=<TMPL_VAR rpw ESCAPE=URL>">
46
   <input type="hidden" name="rpw" value="<TMPL_VAR rpw ESCAPE=HTML>">
45
   <input type="hidden" name="callback" value="admin.pl?action=list_users&rpw=[% HTML.url(rpw) %]">
46
   <input type="hidden" name="rpw" value="[% HTML.escape(rpw) %]">
47 47

  
48 48
   <input type="hidden" name="nextsub" value="dbcreate">
49 49

  
templates/webpages/admin/create_dataset_master.html
1
<body class="admin">
1
[% USE HTML %]<body class="admin">
2 2

  
3
  <h2><TMPL_VAR title></h2>
3
  <h2>[% title %]</h2>
4 4

  
5 5
  <form method="post" action="admin.pl">
6 6

  
7 7
   <table>
8 8
    <tr>
9 9
     <th valign="top" align="right" nowrap><translate>Existing Datasets</translate></th>
10
     <td valign="top"><TMPL_VAR dbsources ESCAPE=HTML></td>
10
     <td valign="top">[% HTML.escape(dbsources) %]</td>
11 11
    </tr>
12 12

  
13 13
    <tr>
......
19 19
     <th align="right" nowrap><translate>Multibyte Encoding</translate></th>
20 20
     <td>
21 21
      <select name="encoding">
22
       <TMPL_LOOP DBENCODINGS><option value="<TMPL_VAR dbencoding ESCAPE=HTML>" <TMPL_IF selected>selected</TMPL_IF>><TMPL_VAR label ESCAPE=HTML></option></TMPL_LOOP>
22
       [% FOREACH row = DBENCODINGS %]<option value="[% HTML.escape(row.dbencoding) %]" [% IF row.selected %]selected[% END %]>[% HTML.escape(row.label) %]</option>[% END %]
23 23
      </select>
24 24
     </td>
25 25
    </tr>
......
28 28
     <th valign="top" align="right" nowrap><translate>Create Chart of Accounts</translate></th>
29 29
     <td>
30 30
      <select name="chart">
31
       <TMPL_LOOP CHARTS><option <TMPL_IF selected>selected</TMPL_IF>><TMPL_VAR name ESCAPE=HTML></option></TMPL_LOOP>
31
       [% FOREACH row = CHARTS %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>[% END %]
32 32
      </select>
33 33
     </td>
34 34
    </tr>
35 35

  
36 36
   </table>
37 37

  
38
   <input type="hidden" name="dbdriver"  value="<TMPL_VAR dbdriver ESCAPE=HTML>">
39
   <input type="hidden" name="dbuser"    value="<TMPL_VAR dbuser ESCAPE=HTML>">
40
   <input type="hidden" name="dbhost"    value="<TMPL_VAR dbhost ESCAPE=HTML>">
41
   <input type="hidden" name="dbport"    value="<TMPL_VAR dbport ESCAPE=HTML>">
42
   <input type="hidden" name="dbpasswd"  value="<TMPL_VAR dbpasswd ESCAPE=HTML>">
43
   <input type="hidden" name="dbdefault" value="<TMPL_VAR dbdefault ESCAPE=HTML>">
38
   <input type="hidden" name="dbdriver"  value="[% HTML.escape(dbdriver) %]">
39
   <input type="hidden" name="dbuser"    value="[% HTML.escape(dbuser) %]">
40
   <input type="hidden" name="dbhost"    value="[% HTML.escape(dbhost) %]">
41
   <input type="hidden" name="dbport"    value="[% HTML.escape(dbport) %]">
42
   <input type="hidden" name="dbpasswd"  value="[% HTML.escape(dbpasswd) %]">
43
   <input type="hidden" name="dbdefault" value="[% HTML.escape(dbdefault) %]">
44 44

  
45
   <input type="hidden" name="callback" value="admin.pl?action=list_users&rpw=<TMPL_VAR rpw ESCAPE=URL>">
46
   <input type="hidden" name="rpw" value="<TMPL_VAR rpw ESCAPE=HTML>">
45
   <input type="hidden" name="callback" value="admin.pl?action=list_users&rpw=[% HTML.url(rpw) %]">
46
   <input type="hidden" name="rpw" value="[% HTML.escape(rpw) %]">
47 47

  
48 48
   <input type="hidden" name="nextsub" value="dbcreate">
49 49

  
templates/webpages/admin/dbadmin_de.html
1
<body class="admin">
1
[% USE HTML %]<body class="admin">
2 2

  
3
  <h2><TMPL_VAR title></h2>
3
  <h2>[% title %]</h2>
4 4

  
5 5
  <form method="post" action="admin.pl">
6 6

  
......
10 10

  
11 11
      <table>
12 12

  
13
       <input type="hidden" name="dbdriver" value="<TMPL_VAR dbdriver ESCAPE=HTML>">
13
       <input type="hidden" name="dbdriver" value="[% HTML.escape(dbdriver) %]">
14 14

  
15 15
       <tr>
16 16
        <td>
......
19 19
          <tr>
20 20

  
21 21
           <th align="right">Datenbankcomputer</th>
22
           <td><input name="dbhost" size="25" value="<TMPL_VAR dbhost ESCAPE=HTML>"></td>
22
           <td><input name="dbhost" size="25" value="[% HTML.escape(dbhost) %]"></td>
23 23
           <th align="right">Port</th>
24
           <td><input name="dbport" size="5" value="<TMPL_VAR dbport ESCAPE=HTML>"></td>
24
           <td><input name="dbport" size="5" value="[% HTML.escape(dbport) %]"></td>
25 25

  
26 26
          </tr>
27 27

  
28 28
          <tr>
29 29

  
30 30
           <th align="right">Benutzer</th>
31
           <td><input name="dbuser" size="10" value="<TMPL_VAR dbuser ESCAPE=HTML>"></td>
31
           <td><input name="dbuser" size="10" value="[% HTML.escape(dbuser) %]"></td>
32 32
           <th align="right">Passwort</th>
33 33
           <td><input type="password" name="dbpasswd" size="10"></td>
34 34

  
......
37 37
          <tr>
38 38

  
39 39
           <th align="right">Datenbankvorlage</th>
40
           <td colspan="3"><input name="dbdefault" size="10" value="<TMPL_VAR dbdefault ESCAPE=HTML>"></td>
40
           <td colspan="3"><input name="dbdefault" size="10" value="[% HTML.escape(dbdefault) %]"></td>
41 41

  
42 42
          </tr>
43 43

  
......
47 47
       </tr>
48 48
      </table>
49 49

  
50
      <input name="callback" type="hidden" value="admin.pl?action=list_users&rpw=<TMPL_VAR rpw ESCAPE=URL>">
51
      <input type="hidden" name="rpw" value="<TMPL_VAR rpw ESCAPE=HTML>">
50
      <input name="callback" type="hidden" value="admin.pl?action=list_users&rpw=[% HTML.url(rpw) %]">
51
      <input type="hidden" name="rpw" value="[% HTML.escape(rpw) %]">
52 52

  
53 53
      <br>
54 54

  
55 55
      <input type="submit" class="submit" name="action" value="Datenbank anlegen">
56 56
      <input type="submit" class="submit" name="action" value="Datenbank aktualisieren">
57 57
      <input type="submit" class="submit" name="action" value="Datenbank l?schen">
58
      <TMPL_IF ALLOW_DBBACKUP>
58
      [% IF ALLOW_DBBACKUP %]
59 59
       <input type="submit" class="submit" name="action" value="Datenbank sichern">
60 60
       <input type="submit" class="submit" name="action" value="Datenbank wiederherstellen">
61
      </TMPL_IF>
61
      [% END %]
62 62
     </td>
63 63
    </tr>
64 64
   </table>
templates/webpages/admin/dbadmin_master.html
1
<body class="admin">
1
[% USE HTML %]<body class="admin">
2 2

  
3
  <h2><TMPL_VAR title></h2>
3
  <h2>[% title %]</h2>
4 4

  
5 5
  <form method="post" action="admin.pl">
6 6

  
......
10 10

  
11 11
      <table>
12 12

  
13
       <input type="hidden" name="dbdriver" value="<TMPL_VAR dbdriver ESCAPE=HTML>">
13
       <input type="hidden" name="dbdriver" value="[% HTML.escape(dbdriver) %]">
14 14

  
15 15
       <tr>
16 16
        <td>
......
19 19
          <tr>
20 20

  
21 21
           <th align="right"><translate>Host</translate></th>
22
           <td><input name="dbhost" size="25" value="<TMPL_VAR dbhost ESCAPE=HTML>"></td>
22
           <td><input name="dbhost" size="25" value="[% HTML.escape(dbhost) %]"></td>
23 23
           <th align="right"><translate>Port</translate></th>
24
           <td><input name="dbport" size="5" value="<TMPL_VAR dbport ESCAPE=HTML>"></td>
24
           <td><input name="dbport" size="5" value="[% HTML.escape(dbport) %]"></td>
25 25

  
26 26
          </tr>
27 27

  
28 28
          <tr>
29 29

  
30 30
           <th align="right"><translate>User</translate></th>
31
           <td><input name="dbuser" size="10" value="<TMPL_VAR dbuser ESCAPE=HTML>"></td>
31
           <td><input name="dbuser" size="10" value="[% HTML.escape(dbuser) %]"></td>
32 32
           <th align="right"><translate>Password</translate></th>
33 33
           <td><input type="password" name="dbpasswd" size="10"></td>
34 34

  
......
37 37
          <tr>
38 38

  
39 39
           <th align="right"><translate>Database template</translate></th>
40
           <td colspan="3"><input name="dbdefault" size="10" value="<TMPL_VAR dbdefault ESCAPE=HTML>"></td>
40
           <td colspan="3"><input name="dbdefault" size="10" value="[% HTML.escape(dbdefault) %]"></td>
41 41

  
42 42
          </tr>
43 43

  
......
47 47
       </tr>
48 48
      </table>
49 49

  
50
      <input name="callback" type="hidden" value="admin.pl?action=list_users&rpw=<TMPL_VAR rpw ESCAPE=URL>">
51
      <input type="hidden" name="rpw" value="<TMPL_VAR rpw ESCAPE=HTML>">
50
      <input name="callback" type="hidden" value="admin.pl?action=list_users&rpw=[% HTML.url(rpw) %]">
51
      <input type="hidden" name="rpw" value="[% HTML.escape(rpw) %]">
52 52

  
53 53
      <br>
54 54

  
55 55
      <input type="submit" class="submit" name="action" value="<translate>Create Dataset</translate>">
56 56
      <input type="submit" class="submit" name="action" value="<translate>Update Dataset</translate>">
57 57
      <input type="submit" class="submit" name="action" value="<translate>Delete Dataset</translate>">
58
      <TMPL_IF ALLOW_DBBACKUP>
58
      [% IF ALLOW_DBBACKUP %]
59 59
       <input type="submit" class="submit" name="action" value="<translate>Backup Dataset</translate>">
60 60
       <input type="submit" class="submit" name="action" value="<translate>Restore Dataset</translate>">
61
      </TMPL_IF>
61
      [% END %]
62 62
     </td>
63 63
    </tr>
64 64
   </table>
templates/webpages/admin/dbcreate_de.html
1
<body class="admin">
1
[% USE HTML %]<body class="admin">
2 2

  
3
  <h2><TMPL_VAR title></h2>
3
  <h2>[% title %]</h2>
4 4

  
5 5
  <form method="post" action="admin.pl">
6 6

  
7
   <p>Die Datenbank <TMPL_VAR db ESCAPE=HTML> wurde erfolgreich erstellt.</p>
7
   <p>Die Datenbank [% HTML.escape(db) %] wurde erfolgreich angelegt.</p>
8 8

  
9
   <input type="hidden" name="rpw" value="<TMPL_VAR rpw ESCAPE=HTML>">
9
   <input type="hidden" name="rpw" value="[% HTML.escape(rpw) %]">
10 10
   <input type="hidden" name="nextsub" value="list_users">
11 11

  
12 12
   <p><input type="submit" class="submit" name="action" value="Weiter"></p>
templates/webpages/admin/dbcreate_master.html
1
<body class="admin">
1
[% USE HTML %]<body class="admin">
2 2

  
3
  <h2><TMPL_VAR title></h2>
3
  <h2>[% title %]</h2>
4 4

  
5 5
  <form method="post" action="admin.pl">
6 6

  
7
   <p><translate>The dataset <TMPL_VAR db ESCAPE=HTML> has been successfully created.</translate></p>
7
   <p><translate>The dataset [% HTML.escape(db) %] has been successfully created.</translate></p>
8 8

  
9
   <input type="hidden" name="rpw" value="<TMPL_VAR rpw ESCAPE=HTML>">
9
   <input type="hidden" name="rpw" value="[% HTML.escape(rpw) %]">
10 10
   <input type="hidden" name="nextsub" value="list_users">
11 11

  
12 12
   <p><input type="submit" class="submit" name="action" value="<translate>Continue</translate>"></p>
templates/webpages/admin/dbdelete_de.html
1
<body class="admin">
1
[% USE HTML %]<body class="admin">
2 2

  
3
  <h2><TMPL_VAR title></h2>
3
  <h2>[% title %]</h2>
4 4

  
5 5
  <form method="post" action="admin.pl">
6 6

  
7
   <p>Die Datenbank <TMPL_VAR db ESCAPE=HTML> wurde erfolgreich gel&ouml;scht.</p>
7
   <p>Die Datenbank [% HTML.escape(db) %] wurde erfolgreich gel&ouml;scht.</p>
8 8

  
9
   <input type="hidden" name="rpw" value="<TMPL_VAR rpw ESCAPE=HTML>">
9
   <input type="hidden" name="rpw" value="[% HTML.escape(rpw) %]">
10 10
   <input type="hidden" name="nextsub" value="list_users">
11 11

  
12 12
   <p><input type="submit" class="submit" name="action" value="Weiter"></p>
templates/webpages/admin/dbdelete_master.html
1
<body class="admin">
1
[% USE HTML %]<body class="admin">
2 2

  
3
  <h2><TMPL_VAR title></h2>
3
  <h2>[% title %]</h2>
4 4

  
5 5
  <form method="post" action="admin.pl">
6 6

  
7
   <p><translate>The database <TMPL_VAR db ESCAPE=HTML> has been successfully deleted.</translate></p>
7
   <p><translate>The database [% HTML.escape(db) %] has been successfully deleted.</translate></p>
8 8

  
9
   <input type="hidden" name="rpw" value="<TMPL_VAR rpw ESCAPE=HTML>">
9
   <input type="hidden" name="rpw" value="[% HTML.escape(rpw) %]">
10 10
   <input type="hidden" name="nextsub" value="list_users">
11 11

  
12 12
   <p><input type="submit" class="submit" name="action" value="<translate>Continue</translate>"></p>
templates/webpages/admin/dbupgrade_all_done_de.html
1
<TMPL_IF NOTHING_TO_DO>
1
[% USE HTML%]
2
[% IF NOTHING_TO_DO %]
2 3
 <p>Es wurden keine Datenbanken ausgew&auml;hlt.</p>
3 4

  
4
 <TMPL_ELSE>
5
 [% ELSE %]
5 6

  
6 7
 <hr>
7 8

  
8 9
 <p>Alle Datenbankupdates wurden eingespielt.</p>
9
</TMPL_IF>
10
[% END %]
10 11

  
11 12
<form method="post" action="admin.pl">
12 13
 <input type="hidden" name="nextsub" value="list_users">
13
 <input type="hidden" name="rpw" value="<TMPL_VAR rpw ESCAPE=HTML>">
14
 <input type="hidden" name="rpw" value="[% HTML.escape(rpw) %]">
14 15

  
15 16
 <input type="submit" name="action" value="Weiter">
16 17
</form>
templates/webpages/admin/dbupgrade_all_done_master.html
1
<TMPL_IF NOTHING_TO_DO>
1
[% USE HTML%]
2
[% IF NOTHING_TO_DO %]
2 3
 <p><translate>No datasets have been selected.</translate></p>
3 4

  
4
 <TMPL_ELSE>
5
 [% ELSE %]
5 6

  
6 7
 <hr>
7 8

  
8 9
 <p><translate>All database upgrades have been applied.</translate></p>
9
</TMPL_IF>
10
[% END %]
10 11

  
11 12
<form method="post" action="admin.pl">
12 13
 <input type="hidden" name="nextsub" value="list_users">
13
 <input type="hidden" name="rpw" value="<TMPL_VAR rpw ESCAPE=HTML>">
14
 <input type="hidden" name="rpw" value="[% HTML.escape(rpw) %]">
14 15

  
15 16
 <input type="submit" name="action" value="<translate>Continue</translate>">
16 17
</form>
templates/webpages/admin/dbupgrade_header_de.html
1
<div class="listtop" width="100%">Datenbankaktualisierung (<TMPL_VAR dbname ESCAPE=HTML>)</div>
1
[% USE HTML %]<div class="listtop" width="100%">Datenbankaktualisierung ([% HTML.escape(dbname) %])</div>
templates/webpages/admin/dbupgrade_header_master.html
1
<div class="listtop" width="100%"><translate>Dataset upgrade</translate> (<TMPL_VAR dbname ESCAPE=HTML>)</div>
1
[% USE HTML %]<div class="listtop" width="100%"><translate>Dataset upgrade</translate> ([% HTML.escape(dbname) %])</div>
templates/webpages/admin/delete_dataset_de.html
1
<body class="admin">
1
[% USE HTML %]<body class="admin">
2 2

  
3
 <h2><TMPL_VAR title></h2>
3
 <h2>[% title %]</h2>
4 4

  
5 5
 <form method="post" action="admin.pl">
6 6

  
......
8 8
   Wenn Sie eine solche Datenbank l&ouml;schen wollen, so m&uuml;ssen Sie zuerst die Benutzer bearbeiten, die die fragliche Datenbank benutzen, und sie so &auml;ndern, dass sie eine andere Datenbank benutzen.</p>
9 9

  
10 10
  <p>Bitte w&auml;hlen Sie die zu l&ouml;schende Datenbank aus:
11
   <select name="db"><TMPL_LOOP DBSOURCES><option><TMPL_VAR name ESCAPE=HTML></option></TMPL_LOOP></select>
11
   <select name="db">[% FOREACH row = DBSOURCES %]<option>[% HTML.escape(row.name) %]</option>[% END %]</select>
12 12
  </p>
13 13

  
14
  <input type="hidden" name="dbdriver"  value="<TMPL_VAR dbdriver ESCAPE=HTML>">
15
  <input type="hidden" name="dbuser"    value="<TMPL_VAR dbuser ESCAPE=HTML>">
16
  <input type="hidden" name="dbhost"    value="<TMPL_VAR dbhost ESCAPE=HTML>">
17
  <input type="hidden" name="dbport"    value="<TMPL_VAR dbport ESCAPE=HTML>">
18
  <input type="hidden" name="dbpasswd"  value="<TMPL_VAR dbpasswd ESCAPE=HTML>">
19
  <input type="hidden" name="dbdefault" value="<TMPL_VAR dbdefault ESCAPE=HTML>">
14
  <input type="hidden" name="dbdriver"  value="[% HTML.escape(dbdriver) %]">
15
  <input type="hidden" name="dbuser"    value="[% HTML.escape(dbuser) %]">
16
  <input type="hidden" name="dbhost"    value="[% HTML.escape(dbhost) %]">
17
  <input type="hidden" name="dbport"    value="[% HTML.escape(dbport) %]">
18
  <input type="hidden" name="dbpasswd"  value="[% HTML.escape(dbpasswd) %]">
19
  <input type="hidden" name="dbdefault" value="[% HTML.escape(dbdefault) %]">
20 20

  
21
  <input name="callback" type="hidden" value="admin.pl?action=list_users&rpw=<TMPL_VAR rpw ESCAPE=URL>">
21
  <input name="callback" type="hidden" value="admin.pl?action=list_users&rpw=[% HTML.url(rpw) %]">
22 22

  
23
  <input type="hidden" name="rpw" value="<TMPL_VAR rpw ESCAPE=HTML>">
23
  <input type="hidden" name="rpw" value="[% HTML.escape(rpw) %]">
24 24

  
25 25
  <input type="hidden" name="nextsub" value="dbdelete">
26 26

  
templates/webpages/admin/delete_dataset_master.html
1
<body class="admin">
1
[% USE HTML %]<body class="admin">
2 2

  
3
 <h2><TMPL_VAR title></h2>
3
 <h2>[% title %]</h2>
4 4

  
5 5
 <form method="post" action="admin.pl">
6 6

  
......
11 11
    use another dataset.</translate></p>
12 12

  
13 13
  <p><translate>Please seletct the dataset you want to delete:</translate>
14
   <select name="db"><TMPL_LOOP DBSOURCES><option><TMPL_VAR name ESCAPE=HTML></option></TMPL_LOOP></select>
14
   <select name="db">[% FOREACH row = DBSOURCES %]<option>[% HTML.escape(row.name) %]</option>[% END %]</select>
15 15
  </p>
16 16

  
17
  <input type="hidden" name="dbdriver"  value="<TMPL_VAR dbdriver ESCAPE=HTML>">
18
  <input type="hidden" name="dbuser"    value="<TMPL_VAR dbuser ESCAPE=HTML>">
19
  <input type="hidden" name="dbhost"    value="<TMPL_VAR dbhost ESCAPE=HTML>">
20
  <input type="hidden" name="dbport"    value="<TMPL_VAR dbport ESCAPE=HTML>">
21
  <input type="hidden" name="dbpasswd"  value="<TMPL_VAR dbpasswd ESCAPE=HTML>">
22
  <input type="hidden" name="dbdefault" value="<TMPL_VAR dbdefault ESCAPE=HTML>">
17
  <input type="hidden" name="dbdriver"  value="[% HTML.escape(dbdriver) %]">
18
  <input type="hidden" name="dbuser"    value="[% HTML.escape(dbuser) %]">
19
  <input type="hidden" name="dbhost"    value="[% HTML.escape(dbhost) %]">
20
  <input type="hidden" name="dbport"    value="[% HTML.escape(dbport) %]">
21
  <input type="hidden" name="dbpasswd"  value="[% HTML.escape(dbpasswd) %]">
22
  <input type="hidden" name="dbdefault" value="[% HTML.escape(dbdefault) %]">
23 23

  
24
  <input name="callback" type="hidden" value="admin.pl?action=list_users&rpw=<TMPL_VAR rpw ESCAPE=URL>">
24
  <input name="callback" type="hidden" value="admin.pl?action=list_users&rpw=[% HTML.url(rpw) %]">
25 25

  
26
  <input type="hidden" name="rpw" value="<TMPL_VAR rpw ESCAPE=HTML>">
26
  <input type="hidden" name="rpw" value="[% HTML.escape(rpw) %]">
27 27

  
28 28
  <input type="hidden" name="nextsub" value="dbdelete">
29 29

  
templates/webpages/admin/edit_user_de.html
1
<body class="admin">
1
[% USE HTML %]<body class="admin">
2 2

  
3 3
 <form method="post" action="admin.pl">
4 4

  
5
  <div class="listtop" width="100%"><TMPL_VAR title></div>
5
  <div class="listtop" width="100%">[% title %]</div>
6 6

  
7 7
  <table width="100%">
8 8
   <tr valign="top">
......
10 10
     <table>
11 11
      <tr>
12 12
       <th align="right">Anmeldung</th>
13
       <td><input name="login" value="<TMPL_VAR myc_login ESCAPE=HTML>"></td>
13
       <td><input name="login" value="[% HTML.escape(myc_login) %]"></td>
14 14
      </tr>
15 15

  
16 16
      <tr>
17 17
       <th align="right">Passwort</th>
18
       <td><input type="password" name="password" size="8" value="<TMPL_VAR myc_password ESCAPE=HTML>"></td>
19
       <input type="hidden" name="old_password" value="<TMPL_VAR myc_password ESCAPE=HTML>">
18
       <td><input type="password" name="password" size="8" value="[% HTML.escape(myc_password) %]"></td>
19
       <input type="hidden" name="old_password" value="[% HTML.escape(myc_password) %]">
20 20
      </tr>
21 21

  
22 22
      <tr>
23 23
       <th align="right">Name</th>
24
       <td><input name="name" size="15" value="<TMPL_VAR myc_name ESCAPE=HTML>"></td>
24
       <td><input name="name" size="15" value="[% HTML.escape(myc_name) %]"></td>
25 25
      </tr>
26 26

  
27 27
      <tr>
28 28
       <th align="right">eMail</th>
29
       <td><input name="email" size="30" value="<TMPL_VAR myc_email ESCAPE=HTML>"></td>
29
       <td><input name="email" size="30" value="[% HTML.escape(myc_email) %]"></td>
30 30
      </tr>
31 31

  
32 32
      <tr valign="top">
33 33
       <th align="right">Unterschrift</th>
34
       <td><textarea name="signature" rows="3" cols="35"><TMPL_VAR myc_signature ESCAPE=HTML></textarea></td>
34
       <td><textarea name="signature" rows="3" cols="35">[% HTML.escape(myc_signature) %]</textarea></td>
35 35
      </tr>
36 36

  
37 37
      <tr>
38 38
       <th align="right">Telefon</th>
39
       <td><input name="tel" size="14" value="<TMPL_VAR myc_tel ESCAPE=HTML>"></td>
39
       <td><input name="tel" size="14" value="[% HTML.escape(myc_tel) %]"></td>
40 40
      </tr>
41 41

  
42 42
      <tr>
43 43
       <th align="right">Fax</th>
44
       <td><input name="fax" size="14" value="<TMPL_VAR myc_fax ESCAPE=HTML>"></td>
44
       <td><input name="fax" size="14" value="[% HTML.escape(myc_fax) %]"></td>
45 45
      </tr>
46 46

  
47 47
      <tr>
48 48
       <th align="right">Firma</th>
49
       <td><input name="company" size="35" value="<TMPL_VAR myc_company ESCAPE=HTML>"></td>
49
       <td><input name="company" size="35" value="[% HTML.escape(myc_company) %]"></td>
50 50
      </tr>
51 51

  
52 52
      <tr valign="top">
53 53
       <th align="right">Adresse</th>
54
       <td><textarea name="address" rows="4" cols="35"><TMPL_VAR myc_address ESCAPE=HTML></textarea></td>
54
       <td><textarea name="address" rows="4" cols="35">[% HTML.escape(myc_address) %]</textarea></td>
55 55
      </tr>
56 56

  
57 57
      <tr valign="top">
58 58
       <th align="right">Steuernummer</th>
59
       <td><input name="taxnumber" size="14" value="<TMPL_VAR myc_taxnumber ESCAPE=HTML>"></td>
59
       <td><input name="taxnumber" size="14" value="[% HTML.escape(myc_taxnumber) %]"></td>
60 60
      </tr>
61 61

  
62 62
      <tr valign="top">
63 63
       <th align="right">USt-IdNr.</th>
64
       <td><input name="co_ustid" size="14" value="<TMPL_VAR myc_co_ustid ESCAPE=HTML>"></td>
64
       <td><input name="co_ustid" size="14" value="[% HTML.escape(myc_co_ustid) %]"></td>
65 65
      </tr>
66 66

  
67 67
      <tr valign="top">
68 68
       <th align="right">DUNS-Nr.</th>
69
       <td><input name="duns" size="14" value="<TMPL_VAR myc_duns ESCAPE=HTML>"></td>
69
       <td><input name="duns" size="14" value="[% HTML.escape(myc_duns) %]"></td>
70 70
      </tr>
71 71
     </table>
72 72
    </td>
......
77 77
       <th align="right">Datumsformat</th>
78 78
       <td>
79 79
        <select name="dateformat">
80
         <TMPL_LOOP ALL_DATEFORMATS><option <TMPL_IF selected>selected</TMPL_IF>><TMPL_VAR format ESCAPE=HTML></option>
81
         </TMPL_LOOP>
80
         [% FOREACH row = ALL_DATEFORMATS %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.format) %]</option>
81
         [% END %]
82 82
        </select>
83 83
       </td>
84 84
      </tr>
......
87 87
       <th align="right">Zahlenformat</th>
88 88
       <td>
89 89
        <select name="numberformat">
90
         <TMPL_LOOP ALL_NUMBERFORMATS><option <TMPL_IF selected>selected</TMPL_IF>><TMPL_VAR format ESCAPE=HTML></option>
91
         </TMPL_LOOP>
90
         [% FOREACH row = ALL_NUMBERFORMATS %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.format) %]</option>
91
         [% END %]
92 92
        </select>
93 93
       </td>
94 94
      </tr>
95 95

  
96 96
      <tr>
97 97
       <th align="right">Auswahllistenbegrenzung</th>
98
       <td><input name="vclimit" value="<TMPL_VAR myc_vclimit ESCAPE=HTML>"></td>
98
       <td><input name="vclimit" value="[% HTML.escape(myc_vclimit) %]"></td>
99 99
      </tr>
100 100

  
101 101
      <tr>
102 102
       <th align="right">Sprache</th>
103 103
       <td>
104 104
        <select name="countrycode">
105
         <TMPL_LOOP ALL_COUNTRYCODES><option value="<TMPL_VAR value ESCAPE=HTML>" <TMPL_IF selected>selected</TMPL_IF>><TMPL_VAR name ESCAPE=HTML></option>
106
         </TMPL_LOOP>
105
         [% FOREACH row = ALL_COUNTRYCODES %]<option value="[% HTML.escape(row.value) %]" [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>
106
         [% END %]
107 107
        </select>
108 108
       </td>
109 109
      </tr>
......
112 112
       <th align="right">Stilvorlage</th>
113 113
       <td>
114 114
        <select name="userstylesheet">
115
         <TMPL_LOOP ALL_STYLESHEETS><option <TMPL_IF selected>selected</TMPL_IF>><TMPL_VAR name ESCAPE=HTML></option>
116
         </TMPL_LOOP>
115
         [% FOREACH row = ALL_STYLESHEETS %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>
116
         [% END %]
117 117
        </select>
118 118
       </td>
119 119
      </tr>
120 120

  
121 121
      <tr>
122 122
       <th align="right">Drucker</th>
123
       <td><input name="printer" size="20" value="<TMPL_VAR myc_printer ESCAPE=HTML>"></td>
123
       <td><input name="printer" size="20" value="[% HTML.escape(myc_printer) %]"></td>
124 124
      </tr>
125 125
      <tr>
126 126
       <th align="right">benutze Vorlagen</th>
127 127
       <td>
128 128
        <select name="usetemplates">
129
         <TMPL_LOOP ALL_TEMPLATES><option <TMPL_IF selected>selected</TMPL_IF>><TMPL_VAR name ESCAPE=HTML></option>
130
         </TMPL_LOOP>
129
         [% FOREACH row = ALL_TEMPLATES %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>
130
         [% END %]
131 131
        </select>
132 132
       </td>
133 133
      </tr>
......
139 139
       <th align="right">Vorlagen ausw?hlen</th>
140 140
       <td>
141 141
        <select name="mastertemplates">
142
         <TMPL_LOOP ALL_MASTER_TEMPLATES><option <TMPL_IF selected>selected</TMPL_IF>><TMPL_VAR name ESCAPE=HTML></option>
143
         </TMPL_LOOP>
142
         [% FOREACH row = ALL_MASTER_TEMPLATES %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>
143
         [% END %]
144 144
        </select>
145 145
       </td>
146 146
      </tr>
147 147
      <tr>
148 148
       <th align="right">Men?setup</th>
149 149
       <td>
150
        <input name="menustyle" type="radio" class="radio" value="v3" <TMPL_IF menustyle_v3>checked</TMPL_IF>>&nbsp;Oben (mit CSS)
151
        <input name="menustyle" type="radio" class="radio" value="neu" <TMPL_IF menustyle_neu>checked</TMPL_IF>>&nbsp;Oben (mit Javascript)
152
        <input name="menustyle" type="radio" class="radio" value="old" <TMPL_IF menustyle_old>checked</TMPL_IF>>&nbsp;Alt (seitlich)
150
        <input name="menustyle" type="radio" class="radio" value="v3" [% IF menustyle_v3 %]checked[% END %]>&nbsp;Oben (mit CSS)
151
        <input name="menustyle" type="radio" class="radio" value="neu" [% IF menustyle_neu %]checked[% END %]>&nbsp;Oben (mit Javascript)
152
        <input name="menustyle" type="radio" class="radio" value="old" [% IF menustyle_old %]checked[% END %]>&nbsp;Alt (seitlich)
153 153
       </td>
154 154
      </tr>
155 155

  
156
      <input type="hidden" name="templates" value="<TMPL_VAR myc_templates ESCAPE=HTML>">
156
      <input type="hidden" name="templates" value="[% HTML.escape(myc_templates) %]">
157 157
     </table>
158 158
    </td>
159 159
   </tr>
......
169 169
       <th align="right">Treiber</th>
170 170
       <td>PostgreSQL</td>
171 171
       <th align="right">Datenbankcomputer</th>
172
       <td><input name="dbhost" size="30" value="<TMPL_VAR myc_dbhost ESCAPE=HTML>"></td>
172
       <td><input name="dbhost" size="30" value="[% HTML.escape(myc_dbhost) %]"></td>
173 173
      </tr>
174 174

  
175 175
      <tr>
176 176
       <th align="right">Datenbank</th>
177
       <td><input name="dbname" size="15" value="<TMPL_VAR myc_dbname ESCAPE=HTML>"></td>
177
       <td><input name="dbname" size="15" value="[% HTML.escape(myc_dbname) %]"></td>
178 178
       <th align="right">Port</th>
179
       <td><input name="dbport" size="4" value="<TMPL_VAR myc_dbport ESCAPE=HTML>"></td>
179
       <td><input name="dbport" size="4" value="[% HTML.escape(myc_dbport) %]"></td>
180 180
      </tr>
181 181

  
182 182
      <tr>
183 183
       <th align="right">Benutzer</th>
184
       <td><input name="dbuser" size="15" value="<TMPL_VAR myc_dbuser ESCAPE=HTML>"></td>
184
       <td><input name="dbuser" size="15" value="[% HTML.escape(myc_dbuser) %]"></td>
185 185
       <th align="right">Passwort</th>
186
       <td><input name="dbpasswd" type="password" size="10" value="<TMPL_VAR myc_dbpasswd ESCAPE=HTML>"></td>
186
       <td><input name="dbpasswd" type="password" size="10" value="[% HTML.escape(myc_dbpasswd) %]"></td>
187 187
      </tr>
188 188

  
189
      <input type="hidden" name="old_dbpasswd" value="<TMPL_VAR myc_dbpasswd ESCAPE=HTML>">
189
      <input type="hidden" name="old_dbpasswd" value="[% HTML.escape(myc_dbpasswd) %]">
190 190
     </table>
191 191
    </td>
192 192
   </tr>
......
197 197

  
198 198
   <tr class="listheading"><th colspan="2">Zugriffkontrolle</th></tr>
199 199

  
200
   <TMPL_LOOP ACLS>
200
   [% FOREACH acl = ACLS %]
201 201
    <tr>
202 202
     <td valign="top">
203
      <input type="checkbox" name="ACS_<TMPL_VAR name ESCAPE=HTML>" id="ACS_<TMPL_VAR name ESCAPE=HTML>" value="1" <TMPL_IF checked>checked</TMPL_IF>>
204
      <label for="ACS_<TMPL_VAR name ESCAPE=HTML>"><TMPL_VAR title ESCAPE=HTML></label>
203
      <input type="checkbox" name="ACS_[% HTML.escape(acl.name) %]" id="ACS_[% HTML.escape(acl.name) %]" value="1" [% IF acl.checked %]checked[% END %]>
204
      <label for="ACS_[% HTML.escape(acl.name) %]">[% HTML.escape(acl.title) %]</label>
205 205
     </td>
206 206

  
207 207
     <td valign="top">
208
      <TMPL_LOOP SUBACLS>
209
       <input type="checkbox" name="ACS_<TMPL_VAR name ESCAPE=HTML>" id="ACS_<TMPL_VAR name ESCAPE=HTML>" value="1" <TMPL_IF checked>checked</TMPL_IF>>
210
       <label for="ACS_<TMPL_VAR name ESCAPE=HTML>"><TMPL_VAR title ESCAPE=HTML></label>
211
       <TMPL_UNLESS __last__><br></TMPL_UNLESS>
212
      </TMPL_LOOP>
208
      [% USE SUBACLS_it = Iterator(acl.SUBACLS) %][% FOREACH subacl = SUBACLS_it %]
209
       <input type="checkbox" name="ACS_[% HTML.escape(subacl.name) %]" id="ACS_[% HTML.escape(subacl.name) %]" value="1" [% IF subacl.checked %]checked[% END %]>
210
       <label for="ACS_[% HTML.escape(subacl.name) %]">[% HTML.escape(subacl.title) %]</label>
211
       [% UNLESS SUBACLS_it.last %]<br>[% END %]
212
      [% END %]
213 213
     </td>
214 214
    </tr>
215
   </TMPL_LOOP>
215
   [% END %]
216 216

  
217
   <input type="hidden" name="all_acs" value="<TMPL_VAR all_acs ESCAPE=HTML>">
217
   <input type="hidden" name="all_acs" value="[% HTML.escape(all_acs) %]">
218 218

  
219 219
   <tr><td colspan="2"><hr size="3" noshade></td></tr>
220 220

  
......
226 226
    <td colspan="2">
227 227
     <table>
228 228
      <tr>
229
       <td><input name="angebote" class="checkbox" type="checkbox" value="1" <TMPL_IF myc_angebote>checked</TMPL_IF>>&nbsp;Angebot</td>
230
       <td><input name="bestellungen" class="checkbox" type="checkbox" value="1" <TMPL_IF myc_bestellungen>checked</TMPL_IF>>&nbsp;Bestellung</td>
231
       <td><input name="rechnungen" class="checkbox" type="checkbox" value="1" <TMPL_IF myc_rechnung>checked</TMPL_IF>>&nbsp;Rechnung</td>
229
       <td><input name="angebote" class="checkbox" type="checkbox" value="1" [% IF myc_angebote %]checked[% END %]>&nbsp;Angebot</td>
230
       <td><input name="bestellungen" class="checkbox" type="checkbox" value="1" [% IF myc_bestellungen %]checked[% END %]>&nbsp;Bestellung</td>
231
       <td><input name="rechnungen" class="checkbox" type="checkbox" value="1" [% IF myc_rechnung %]checked[% END %]>&nbsp;Rechnung</td>
232 232
      </tr>
233 233

  
234 234
      <tr>
235
       <td><input name="anfragen" class="checkbox" type="checkbox" value="1" <TMPL_IF myc_anfragen>checked</TMPL_IF>>&nbsp;Anfragen</td>
236
       <td><input name="lieferantenbestellungen" class="checkbox" type="checkbox" value="1" <TMPL_IF myc_lieferantenbestellungen>checked</TMPL_IF>>&nbsp;Lieferantenbestellung</td>
237
       <td><input name="einkaufsrechnungen" class="checkbox" type="checkbox" value="1" <TMPL_IF myc_einkaufsrechnungen>checked</TMPL_IF>>&nbsp;Einkaufsrechnung</td>
235
       <td><input name="anfragen" class="checkbox" type="checkbox" value="1" [% IF myc_anfragen %]checked[% END %]>&nbsp;Anfragen</td>
236
       <td><input name="lieferantenbestellungen" class="checkbox" type="checkbox" value="1" [% IF myc_lieferantenbestellungen %]checked[% END %]>&nbsp;Lieferantenbestellung</td>
237
       <td><input name="einkaufsrechnungen" class="checkbox" type="checkbox" value="1" [% IF myc_einkaufsrechnungen %]checked[% END %]>&nbsp;Einkaufsrechnung</td>
238 238
      </tr>
239 239
     </table>
240 240
    </td>
......
244 244

  
245 245
  </table>
246 246

  
247
  <input name="callback" type="hidden" value="admin.pl?action=list_users&rpw=<TMPL_VAR rpw ESCAPE=URL>">
248
  <input type="hidden" name="rpw" value="<TMPL_VAR rpw ESCAPE=HTML>">
247
  <input name="callback" type="hidden" value="admin.pl?action=list_users&rpw=[% HTML.url(rpw) %]">
248
  <input type="hidden" name="rpw" value="[% HTML.escape(rpw) %]">
249 249

  
250 250
  <input type="submit" class="submit" name="action" value="Speichern">
251 251

  
252
  <TMPL_IF edit>
252
  [% IF edit %]
253 253
   <input type="submit" class="submit" name="action" value="L?schen">
254 254
   <input type="hidden" name="edit" value="1">
255
  </TMPL_IF>
255
  [% END %]
256 256

  
257 257
 </form>
258 258

  
templates/webpages/admin/edit_user_master.html
1
<body class="admin">
1
[% USE HTML %]<body class="admin">
2 2

  
3 3
 <form method="post" action="admin.pl">
4 4

  
5
  <div class="listtop" width="100%"><TMPL_VAR title></div>
5
  <div class="listtop" width="100%">[% title %]</div>
6 6

  
7 7
  <table width="100%">
8 8
   <tr valign="top">
......
10 10
     <table>
11 11
      <tr>
12 12
       <th align="right"><translate>Login</translate></th>
13
       <td><input name="login" value="<TMPL_VAR myc_login ESCAPE=HTML>"></td>
13
       <td><input name="login" value="[% HTML.escape(myc_login) %]"></td>
14 14
      </tr>
15 15

  
16 16
      <tr>
17 17
       <th align="right"><translate>Password</translate></th>
18
       <td><input type="password" name="password" size="8" value="<TMPL_VAR myc_password ESCAPE=HTML>"></td>
19
       <input type="hidden" name="old_password" value="<TMPL_VAR myc_password ESCAPE=HTML>">
18
       <td><input type="password" name="password" size="8" value="[% HTML.escape(myc_password) %]"></td>
19
       <input type="hidden" name="old_password" value="[% HTML.escape(myc_password) %]">
20 20
      </tr>
21 21

  
22 22
      <tr>
23 23
       <th align="right"><translate>Name</translate></th>
24
       <td><input name="name" size="15" value="<TMPL_VAR myc_name ESCAPE=HTML>"></td>
24
       <td><input name="name" size="15" value="[% HTML.escape(myc_name) %]"></td>
25 25
      </tr>
26 26

  
27 27
      <tr>
28 28
       <th align="right"><translate>E-mail</translate></th>
29
       <td><input name="email" size="30" value="<TMPL_VAR myc_email ESCAPE=HTML>"></td>
29
       <td><input name="email" size="30" value="[% HTML.escape(myc_email) %]"></td>
30 30
      </tr>
31 31

  
32 32
      <tr valign="top">
33 33
       <th align="right"><translate>Signature</translate></th>
34
       <td><textarea name="signature" rows="3" cols="35"><TMPL_VAR myc_signature ESCAPE=HTML></textarea></td>
34
       <td><textarea name="signature" rows="3" cols="35">[% HTML.escape(myc_signature) %]</textarea></td>
35 35
      </tr>
36 36

  
37 37
      <tr>
38 38
       <th align="right"><translate>Phone</translate></th>
39
       <td><input name="tel" size="14" value="<TMPL_VAR myc_tel ESCAPE=HTML>"></td>
39
       <td><input name="tel" size="14" value="[% HTML.escape(myc_tel) %]"></td>
40 40
      </tr>
41 41

  
42 42
      <tr>
43 43
       <th align="right"><translate>Fax</translate></th>
44
       <td><input name="fax" size="14" value="<TMPL_VAR myc_fax ESCAPE=HTML>"></td>
44
       <td><input name="fax" size="14" value="[% HTML.escape(myc_fax) %]"></td>
45 45
      </tr>
46 46

  
47 47
      <tr>
48 48
       <th align="right"><translate>Company</translate></th>
49
       <td><input name="company" size="35" value="<TMPL_VAR myc_company ESCAPE=HTML>"></td>
49
       <td><input name="company" size="35" value="[% HTML.escape(myc_company) %]"></td>
50 50
      </tr>
51 51

  
52 52
      <tr valign="top">
53 53
       <th align="right"><translate>Address</translate></th>
54
       <td><textarea name="address" rows="4" cols="35"><TMPL_VAR myc_address ESCAPE=HTML></textarea></td>
54
       <td><textarea name="address" rows="4" cols="35">[% HTML.escape(myc_address) %]</textarea></td>
55 55
      </tr>
56 56

  
57 57
      <tr valign="top">
58 58
       <th align="right"><translate>Tax number</translate></th>
59
       <td><input name="taxnumber" size="14" value="<TMPL_VAR myc_taxnumber ESCAPE=HTML>"></td>
59
       <td><input name="taxnumber" size="14" value="[% HTML.escape(myc_taxnumber) %]"></td>
60 60
      </tr>
61 61

  
62 62
      <tr valign="top">
63 63
       <th align="right"><translate>Ust-IDNr</translate></th>
64
       <td><input name="co_ustid" size="14" value="<TMPL_VAR myc_co_ustid ESCAPE=HTML>"></td>
64
       <td><input name="co_ustid" size="14" value="[% HTML.escape(myc_co_ustid) %]"></td>
65 65
      </tr>
66 66

  
67 67
      <tr valign="top">
68 68
       <th align="right"><translate>DUNS-Nr</translate></th>
69
       <td><input name="duns" size="14" value="<TMPL_VAR myc_duns ESCAPE=HTML>"></td>
69
       <td><input name="duns" size="14" value="[% HTML.escape(myc_duns) %]"></td>
70 70
      </tr>
71 71
     </table>
72 72
    </td>
......
77 77
       <th align="right"><translate>Date Format</translate></th>
78 78
       <td>
79 79
        <select name="dateformat">
80
         <TMPL_LOOP ALL_DATEFORMATS><option <TMPL_IF selected>selected</TMPL_IF>><TMPL_VAR format ESCAPE=HTML></option>
81
         </TMPL_LOOP>
80
         [% FOREACH row = ALL_DATEFORMATS %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.format) %]</option>
81
         [% END %]
82 82
        </select>
83 83
       </td>
84 84
      </tr>
......
87 87
       <th align="right"><translate>Number Format</translate></th>
88 88
       <td>
89 89
        <select name="numberformat">
90
         <TMPL_LOOP ALL_NUMBERFORMATS><option <TMPL_IF selected>selected</TMPL_IF>><TMPL_VAR format ESCAPE=HTML></option>
91
         </TMPL_LOOP>
90
         [% FOREACH row = ALL_NUMBERFORMATS %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.format) %]</option>
91
         [% END %]
92 92
        </select>
93 93
       </td>
94 94
      </tr>
95 95

  
96 96
      <tr>
97 97
       <th align="right"><translate>Dropdown Limit</translate></th>
98
       <td><input name="vclimit" value="<TMPL_VAR myc_vclimit ESCAPE=HTML>"></td>
98
       <td><input name="vclimit" value="[% HTML.escape(myc_vclimit) %]"></td>
99 99
      </tr>
100 100

  
101 101
      <tr>
102 102
       <th align="right"><translate>Language</translate></th>
103 103
       <td>
104 104
        <select name="countrycode">
105
         <TMPL_LOOP ALL_COUNTRYCODES><option value="<TMPL_VAR value ESCAPE=HTML>" <TMPL_IF selected>selected</TMPL_IF>><TMPL_VAR name ESCAPE=HTML></option>
106
         </TMPL_LOOP>
105
         [% FOREACH row = ALL_COUNTRYCODES %]<option value="[% HTML.escape(row.value) %]" [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>
106
         [% END %]
107 107
        </select>
108 108
       </td>
109 109
      </tr>
......
112 112
       <th align="right"><translate>Stylesheet</translate></th>
113 113
       <td>
114 114
        <select name="userstylesheet">
115
         <TMPL_LOOP ALL_STYLESHEETS><option <TMPL_IF selected>selected</TMPL_IF>><TMPL_VAR name ESCAPE=HTML></option>
116
         </TMPL_LOOP>
115
         [% FOREACH row = ALL_STYLESHEETS %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>
116
         [% END %]
117 117
        </select>
118 118
       </td>
119 119
      </tr>
120 120

  
121 121
      <tr>
122 122
       <th align="right"><translate>Printer</translate></th>
123
       <td><input name="printer" size="20" value="<TMPL_VAR myc_printer ESCAPE=HTML>"></td>
123
       <td><input name="printer" size="20" value="[% HTML.escape(myc_printer) %]"></td>
124 124
      </tr>
125 125
      <tr>
126 126
       <th align="right"><translate>Use Templates</translate></th>
127 127
       <td>
128 128
        <select name="usetemplates">
129
         <TMPL_LOOP ALL_TEMPLATES><option <TMPL_IF selected>selected</TMPL_IF>><TMPL_VAR name ESCAPE=HTML></option>
130
         </TMPL_LOOP>
129
         [% FOREACH row = ALL_TEMPLATES %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>
130
         [% END %]
131 131
        </select>
132 132
       </td>
133 133
      </tr>
......
139 139
       <th align="right"><translate>Setup Templates</translate></th>
140 140
       <td>
141 141
        <select name="mastertemplates">
142
         <TMPL_LOOP ALL_MASTER_TEMPLATES><option <TMPL_IF selected>selected</TMPL_IF>><TMPL_VAR name ESCAPE=HTML></option>
143
         </TMPL_LOOP>
142
         [% FOREACH row = ALL_MASTER_TEMPLATES %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>
143
         [% END %]
144 144
        </select>
145 145
       </td>
146 146
      </tr>
147 147
      <tr>
148 148
       <th align="right"><translate>Setup Menu</translate></th>
149 149
       <td>
150
        <input name="menustyle" type="radio" class="radio" value="v3" <TMPL_IF menustyle_v3>checked</TMPL_IF>>&nbsp;<translate>Top (CSS)</translate>
151
        <input name="menustyle" type="radio" class="radio" value="neu" <TMPL_IF menustyle_neu>checked</TMPL_IF>>&nbsp;<translate>Top (Javascript)</translate>
152
        <input name="menustyle" type="radio" class="radio" value="old" <TMPL_IF menustyle_old>checked</TMPL_IF>>&nbsp;<translate>Old (on the side)</translate>
150
        <input name="menustyle" type="radio" class="radio" value="v3" [% IF menustyle_v3 %]checked[% END %]>&nbsp;<translate>Top (CSS)</translate>
151
        <input name="menustyle" type="radio" class="radio" value="neu" [% IF menustyle_neu %]checked[% END %]>&nbsp;<translate>Top (Javascript)</translate>
152
        <input name="menustyle" type="radio" class="radio" value="old" [% IF menustyle_old %]checked[% END %]>&nbsp;<translate>Old (on the side)</translate>
153 153
       </td>
154 154
      </tr>
155 155

  
156
      <input type="hidden" name="templates" value="<TMPL_VAR myc_templates ESCAPE=HTML>">
156
      <input type="hidden" name="templates" value="[% HTML.escape(myc_templates) %]">
157 157
     </table>
158 158
    </td>
159 159
   </tr>
......
169 169
       <th align="right"><translate>Driver</translate></th>
170 170
       <td>PostgreSQL</td>
171 171
       <th align="right"><translate>Host</translate></th>
172
       <td><input name="dbhost" size="30" value="<TMPL_VAR myc_dbhost ESCAPE=HTML>"></td>
172
       <td><input name="dbhost" size="30" value="[% HTML.escape(myc_dbhost) %]"></td>
173 173
      </tr>
174 174

  
175 175
      <tr>
176 176
       <th align="right"><translate>Dataset</translate></th>
177
       <td><input name="dbname" size="15" value="<TMPL_VAR myc_dbname ESCAPE=HTML>"></td>
177
       <td><input name="dbname" size="15" value="[% HTML.escape(myc_dbname) %]"></td>
178 178
       <th align="right"><translate>Port</translate></th>
179
       <td><input name="dbport" size="4" value="<TMPL_VAR myc_dbport ESCAPE=HTML>"></td>
179
       <td><input name="dbport" size="4" value="[% HTML.escape(myc_dbport) %]"></td>
180 180
      </tr>
181 181

  
182 182
      <tr>
183 183
       <th align="right"><translate>User</translate></th>
184
       <td><input name="dbuser" size="15" value="<TMPL_VAR myc_dbuser ESCAPE=HTML>"></td>
184
       <td><input name="dbuser" size="15" value="[% HTML.escape(myc_dbuser) %]"></td>
185 185
       <th align="right"><translate>Password</translate></th>
186
       <td><input name="dbpasswd" type="password" size="10" value="<TMPL_VAR myc_dbpasswd ESCAPE=HTML>"></td>
186
       <td><input name="dbpasswd" type="password" size="10" value="[% HTML.escape(myc_dbpasswd) %]"></td>
187 187
      </tr>
188 188

  
189
      <input type="hidden" name="old_dbpasswd" value="<TMPL_VAR myc_dbpasswd ESCAPE=HTML>">
189
      <input type="hidden" name="old_dbpasswd" value="[% HTML.escape(myc_dbpasswd) %]">
190 190
     </table>
191 191
    </td>
192 192
   </tr>
......
197 197

  
198 198
   <tr class="listheading"><th colspan="2"><translate>Access Control</translate></th></tr>
199 199

  
200
   <TMPL_LOOP ACLS>
200
   [% FOREACH acl = ACLS %]
201 201
    <tr>
202 202
     <td valign="top">
203
      <input type="checkbox" name="ACS_<TMPL_VAR name ESCAPE=HTML>" id="ACS_<TMPL_VAR name ESCAPE=HTML>" value="1" <TMPL_IF checked>checked</TMPL_IF>>
204
      <label for="ACS_<TMPL_VAR name ESCAPE=HTML>"><TMPL_VAR title ESCAPE=HTML></label>
203
      <input type="checkbox" name="ACS_[% HTML.escape(acl.name) %]" id="ACS_[% HTML.escape(acl.name) %]" value="1" [% IF acl.checked %]checked[% END %]>
... Dieser Diff wurde abgeschnitten, weil er die maximale Anzahl anzuzeigender Zeilen überschreitet.

Auch abrufbar als: Unified diff