Revision 5928c143
Von Moritz Bunkus vor etwa 17 Jahren hinzugefügt
bin/mozilla/drafts.pl | ||
---|---|---|
24 | 24 |
$form->{remove_draft} = 1; |
25 | 25 |
|
26 | 26 |
$form->header(); |
27 |
print($form->parse_html_template("drafts/save_new")); |
|
27 |
print($form->parse_html_template2("drafts/save_new"));
|
|
28 | 28 |
|
29 | 29 |
return $lxdebug->leave_sub(); |
30 | 30 |
} |
... | ... | |
70 | 70 |
my $saved_form = save_form(); |
71 | 71 |
|
72 | 72 |
$form->header(); |
73 |
print($form->parse_html_template("drafts/load", |
|
74 |
{ "DRAFTS" => \@drafts, |
|
75 |
"SAVED_FORM" => $saved_form, |
|
76 |
"draft_nextsub" => $draft_nextsub })); |
|
73 |
print($form->parse_html_template2("drafts/load",
|
|
74 |
{ "DRAFTS" => \@drafts,
|
|
75 |
"SAVED_FORM" => $saved_form,
|
|
76 |
"draft_nextsub" => $draft_nextsub }));
|
|
77 | 77 |
|
78 | 78 |
$lxdebug->leave_sub(); |
79 | 79 |
|
templates/webpages/dbupgrade/std_buchungsgruppen_unknown_coa_de.html | ||
---|---|---|
1 |
[% USE HTML %]<div class="listtop">Unknown chart of accounts</div>
|
|
1 |
[% USE HTML %]<div class="listtop">Unbekannter Kontenrahmen</div>
|
|
2 | 2 |
|
3 | 3 |
<form name="Form" method="post" action="login.pl"> |
4 | 4 |
|
... | ... | |
12 | 12 |
[% END %] |
13 | 13 |
|
14 | 14 |
<p> |
15 |
Note:
|
|
16 |
This installation uses an unknown chart of accounts ("[% HTML.escape(coa) %]"). This database upgrade cannot create standard buchungsgruppen automatically.
|
|
15 |
Hinweis:
|
|
16 |
Diese Installation benutzt einen unbekannten Kontenrahmen ("[% HTML.escape(coa) %]"). Dieses Datenbankupgrade kann die Standardbuchungsgruppen nicht automatisch anlegen.
|
|
17 | 17 |
</p> |
18 | 18 |
|
19 | 19 |
<hr> |
templates/webpages/drafts/load_de.html | ||
---|---|---|
1 |
<body> |
|
1 |
[% USE HTML %]<body>
|
|
2 | 2 |
|
3 |
<form action="<TMPL_VAR script ESCAPE=HTML>" method="post">
|
|
3 |
<form action="[% HTML.escape(script) %]" method="post">
|
|
4 | 4 |
|
5 |
<input type="hidden" name="login" value="<TMPL_VAR login ESCAPE=HTML>">
|
|
6 |
<input type="hidden" name="password" value="<TMPL_VAR password ESCAPE=HTML>">
|
|
5 |
<input type="hidden" name="login" value="[% HTML.escape(login) %]">
|
|
6 |
<input type="hidden" name="password" value="[% HTML.escape(password) %]">
|
|
7 | 7 |
|
8 |
<input type="hidden" name="SAVED_FORM" value="<TMPL_VAR SAVED_FORM ESCAPE=HTML>">
|
|
8 |
<input type="hidden" name="SAVED_FORM" value="[% HTML.escape(SAVED_FORM) %]">
|
|
9 | 9 |
|
10 | 10 |
<table width="100%"> |
11 | 11 |
<tr> |
... | ... | |
29 | 29 |
<th class="listheading">Bearbeiter</th> |
30 | 30 |
</tr> |
31 | 31 |
|
32 |
<TMPL_LOOP DRAFTS>
|
|
33 |
<tr class="listrow<TMPL_IF __odd__>1<TMPL_ELSE>0</TMPL_IF>">
|
|
34 |
<td><input type="checkbox" name="checked_<TMPL_VAR id>" value="1"></td>
|
|
35 |
<td><TMPL_VAR itime ESCAPE=HTML></td>
|
|
36 |
<td><a href="<TMPL_VAR script ESCAPE=URL>?login=<TMPL_VAR login ESCAPE=URL>&password=<TMPL_VAR password ESCAPE=URL>&action=load_draft&id=<TMPL_VAR id ESCAPE=URL>"><TMPL_VAR description ESCAPE=HTML></a></td>
|
|
37 |
<td><TMPL_VAR employee_name ESCAPE=HTML></td>
|
|
32 |
[% FOREACH row = DRAFTS %]
|
|
33 |
<tr class="listrow[% loop.count % 2 %]">
|
|
34 |
<td><input type="checkbox" name="checked_[% row.id %]" value="1"></td>
|
|
35 |
<td>[% HTML.escape(row.itime) %]</td>
|
|
36 |
<td><a href="[% HTML.url(script) %]?login=[% HTML.url(login) %]&password=[% HTML.url(password) %]&action=load_draft&id=[% HTML.url(row.id) %]">[% HTML.escape(row.description) %]</a></td>
|
|
37 |
<td>[% HTML.escape(row.employee_name) %]</td>
|
|
38 | 38 |
</tr> |
39 |
</TMPL_LOOP>
|
|
39 |
[% END %]
|
|
40 | 40 |
</table> |
41 | 41 |
</td> |
42 | 42 |
</tr> |
templates/webpages/drafts/load_master.html | ||
---|---|---|
1 |
<body> |
|
1 |
[% USE HTML %]<body>
|
|
2 | 2 |
|
3 |
<form action="<TMPL_VAR script ESCAPE=HTML>" method="post">
|
|
3 |
<form action="[% HTML.escape(script) %]" method="post">
|
|
4 | 4 |
|
5 |
<input type="hidden" name="login" value="<TMPL_VAR login ESCAPE=HTML>">
|
|
6 |
<input type="hidden" name="password" value="<TMPL_VAR password ESCAPE=HTML>">
|
|
5 |
<input type="hidden" name="login" value="[% HTML.escape(login) %]">
|
|
6 |
<input type="hidden" name="password" value="[% HTML.escape(password) %]">
|
|
7 | 7 |
|
8 |
<input type="hidden" name="SAVED_FORM" value="<TMPL_VAR SAVED_FORM ESCAPE=HTML>">
|
|
8 |
<input type="hidden" name="SAVED_FORM" value="[% HTML.escape(SAVED_FORM) %]">
|
|
9 | 9 |
|
10 | 10 |
<table width="100%"> |
11 | 11 |
<tr> |
... | ... | |
29 | 29 |
<th class="listheading"><translate>Employee</translate></th> |
30 | 30 |
</tr> |
31 | 31 |
|
32 |
<TMPL_LOOP DRAFTS>
|
|
33 |
<tr class="listrow<TMPL_IF __odd__>1<TMPL_ELSE>0</TMPL_IF>">
|
|
34 |
<td><input type="checkbox" name="checked_<TMPL_VAR id>" value="1"></td>
|
|
35 |
<td><TMPL_VAR itime ESCAPE=HTML></td>
|
|
36 |
<td><a href="<TMPL_VAR script ESCAPE=URL>?login=<TMPL_VAR login ESCAPE=URL>&password=<TMPL_VAR password ESCAPE=URL>&action=load_draft&id=<TMPL_VAR id ESCAPE=URL>"><TMPL_VAR description ESCAPE=HTML></a></td>
|
|
37 |
<td><TMPL_VAR employee_name ESCAPE=HTML></td>
|
|
32 |
[% FOREACH row = DRAFTS %]
|
|
33 |
<tr class="listrow[% loop.count % 2 %]">
|
|
34 |
<td><input type="checkbox" name="checked_[% row.id %]" value="1"></td>
|
|
35 |
<td>[% HTML.escape(row.itime) %]</td>
|
|
36 |
<td><a href="[% HTML.url(script) %]?login=[% HTML.url(login) %]&password=[% HTML.url(password) %]&action=load_draft&id=[% HTML.url(row.id) %]">[% HTML.escape(row.description) %]</a></td>
|
|
37 |
<td>[% HTML.escape(row.employee_name) %]</td>
|
|
38 | 38 |
</tr> |
39 |
</TMPL_LOOP>
|
|
39 |
[% END %]
|
|
40 | 40 |
</table> |
41 | 41 |
</td> |
42 | 42 |
</tr> |
templates/webpages/drafts/save_new_de.html | ||
---|---|---|
1 |
<body> |
|
1 |
[% USE HTML %]<body>
|
|
2 | 2 |
|
3 |
<form action="<TMPL_VAR script ESCAPE=HTML>" method="post">
|
|
3 |
<form action="[% HTML.escape(script) %]" method="post">
|
|
4 | 4 |
|
5 |
<input type="hidden" name="login" value="<TMPL_VAR login ESCAPE=HTML>">
|
|
6 |
<input type="hidden" name="password" value="<TMPL_VAR password ESCAPE=HTML>">
|
|
5 |
<input type="hidden" name="login" value="[% HTML.escape(login) %]">
|
|
6 |
<input type="hidden" name="password" value="[% HTML.escape(password) %]">
|
|
7 | 7 |
|
8 |
<input type="hidden" name="SAVED_FORM" value="<TMPL_VAR SAVED_FORM ESCAPE=HTML>">
|
|
8 |
<input type="hidden" name="SAVED_FORM" value="[% HTML.escape(SAVED_FORM) %]">
|
|
9 | 9 |
|
10 | 10 |
<table width="100%"> |
11 | 11 |
<tr> |
templates/webpages/drafts/save_new_master.html | ||
---|---|---|
1 |
<body> |
|
1 |
[% USE HTML %]<body>
|
|
2 | 2 |
|
3 |
<form action="<TMPL_VAR script ESCAPE=HTML>" method="post">
|
|
3 |
<form action="[% HTML.escape(script) %]" method="post">
|
|
4 | 4 |
|
5 |
<input type="hidden" name="login" value="<TMPL_VAR login ESCAPE=HTML>">
|
|
6 |
<input type="hidden" name="password" value="<TMPL_VAR password ESCAPE=HTML>">
|
|
5 |
<input type="hidden" name="login" value="[% HTML.escape(login) %]">
|
|
6 |
<input type="hidden" name="password" value="[% HTML.escape(password) %]">
|
|
7 | 7 |
|
8 |
<input type="hidden" name="SAVED_FORM" value="<TMPL_VAR SAVED_FORM ESCAPE=HTML>">
|
|
8 |
<input type="hidden" name="SAVED_FORM" value="[% HTML.escape(SAVED_FORM) %]">
|
|
9 | 9 |
|
10 | 10 |
<table width="100%"> |
11 | 11 |
<tr> |
Auch abrufbar als: Unified diff
Umstellung der Vorlagen aus templates/webpages/drafts von HTML::Template auf Template.