Revision 1adc3d65
Von Moritz Bunkus vor etwa 17 Jahren hinzugefügt
bin/mozilla/common.pl | ||
---|---|---|
307 | 307 |
|
308 | 308 |
$form->{"title"} = $locale->text("Select a Customer"); |
309 | 309 |
$form->header(); |
310 |
print($form->parse_html_template("generic/select_delivery_customer", { "HEADER" => \@header,
|
|
311 |
"DELIVERY" => $delivery, |
|
312 |
"onload" => $onload }));
|
|
310 |
print $form->parse_html_template2("generic/select_delivery_customer", { "HEADER" => \@header,
|
|
311 |
"DELIVERY" => $delivery,
|
|
312 |
"onload" => $onload });
|
|
313 | 313 |
|
314 | 314 |
$lxdebug->leave_sub(); |
315 | 315 |
} |
... | ... | |
349 | 349 |
|
350 | 350 |
$form->{"title"} = $locale->text("Select a Customer"); |
351 | 351 |
$form->header(); |
352 |
print($form->parse_html_template("generic/select_vendor", { "HEADER" => \@header,
|
|
353 |
"VENDOR" => $vendor,
|
|
354 |
"onload" => $onload }));
|
|
352 |
print $form->parse_html_template2("generic/select_vendor", { "HEADER" => \@header,
|
|
353 |
"VENDOR" => $vendor, |
|
354 |
"onload" => $onload });
|
|
355 | 355 |
|
356 | 356 |
$lxdebug->leave_sub(); |
357 | 357 |
} |
... | ... | |
405 | 405 |
sub set_longdescription { |
406 | 406 |
$lxdebug->enter_sub(); |
407 | 407 |
|
408 |
|
|
409 |
my $callback = "$form->{script}?action=set_longdescription&"; |
|
410 |
map({ $callback .= "$_=" . $form->escape($form->{$_}) . "&" } |
|
411 |
(qw(login password name input_name input_id), grep({ /^[fl]_/ } keys %$form))); |
|
412 |
|
|
413 |
$form->{"title"} = $locale->text("Enter longdescription"); |
|
408 |
$form->{title} = $locale->text("Enter longdescription"); |
|
414 | 409 |
$form->header(); |
415 |
print($form->parse_html_template("generic/set_longdescription"));
|
|
410 |
print $form->parse_html_template2("generic/set_longdescription");
|
|
416 | 411 |
|
417 | 412 |
$lxdebug->leave_sub(); |
418 | 413 |
} |
bin/mozilla/io.pl | ||
---|---|---|
348 | 348 |
# save all form variables except action in a previousform variable |
349 | 349 |
my $previousform = join '&', map { $form->{$_} =~ s/&/%26/; "$_=$form->{$_}" } grep { !/action/ } keys %$form; |
350 | 350 |
|
351 |
map { $form->{"${_}_$form->{rowcount}"} =~ s/\"/"/g } qw(partnumber description); |
|
351 |
push @HIDDENS, { 'name' => 'previousform', 'value' => $form->escape($previousform, 1) }; |
|
352 |
push @HIDDENS, map +{ 'name' => $_, 'value' => $form->{$_} }, qw(rowcount vc login password); |
|
353 |
push @HIDDENS, map +{ 'name' => $_, 'value' => $form->{"${_}_$form->{rowcount}"} }, qw(partnumber description unit sellprice); |
|
354 |
push @HIDDENS, { 'name' => 'taxaccount2', 'value' => $form->{taxaccounts} }; |
|
352 | 355 |
|
353 |
$form->header; |
|
354 |
|
|
355 |
push @HIDDENS, { value => $cgi->hidden("-name" => "previousform", "-value" => $form->escape($previousform, 1)) }; |
|
356 |
push @HIDDENS, map +{ value => $cgi->hidden("-name" => $_, "-value" => $form->{$_}) }, qw(rowcount vc login password); |
|
357 |
push @HIDDENS, map +{ value => $cgi->hidden("-name" => $_, "-value" => $form->{"${_}_$form->{rowcount}"}) }, qw(partnumber description unit sellprice); |
|
358 |
push @HIDDENS, { value => $cgi->hidden("-name" => "taxaccount2", "-value" => $form->{taxaccounts}) }; |
|
359 |
|
|
360 |
print $form->parse_html_template("generic/new_item", { HIDDENS => \@HIDDENS} ); |
|
356 |
$form->header(); |
|
357 |
print $form->parse_html_template2("generic/new_item", { HIDDENS => [ sort { $a->{name} cmp $b->{name} } @HIDDENS ] } ); |
|
361 | 358 |
|
362 | 359 |
$lxdebug->leave_sub(); |
363 | 360 |
} |
... | ... | |
837 | 834 |
remove_draft_checked => $form->{remove_draft} ? "checked" : '' |
838 | 835 |
); |
839 | 836 |
|
840 |
my $print_options = $form->parse_html_template("generic/print_options", { SELECTS => \@SELECTS, %template_vars } ); |
|
837 |
my $print_options = $form->parse_html_template2("generic/print_options", { SELECTS => \@SELECTS, %template_vars } );
|
|
841 | 838 |
|
842 | 839 |
if ($options{inline}) { |
843 |
$lxdebug->leave_sub() and return $print_options; |
|
844 |
} else { |
|
845 |
print $print_options; $lxdebug->leave_sub(); |
|
840 |
$lxdebug->leave_sub(); |
|
841 |
return $print_options; |
|
846 | 842 |
} |
843 |
|
|
844 |
print $print_options; |
|
845 |
|
|
846 |
$lxdebug->leave_sub(); |
|
847 | 847 |
} |
848 | 848 |
|
849 | 849 |
sub print { |
templates/webpages/generic/new_item_de.html | ||
---|---|---|
1 |
<body> |
|
1 |
[% USE HTML %] <body>
|
|
2 | 2 |
|
3 | 3 |
<h4 class="error">Dieser Artikel ist nicht in der Datenbank! |
4 | 4 |
|
... | ... | |
13 | 13 |
<input class="radio" type="radio" name="item" value="service"> Dienstleistung |
14 | 14 |
<p> |
15 | 15 |
|
16 |
<TMPL_LOOP HIDDENS><TMPL_VAR value> |
|
17 |
</TMPL_LOOP> |
|
16 |
[%- FOREACH var = HIDDENS %] |
|
17 |
<input type="hidden" name="[% HTML.escape(var.name) %]" value="[% HTML.escape(var.value) %]"> |
|
18 |
[%- END %] |
|
18 | 19 |
|
19 | 20 |
<input type="hidden" name="nextsub" value="add"> |
20 | 21 |
<input class="submit" type="submit" name="action" value="Weiter"> |
templates/webpages/generic/new_item_master.html | ||
---|---|---|
1 |
<body> |
|
1 |
[% USE HTML %] <body>
|
|
2 | 2 |
|
3 | 3 |
<h4 class="error"><translate>Item not on file!</translate> |
4 | 4 |
|
... | ... | |
13 | 13 |
<input class="radio" type="radio" name="item" value="service"> <translate>Service</translate> |
14 | 14 |
<p> |
15 | 15 |
|
16 |
<TMPL_LOOP HIDDENS><TMPL_VAR value> |
|
17 |
</TMPL_LOOP> |
|
16 |
[%- FOREACH var = HIDDENS %] |
|
17 |
<input type="hidden" name="[% HTML.escape(var.name) %]" value="[% HTML.escape(var.value) %]"> |
|
18 |
[%- END %] |
|
18 | 19 |
|
19 | 20 |
<input type="hidden" name="nextsub" value="add"> |
20 | 21 |
<input class="submit" type="submit" name="action" value="<translate>Continue</translate>"> |
templates/webpages/generic/print_options_de.html | ||
---|---|---|
1 |
<table width=100% cellspacing=0 cellpadding=0> |
|
2 |
<tr> |
|
3 |
<td> |
|
4 |
<table> |
|
5 |
<tr> |
|
6 |
<td> |
|
7 |
<TMPL_LOOP SELECTS><TMPL_IF show> |
|
8 |
<select name="<TMPL_VAR sname>"><TMPL_LOOP DATA> |
|
9 |
<option value="<TMPL_VAR value>" <TMPL_VAR selected>><TMPL_VAR oname></option></TMPL_LOOP></select> |
|
10 |
</TMPL_IF></TMPL_LOOP> |
|
11 |
</td> |
|
12 |
<TMPL_IF display_copies> |
|
13 |
<td>Kopien <input name=copies size=2 value=<TMPL_VAR copies>></td> |
|
14 |
</TMPL_IF> |
|
15 |
<TMPL_IF display_groupitems> |
|
16 |
<td>Waren gruppieren</td> |
|
17 |
<td><input name=groupitems type=checkbox class=checkbox <TMPL_VAR groupitems_checked>></td> |
|
18 |
</TMPL_IF> |
|
19 |
<TMPL_IF display_remove_draft> |
|
20 |
<td>Entwurf löschen</td> |
|
21 |
<td><input name=remove_draft type=checkbox class=checkbox <TMPL_VAR remove_draft_checked>></td> |
|
22 |
</TMPL_IF> |
|
1 |
[% USE HTML %] |
|
2 |
|
|
3 |
<table width="100%" cellspacing="0" cellpadding="0"> |
|
4 |
<tr> |
|
5 |
<td> |
|
6 |
<table> |
|
7 |
<tr> |
|
8 |
<td> |
|
9 |
[%- FOREACH row = SELECTS %] |
|
10 |
[%- IF row.show %] |
|
11 |
<select name="[% row.sname %]"> |
|
12 |
[%- FOREACH data = row.DATA %] |
|
13 |
<option value="[% data.value %]" [% data.selected %]>[% data.oname %]</option> |
|
14 |
[%- END %] |
|
15 |
</select> |
|
16 |
[%- END %] |
|
17 |
[%- END %] |
|
18 |
</td> |
|
19 |
[%- IF display_copies %] |
|
20 |
<td>Kopien <input name="copies" size="2" value="[% HTML.escape(copies) %]"></td> |
|
21 |
[%- END %] |
|
22 |
[%- IF display_groupitems %] |
|
23 |
<td>Waren gruppieren</td> |
|
24 |
<td><input name="groupitems" type="checkbox" class="checkbox" [% groupitems_checked %]></td> |
|
25 |
[%- END %] |
|
26 |
[%- IF display_remove_draft %] |
|
27 |
<td>Entwurf löschen</td> |
|
28 |
<td><input name="remove_draft" type="checkbox" class="checkbox" [% remove_draft_checked %]></td> |
|
29 |
[%- END %] |
|
23 | 30 |
</tr> |
24 |
</table>
|
|
25 |
</td>
|
|
26 |
<td align=right>
|
|
27 |
<table><tr><th><TMPL_VAR status_msg></th></tr></table>
|
|
28 |
</td>
|
|
29 |
</tr>
|
|
31 |
</table> |
|
32 |
</td> |
|
33 |
<td align=right> |
|
34 |
<table><tr><th>[% status_msg %]</th></tr></table>
|
|
35 |
</td> |
|
36 |
</tr> |
|
30 | 37 |
</table> |
31 | 38 |
|
templates/webpages/generic/print_options_master.html | ||
---|---|---|
1 |
<table width=100% cellspacing=0 cellpadding=0> |
|
2 |
<tr> |
|
3 |
<td> |
|
4 |
<table> |
|
5 |
<tr> |
|
6 |
<td> |
|
7 |
<TMPL_LOOP SELECTS><TMPL_IF show> |
|
8 |
<select name="<TMPL_VAR sname>"><TMPL_LOOP DATA> |
|
9 |
<option value="<TMPL_VAR value>" <TMPL_VAR selected>><TMPL_VAR oname></option></TMPL_LOOP></select> |
|
10 |
</TMPL_IF></TMPL_LOOP> |
|
11 |
</td> |
|
12 |
<TMPL_IF display_copies> |
|
13 |
<td><translate>Copies</translate> <input name=copies size=2 value=<TMPL_VAR copies>></td> |
|
14 |
</TMPL_IF> |
|
15 |
<TMPL_IF display_groupitems> |
|
16 |
<td><translate>Group Items</translate></td> |
|
17 |
<td><input name=groupitems type=checkbox class=checkbox <TMPL_VAR groupitems_checked>></td> |
|
18 |
</TMPL_IF> |
|
19 |
<TMPL_IF display_remove_draft> |
|
20 |
<td><translate>Remove Draft</translate></td> |
|
21 |
<td><input name=remove_draft type=checkbox class=checkbox <TMPL_VAR remove_draft_checked>></td> |
|
22 |
</TMPL_IF> |
|
1 |
[% USE HTML %] |
|
2 |
|
|
3 |
<table width="100%" cellspacing="0" cellpadding="0"> |
|
4 |
<tr> |
|
5 |
<td> |
|
6 |
<table> |
|
7 |
<tr> |
|
8 |
<td> |
|
9 |
[%- FOREACH row = SELECTS %] |
|
10 |
[%- IF row.show %] |
|
11 |
<select name="[% row.sname %]"> |
|
12 |
[%- FOREACH data = row.DATA %] |
|
13 |
<option value="[% data.value %]" [% data.selected %]>[% data.oname %]</option> |
|
14 |
[%- END %] |
|
15 |
</select> |
|
16 |
[%- END %] |
|
17 |
[%- END %] |
|
18 |
</td> |
|
19 |
[%- IF display_copies %] |
|
20 |
<td><translate>Copies</translate> <input name="copies" size="2" value="[% HTML.escape(copies) %]"></td> |
|
21 |
[%- END %] |
|
22 |
[%- IF display_groupitems %] |
|
23 |
<td><translate>Group Items</translate></td> |
|
24 |
<td><input name="groupitems" type="checkbox" class="checkbox" [% groupitems_checked %]></td> |
|
25 |
[%- END %] |
|
26 |
[%- IF display_remove_draft %] |
|
27 |
<td><translate>Remove Draft</translate></td> |
|
28 |
<td><input name="remove_draft" type="checkbox" class="checkbox" [% remove_draft_checked %]></td> |
|
29 |
[%- END %] |
|
23 | 30 |
</tr> |
24 |
</table>
|
|
25 |
</td>
|
|
26 |
<td align=right>
|
|
27 |
<table><tr><th><TMPL_VAR status_msg></th></tr></table>
|
|
28 |
</td>
|
|
29 |
</tr>
|
|
31 |
</table> |
|
32 |
</td> |
|
33 |
<td align=right> |
|
34 |
<table><tr><th>[% status_msg %]</th></tr></table>
|
|
35 |
</td> |
|
36 |
</tr> |
|
30 | 37 |
</table> |
31 | 38 |
|
templates/webpages/generic/select_delivery_customer_de.html | ||
---|---|---|
1 |
<body <TMPL_IF NAME=onload>onload="<TMPL_VAR NAME=onload>"</TMPL_IF>>
|
|
1 |
[% USE HTML %]<body onload="[% onload %]">
|
|
2 | 2 |
|
3 | 3 |
<form name="Form"> |
4 | 4 |
|
5 |
<input type="hidden" name="input_name" value="<TMPL_VAR NAME=input_name ESCAPE=HTML>"> |
|
6 |
<input type="hidden" name="input_id" value="<TMPL_VAR NAME=input_id ESCAPE=HTML>"> |
|
5 |
<input type="hidden" name="input_name" value="[% HTML.escape(input_name) %]"> |
|
6 |
<input type="hidden" name="input_id" value="[% HTML.escape(input_id) %]"> |
|
7 |
|
|
8 |
<div class="listtop">[% title %]</div> |
|
7 | 9 |
|
8 | 10 |
<table width="100%"> |
9 |
<tr> |
|
10 |
<th class="listtop"><TMPL_VAR NAME=title></th> |
|
11 |
</tr> |
|
12 | 11 |
<tr height="5"></tr> |
13 | 12 |
|
14 | 13 |
<tr><td>Bitte einen Endkunden aus der Liste ausw?hlen</td></tr> |
... | ... | |
19 | 18 |
<table> |
20 | 19 |
<tr class="listheading"> |
21 | 20 |
<th class="listheading"> </th> |
22 |
<TMPL_LOOP NAME=HEADER>
|
|
23 |
<th nowrap class="listheading"><a href="<TMPL_VAR NAME=callback ESCAPE=HTML>"><TMPL_VAR NAME=column_title></a></th>
|
|
24 |
</TMPL_LOOP>
|
|
21 |
[%- FOREACH col = HEADER %]
|
|
22 |
<th nowrap class="listheading"><a href="[% HTML.escape(col.callback) %]">[% col.column_title %]</a></th>
|
|
23 |
[%- END %]
|
|
25 | 24 |
</tr> |
26 | 25 |
|
27 |
<TMPL_LOOP NAME=DELIVERY> |
|
28 |
<tr class="listrow<TMPL_IF NAME=__odd__>1<TMPL_ELSE>0</TMPL_IF>"> |
|
29 |
<td><button type="button" onclick="customer_selected('<TMPL_VAR NAME=__counter__>')">Auswahl</button></td> |
|
30 |
<td><input type="hidden" id="id_<TMPL_VAR NAME=__counter__>" name="id_<TMPL_VAR NAME=__counter__>" value="<TMPL_VAR NAME=id ESCAPE=HTML>"> |
|
31 |
<input type="hidden" id="name_<TMPL_VAR NAME=__counter__>" name="name_<TMPL_VAR NAME=__counter__>" value="<TMPL_VAR NAME=name ESCAPE=HTML>"> |
|
32 |
<TMPL_VAR NAME=name ESCAPE=HTML></td> |
|
33 |
<td><TMPL_VAR NAME=customernumber ESCAPE=HTML></td> |
|
34 |
<td><TMPL_VAR NAME=address ESCAPE=HTML></td> |
|
35 |
<!-- <td><input type="hidden" id="description_<TMPL_VAR NAME=__counter__>" name="description_<TMPL_VAR NAME=__counter__>" value="<TMPL_VAR NAME=description ESCAPE=HTML>"> --> |
|
36 |
<!-- <TMPL_VAR NAME=description ESCAPE=HTML></td> --> |
|
37 |
</tr> |
|
38 |
</TMPL_LOOP> |
|
26 |
[%- FOREACH row = DELIVERY %] |
|
27 |
<tr class="listrow[% loop.count % 2 %]"> |
|
28 |
<td><button type="button" onclick="customer_selected('[% loop.count %]')">Auswahl</button></td> |
|
29 |
<td> |
|
30 |
<input type="hidden" id="id_[% loop.count %]" name="id_[% loop.count %]" value="[% HTML.escape(row.id) %]"> |
|
31 |
<input type="hidden" id="name_[% loop.count %]" name="name_[% loop.count %]" value="[% HTML.escape(row.name) %]"> |
|
32 |
[% HTML.escape(row.name) %] |
|
33 |
</td> |
|
34 |
<td>[% HTML.escape(row.customernumber) %]</td> |
|
35 |
<td>[% HTML.escape(row.address) %]</td> |
|
36 |
<!-- <td> --> |
|
37 |
<!-- <input type="hidden" id="description_[% loop.count %]" name="description_[% loop.count %]" value="[% HTML.escape(row.description) %]"> --> |
|
38 |
<!-- [% HTML.escape(row.description) %] --> |
|
39 |
<!-- </td> --> |
|
40 |
</tr> |
|
41 |
[%- END %] |
|
39 | 42 |
</table> |
40 | 43 |
|
41 | 44 |
</td> |
templates/webpages/generic/select_delivery_customer_master.html | ||
---|---|---|
1 |
<body <TMPL_IF NAME=onload>onload="<TMPL_VAR NAME=onload>"</TMPL_IF>>
|
|
1 |
[% USE HTML %]<body onload="[% onload %]">
|
|
2 | 2 |
|
3 | 3 |
<form name="Form"> |
4 | 4 |
|
5 |
<input type="hidden" name="input_name" value="<TMPL_VAR NAME=input_name ESCAPE=HTML>"> |
|
6 |
<input type="hidden" name="input_id" value="<TMPL_VAR NAME=input_id ESCAPE=HTML>"> |
|
5 |
<input type="hidden" name="input_name" value="[% HTML.escape(input_name) %]"> |
|
6 |
<input type="hidden" name="input_id" value="[% HTML.escape(input_id) %]"> |
|
7 |
|
|
8 |
<div class="listtop">[% title %]</div> |
|
7 | 9 |
|
8 | 10 |
<table width="100%"> |
9 |
<tr> |
|
10 |
<th class="listtop"><TMPL_VAR NAME=title></th> |
|
11 |
</tr> |
|
12 | 11 |
<tr height="5"></tr> |
13 | 12 |
|
14 | 13 |
<tr><td><translate>Please select a customer from the list below.</translate></td></tr> |
... | ... | |
19 | 18 |
<table> |
20 | 19 |
<tr class="listheading"> |
21 | 20 |
<th class="listheading"> </th> |
22 |
<TMPL_LOOP NAME=HEADER>
|
|
23 |
<th nowrap class="listheading"><a href="<TMPL_VAR NAME=callback ESCAPE=HTML>"><TMPL_VAR NAME=column_title></a></th>
|
|
24 |
</TMPL_LOOP>
|
|
21 |
[%- FOREACH col = HEADER %]
|
|
22 |
<th nowrap class="listheading"><a href="[% HTML.escape(col.callback) %]">[% col.column_title %]</a></th>
|
|
23 |
[%- END %]
|
|
25 | 24 |
</tr> |
26 | 25 |
|
27 |
<TMPL_LOOP NAME=DELIVERY> |
|
28 |
<tr class="listrow<TMPL_IF NAME=__odd__>1<TMPL_ELSE>0</TMPL_IF>"> |
|
29 |
<td><button type="button" onclick="customer_selected('<TMPL_VAR NAME=__counter__>')">Auswahl</button></td> |
|
30 |
<td><input type="hidden" id="id_<TMPL_VAR NAME=__counter__>" name="id_<TMPL_VAR NAME=__counter__>" value="<TMPL_VAR NAME=id ESCAPE=HTML>"> |
|
31 |
<input type="hidden" id="name_<TMPL_VAR NAME=__counter__>" name="name_<TMPL_VAR NAME=__counter__>" value="<TMPL_VAR NAME=name ESCAPE=HTML>"> |
|
32 |
<TMPL_VAR NAME=name ESCAPE=HTML></td> |
|
33 |
<td><TMPL_VAR NAME=customernumber ESCAPE=HTML></td> |
|
34 |
<td><TMPL_VAR NAME=address ESCAPE=HTML></td> |
|
35 |
<!-- <td><input type="hidden" id="description_<TMPL_VAR NAME=__counter__>" name="description_<TMPL_VAR NAME=__counter__>" value="<TMPL_VAR NAME=description ESCAPE=HTML>"> --> |
|
36 |
<!-- <TMPL_VAR NAME=description ESCAPE=HTML></td> --> |
|
37 |
</tr> |
|
38 |
</TMPL_LOOP> |
|
26 |
[%- FOREACH row = DELIVERY %] |
|
27 |
<tr class="listrow[% loop.count % 2 %]"> |
|
28 |
<td><button type="button" onclick="customer_selected('[% loop.count %]')">Auswahl</button></td> |
|
29 |
<td> |
|
30 |
<input type="hidden" id="id_[% loop.count %]" name="id_[% loop.count %]" value="[% HTML.escape(row.id) %]"> |
|
31 |
<input type="hidden" id="name_[% loop.count %]" name="name_[% loop.count %]" value="[% HTML.escape(row.name) %]"> |
|
32 |
[% HTML.escape(row.name) %] |
|
33 |
</td> |
|
34 |
<td>[% HTML.escape(row.customernumber) %]</td> |
|
35 |
<td>[% HTML.escape(row.address) %]</td> |
|
36 |
<!-- <td> --> |
|
37 |
<!-- <input type="hidden" id="description_[% loop.count %]" name="description_[% loop.count %]" value="[% HTML.escape(row.description) %]"> --> |
|
38 |
<!-- [% HTML.escape(row.description) %] --> |
|
39 |
<!-- </td> --> |
|
40 |
</tr> |
|
41 |
[%- END %] |
|
39 | 42 |
</table> |
40 | 43 |
|
41 | 44 |
</td> |
templates/webpages/generic/select_vendor_de.html | ||
---|---|---|
1 |
<body <TMPL_IF NAME=onload>onload="<TMPL_VAR NAME=onload>"</TMPL_IF>>
|
|
1 |
[% USE HTML %]<body onload="[% onload %]">
|
|
2 | 2 |
|
3 | 3 |
<form name="Form"> |
4 | 4 |
|
5 |
<input type="hidden" name="input_name" value="<TMPL_VAR NAME=input_name ESCAPE=HTML>"> |
|
6 |
<input type="hidden" name="input_id" value="<TMPL_VAR NAME=input_id ESCAPE=HTML>"> |
|
5 |
<input type="hidden" name="input_name" value="[% HTML.escape(input_name) %]"> |
|
6 |
<input type="hidden" name="input_id" value="[% HTML.escape(input_id) %]"> |
|
7 |
|
|
8 |
<div class="listtop">[% title %]</div> |
|
7 | 9 |
|
8 | 10 |
<table width="100%"> |
9 |
<tr> |
|
10 |
<th class="listtop"><TMPL_VAR NAME=title></th> |
|
11 |
</tr> |
|
12 | 11 |
<tr height="5"></tr> |
13 | 12 |
|
14 | 13 |
<tr><td>Bitte einen H?ndler aus der Liste ausw?hlen</td></tr> |
... | ... | |
19 | 18 |
<table> |
20 | 19 |
<tr class="listheading"> |
21 | 20 |
<th class="listheading"> </th> |
22 |
<TMPL_LOOP NAME=HEADER>
|
|
23 |
<th nowrap class="listheading"><a href="<TMPL_VAR NAME=callback ESCAPE=HTML>"><TMPL_VAR NAME=column_title></a></th>
|
|
24 |
</TMPL_LOOP>
|
|
21 |
[%- FOREACH col = HEADER %]
|
|
22 |
<th nowrap class="listheading"><a href="[% HTML.escape(col.callback) %]">[% col.column_title %]</a></th>
|
|
23 |
[%- END %]
|
|
25 | 24 |
</tr> |
26 | 25 |
|
27 |
<TMPL_LOOP NAME=VENDOR> |
|
28 |
<tr class="listrow<TMPL_IF NAME=__odd__>1<TMPL_ELSE>0</TMPL_IF>"> |
|
29 |
<td><button type="button" onclick="vendor_selected('<TMPL_VAR NAME=__counter__>')">Auswahl</button></td> |
|
30 |
<td><input type="hidden" id="id_<TMPL_VAR NAME=__counter__>" name="id_<TMPL_VAR NAME=__counter__>" value="<TMPL_VAR NAME=id ESCAPE=HTML>"> |
|
31 |
<input type="hidden" id="name_<TMPL_VAR NAME=__counter__>" name="name_<TMPL_VAR NAME=__counter__>" value="<TMPL_VAR NAME=name ESCAPE=HTML>"> |
|
32 |
<TMPL_VAR NAME=name ESCAPE=HTML></td> |
|
33 |
<td><TMPL_VAR NAME=customernumber ESCAPE=HTML></td> |
|
34 |
<td><TMPL_VAR NAME=address ESCAPE=HTML></td> |
|
35 |
<!-- <td><input type="hidden" id="description_<TMPL_VAR NAME=__counter__>" name="description_<TMPL_VAR NAME=__counter__>" value="<TMPL_VAR NAME=description ESCAPE=HTML>"> --> |
|
36 |
<!-- <TMPL_VAR NAME=description ESCAPE=HTML></td> --> |
|
37 |
</tr> |
|
38 |
</TMPL_LOOP> |
|
26 |
[%- FOREACH row = VENDOR %] |
|
27 |
<tr class="listrow[% loop.count % 2 %]"> |
|
28 |
<td><button type="button" onclick="vendor_selected('[% loop.count %]')">Auswahl</button></td> |
|
29 |
<td> |
|
30 |
<input type="hidden" id="id_[% loop.count %]" name="id_[% loop.count %]" value="[% HTML.escape(row.id) %]"> |
|
31 |
<input type="hidden" id="name_[% loop.count %]" name="name_[% loop.count %]" value="[% HTML.escape(row.name) %]"> |
|
32 |
[% HTML.escape(name) %] |
|
33 |
</td> |
|
34 |
<td>[% HTML.escape(row.customernumber) %]</td> |
|
35 |
<td>[% HTML.escape(row.address) %]</td> |
|
36 |
<!-- <td> --> |
|
37 |
<!-- <input type="hidden" id="description_[% loop.count %]" name="description_[% loop.count %]" value="[% HTML.escape(row.description) %]"> --> |
|
38 |
<!-- [% HTML.escape(row.description) %] --> |
|
39 |
<!-- </td> --> |
|
40 |
</tr> |
|
41 |
[%- END %] |
|
39 | 42 |
</table> |
40 | 43 |
|
41 | 44 |
</td> |
templates/webpages/generic/select_vendor_master.html | ||
---|---|---|
1 |
<body <TMPL_IF NAME=onload>onload="<TMPL_VAR NAME=onload>"</TMPL_IF>>
|
|
1 |
[% USE HTML %]<body onload="[% onload %]">
|
|
2 | 2 |
|
3 | 3 |
<form name="Form"> |
4 | 4 |
|
5 |
<input type="hidden" name="input_name" value="<TMPL_VAR NAME=input_name ESCAPE=HTML>"> |
|
6 |
<input type="hidden" name="input_id" value="<TMPL_VAR NAME=input_id ESCAPE=HTML>"> |
|
5 |
<input type="hidden" name="input_name" value="[% HTML.escape(input_name) %]"> |
|
6 |
<input type="hidden" name="input_id" value="[% HTML.escape(input_id) %]"> |
|
7 |
|
|
8 |
<div class="listtop">[% title %]</div> |
|
7 | 9 |
|
8 | 10 |
<table width="100%"> |
9 |
<tr> |
|
10 |
<th class="listtop"><TMPL_VAR NAME=title></th> |
|
11 |
</tr> |
|
12 | 11 |
<tr height="5"></tr> |
13 | 12 |
|
14 | 13 |
<tr><td><translate>Please select a vendor from the list below.</translate></td></tr> |
... | ... | |
19 | 18 |
<table> |
20 | 19 |
<tr class="listheading"> |
21 | 20 |
<th class="listheading"> </th> |
22 |
<TMPL_LOOP NAME=HEADER>
|
|
23 |
<th nowrap class="listheading"><a href="<TMPL_VAR NAME=callback ESCAPE=HTML>"><TMPL_VAR NAME=column_title></a></th>
|
|
24 |
</TMPL_LOOP>
|
|
21 |
[%- FOREACH col = HEADER %]
|
|
22 |
<th nowrap class="listheading"><a href="[% HTML.escape(col.callback) %]">[% col.column_title %]</a></th>
|
|
23 |
[%- END %]
|
|
25 | 24 |
</tr> |
26 | 25 |
|
27 |
<TMPL_LOOP NAME=VENDOR> |
|
28 |
<tr class="listrow<TMPL_IF NAME=__odd__>1<TMPL_ELSE>0</TMPL_IF>"> |
|
29 |
<td><button type="button" onclick="vendor_selected('<TMPL_VAR NAME=__counter__>')">Auswahl</button></td> |
|
30 |
<td><input type="hidden" id="id_<TMPL_VAR NAME=__counter__>" name="id_<TMPL_VAR NAME=__counter__>" value="<TMPL_VAR NAME=id ESCAPE=HTML>"> |
|
31 |
<input type="hidden" id="name_<TMPL_VAR NAME=__counter__>" name="name_<TMPL_VAR NAME=__counter__>" value="<TMPL_VAR NAME=name ESCAPE=HTML>"> |
|
32 |
<TMPL_VAR NAME=name ESCAPE=HTML></td> |
|
33 |
<td><TMPL_VAR NAME=customernumber ESCAPE=HTML></td> |
|
34 |
<td><TMPL_VAR NAME=address ESCAPE=HTML></td> |
|
35 |
<!-- <td><input type="hidden" id="description_<TMPL_VAR NAME=__counter__>" name="description_<TMPL_VAR NAME=__counter__>" value="<TMPL_VAR NAME=description ESCAPE=HTML>"> --> |
|
36 |
<!-- <TMPL_VAR NAME=description ESCAPE=HTML></td> --> |
|
37 |
</tr> |
|
38 |
</TMPL_LOOP> |
|
26 |
[%- FOREACH row = VENDOR %] |
|
27 |
<tr class="listrow[% loop.count % 2 %]"> |
|
28 |
<td><button type="button" onclick="vendor_selected('[% loop.count %]')">Auswahl</button></td> |
|
29 |
<td> |
|
30 |
<input type="hidden" id="id_[% loop.count %]" name="id_[% loop.count %]" value="[% HTML.escape(row.id) %]"> |
|
31 |
<input type="hidden" id="name_[% loop.count %]" name="name_[% loop.count %]" value="[% HTML.escape(row.name) %]"> |
|
32 |
[% HTML.escape(name) %] |
|
33 |
</td> |
|
34 |
<td>[% HTML.escape(row.customernumber) %]</td> |
|
35 |
<td>[% HTML.escape(row.address) %]</td> |
|
36 |
<!-- <td> --> |
|
37 |
<!-- <input type="hidden" id="description_[% loop.count %]" name="description_[% loop.count %]" value="[% HTML.escape(row.description) %]"> --> |
|
38 |
<!-- [% HTML.escape(row.description) %] --> |
|
39 |
<!-- </td> --> |
|
40 |
</tr> |
|
41 |
[%- END %] |
|
39 | 42 |
</table> |
40 | 43 |
|
41 | 44 |
</td> |
templates/webpages/generic/set_longdescription_de.html | ||
---|---|---|
1 |
<body <TMPL_IF NAME=onload>onload="<TMPL_VAR NAME=onload>"</TMPL_IF>>
|
|
1 |
[% USE HTML %]<body onload="[% onload %]">
|
|
2 | 2 |
|
3 | 3 |
<form name="Form"> |
4 | 4 |
|
5 |
<input type="hidden" name="input_name" value="<TMPL_VAR NAME=input_name ESCAPE=HTML>">
|
|
5 |
<input type="hidden" name="input_name" value="[% HTML.escape(input_name) %]">
|
|
6 | 6 |
|
7 |
<table width="100%"> |
|
8 |
<tr> |
|
9 |
<th class="listtop"><TMPL_VAR NAME=title></th> |
|
10 |
</tr> |
|
11 |
<tr height="5"></tr> |
|
7 |
<div class="listtop">[% title %]</div> |
|
12 | 8 |
|
13 |
<tr><td>Bitte den Langtext eingeben</td></tr>
|
|
9 |
<p>Bitte den Langtext eingeben</p>
|
|
14 | 10 |
|
15 |
<tr> |
|
16 |
<td> |
|
11 |
<p><textarea id="longdescription" name="longdescription" rows="15" cols="45" wrap="soft">[% HTML.escape(longdescription) %]</textarea></p> |
|
17 | 12 |
|
18 |
<textarea id="longdescription" name="longdescription" rows="15" cols="45" wrap="soft"><TMPL_VAR NAME=longdescription ESCAPE=HTML></textarea> |
|
19 |
|
|
20 |
</td> |
|
21 |
</tr> |
|
22 |
</table> |
|
23 |
<button type="button" onclick="longdescription_updated()">?bernehmen</button></td> |
|
13 |
<p><button type="button" onclick="longdescription_updated()">?bernehmen</button></p> |
|
24 | 14 |
</form> |
25 | 15 |
|
26 | 16 |
<script type="text/javascript"> |
... | ... | |
30 | 20 |
|
31 | 21 |
self.close(); |
32 | 22 |
} |
33 |
//TESSSSST-->
|
|
23 |
--> |
|
34 | 24 |
</script> |
35 | 25 |
|
36 | 26 |
</body> |
templates/webpages/generic/set_longdescription_master.html | ||
---|---|---|
1 |
<body <TMPL_IF NAME=onload>onload="<TMPL_VAR NAME=onload>"</TMPL_IF>>
|
|
1 |
[% USE HTML %]<body onload="[% onload %]">
|
|
2 | 2 |
|
3 | 3 |
<form name="Form"> |
4 | 4 |
|
5 |
<input type="hidden" name="input_name" value="<TMPL_VAR NAME=input_name ESCAPE=HTML>">
|
|
5 |
<input type="hidden" name="input_name" value="[% HTML.escape(input_name) %]">
|
|
6 | 6 |
|
7 |
<table width="100%"> |
|
8 |
<tr> |
|
9 |
<th class="listtop"><TMPL_VAR NAME=title></th> |
|
10 |
</tr> |
|
11 |
<tr height="5"></tr> |
|
7 |
<div class="listtop">[% title %]</div> |
|
12 | 8 |
|
13 |
<tr><td><translate>Please insert your longdescription below</translate></td></tr>
|
|
9 |
<p><translate>Please insert your longdescription below</translate></p>
|
|
14 | 10 |
|
15 |
<tr> |
|
16 |
<td> |
|
11 |
<p><textarea id="longdescription" name="longdescription" rows="15" cols="45" wrap="soft">[% HTML.escape(longdescription) %]</textarea></p> |
|
17 | 12 |
|
18 |
<textarea id="longdescription" name="longdescription" rows="15" cols="45" wrap="soft"><TMPL_VAR NAME=longdescription ESCAPE=HTML></textarea> |
|
19 |
|
|
20 |
</td> |
|
21 |
</tr> |
|
22 |
</table> |
|
23 |
<button type="button" onclick="longdescription_updated()"><translate>Close</translate></button></td> |
|
13 |
<p><button type="button" onclick="longdescription_updated()"><translate>Close</translate></button></p> |
|
24 | 14 |
</form> |
25 | 15 |
|
26 | 16 |
<script type="text/javascript"> |
... | ... | |
30 | 20 |
|
31 | 21 |
self.close(); |
32 | 22 |
} |
33 |
//TESSSSST-->
|
|
23 |
--> |
|
34 | 24 |
</script> |
35 | 25 |
|
36 | 26 |
</body> |
Auch abrufbar als: Unified diff
Umstellung weiterer HTML-Vorlagen aus templates/webpages/generic von HTML::Template auf Template.