Revision 9aaca433
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_template2("generic/select_delivery_customer", { "HEADER" => \@header,
|
|
311 |
"DELIVERY" => $delivery,
|
|
312 |
"onload" => $onload });
|
|
310 |
print $form->parse_html_template("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_template2("generic/select_vendor", { "HEADER" => \@header,
|
|
353 |
"VENDOR" => $vendor,
|
|
354 |
"onload" => $onload });
|
|
352 |
print $form->parse_html_template("generic/select_vendor", { "HEADER" => \@header, |
|
353 |
"VENDOR" => $vendor, |
|
354 |
"onload" => $onload }); |
|
355 | 355 |
|
356 | 356 |
$lxdebug->leave_sub(); |
357 | 357 |
} |
... | ... | |
395 | 395 |
$form->{formel} = $formel; |
396 | 396 |
$form->{"title"} = $locale->text("Please enter values"); |
397 | 397 |
$form->header(); |
398 |
print($form->parse_html_template2("generic/calculate_qty", { "HEADER" => \@header,
|
|
399 |
"VARIABLES" => \@variable,
|
|
400 |
"onload" => $onload }));
|
|
398 |
print($form->parse_html_template("generic/calculate_qty", { "HEADER" => \@header, |
|
399 |
"VARIABLES" => \@variable, |
|
400 |
"onload" => $onload })); |
|
401 | 401 |
|
402 | 402 |
$lxdebug->leave_sub(); |
403 | 403 |
} |
... | ... | |
407 | 407 |
|
408 | 408 |
$form->{title} = $locale->text("Enter longdescription"); |
409 | 409 |
$form->header(); |
410 |
print $form->parse_html_template2("generic/set_longdescription");
|
|
410 |
print $form->parse_html_template("generic/set_longdescription"); |
|
411 | 411 |
|
412 | 412 |
$lxdebug->leave_sub(); |
413 | 413 |
} |
... | ... | |
509 | 509 |
|
510 | 510 |
$form->{title} = $locale->text("History"); |
511 | 511 |
$form->header(); |
512 |
print $form->parse_html_template2( "common/show_history", {
|
|
512 |
print $form->parse_html_template( "common/show_history", { |
|
513 | 513 |
"DATEN" => $form->get_history($dbh,$form->{input_name},"",$form->{order}), |
514 | 514 |
"SUCCESS" => ($form->get_history($dbh,$form->{input_name}) ne "0"), |
515 | 515 |
uc($sort) => 1, |
... | ... | |
554 | 554 |
$form->{title} = $form->{vc} eq "customer" ? |
555 | 555 |
$locale->text("Customer details") : $locale->text("Vendor details"); |
556 | 556 |
$form->header(); |
557 |
print($form->parse_html_template2("common/show_vc_details", |
|
558 |
{ "is_customer" => $form->{vc} eq "customer" })); |
|
557 |
print $form->parse_html_template("common/show_vc_details", { "is_customer" => $form->{vc} eq "customer" }); |
|
559 | 558 |
|
560 | 559 |
$lxdebug->leave_sub(); |
561 | 560 |
} |
Auch abrufbar als: Unified diff
Die Funktion Form::parse_html_template2() in Form::parse_html_template() umbenannt (letztere wurde in Revision 2923 entfernt).