Revision 9aaca433
Von Moritz Bunkus vor etwa 17 Jahren hinzugefügt
bin/mozilla/am.pl | ||
---|---|---|
339 | 339 |
}; |
340 | 340 |
|
341 | 341 |
# Ausgabe des Templates |
342 |
print($form->parse_html_template2('am/edit_accounts', $parameters_ref));
|
|
342 |
print($form->parse_html_template('am/edit_accounts', $parameters_ref)); |
|
343 | 343 |
|
344 | 344 |
|
345 | 345 |
$lxdebug->leave_sub(); |
... | ... | |
438 | 438 |
}; |
439 | 439 |
|
440 | 440 |
# Ausgabe des Templates |
441 |
print($form->parse_html_template2('am/list_accounts', $parameters_ref));
|
|
441 |
print($form->parse_html_template('am/list_accounts', $parameters_ref)); |
|
442 | 442 |
|
443 | 443 |
$lxdebug->leave_sub(); |
444 | 444 |
|
... | ... | |
505 | 505 |
$form->{title} = $locale->text('Chart of Accounts'); |
506 | 506 |
$form->header(); |
507 | 507 |
|
508 |
print $form->parse_html_template2('am/list_account_details');
|
|
508 |
print $form->parse_html_template('am/list_account_details'); |
|
509 | 509 |
|
510 | 510 |
$lxdebug->leave_sub(); |
511 | 511 |
|
... | ... | |
2421 | 2421 |
$form->{title} = $locale->text('Edit Preferences for #1', $form->{login}); |
2422 | 2422 |
|
2423 | 2423 |
$form->header(); |
2424 |
print $form->parse_html_template2('am/config');
|
|
2424 |
print $form->parse_html_template('am/config'); |
|
2425 | 2425 |
|
2426 | 2426 |
$lxdebug->leave_sub(); |
2427 | 2427 |
} |
... | ... | |
2559 | 2559 |
|
2560 | 2560 |
$form->{"title"} = sprintf($locale->text("Add and edit %s"), $form->{"unit_type"} eq "dimension" ? $locale->text("dimension units") : $locale->text("service units")); |
2561 | 2561 |
$form->header(); |
2562 |
print($form->parse_html_template2("am/edit_units",
|
|
2563 |
{ "UNITS" => \@unit_list,
|
|
2564 |
"NEW_BASE_UNIT_DDBOX" => $ddbox,
|
|
2565 |
"LANGUAGES" => \@languages,
|
|
2566 |
"updownlink" => $updownlink }));
|
|
2562 |
print($form->parse_html_template("am/edit_units", |
|
2563 |
{ "UNITS" => \@unit_list, |
|
2564 |
"NEW_BASE_UNIT_DDBOX" => $ddbox, |
|
2565 |
"LANGUAGES" => \@languages, |
|
2566 |
"updownlink" => $updownlink })); |
|
2567 | 2567 |
|
2568 | 2568 |
$lxdebug->leave_sub(); |
2569 | 2569 |
} |
... | ... | |
2706 | 2706 |
$form->{title} = $locale->text("History Search"); |
2707 | 2707 |
$form->header(); |
2708 | 2708 |
|
2709 |
print $form->parse_html_template2("common/search_history");
|
|
2709 |
print $form->parse_html_template("common/search_history"); |
|
2710 | 2710 |
|
2711 | 2711 |
$lxdebug->leave_sub(); |
2712 | 2712 |
} |
... | ... | |
2785 | 2785 |
my ($sort, $sortby) = split(/\-\-/, $form->{order}); |
2786 | 2786 |
$sort =~ s/.*\.(.*)$/$1/; |
2787 | 2787 |
|
2788 |
print $form->parse_html_template2("common/show_history",
|
|
2788 |
print $form->parse_html_template("common/show_history", |
|
2789 | 2789 |
{"DATEN" => $form->get_history($dbh, $daten, $restriction, $form->{order}), |
2790 | 2790 |
"SUCCESS" => ($form->get_history($dbh, $daten, $restriction, $form->{order}) ne "0"), |
2791 | 2791 |
"NONEWWINDOW" => 1, |
... | ... | |
2838 | 2838 |
}; |
2839 | 2839 |
|
2840 | 2840 |
# Ausgabe des Templates |
2841 |
print($form->parse_html_template2('am/edit_tax', $parameters_ref));
|
|
2841 |
print($form->parse_html_template('am/edit_tax', $parameters_ref)); |
|
2842 | 2842 |
|
2843 | 2843 |
$lxdebug->leave_sub(); |
2844 | 2844 |
} |
... | ... | |
2859 | 2859 |
}; |
2860 | 2860 |
|
2861 | 2861 |
# Ausgabe des Templates |
2862 |
print($form->parse_html_template2('am/edit_tax', $parameters_ref));
|
|
2862 |
print($form->parse_html_template('am/edit_tax', $parameters_ref)); |
|
2863 | 2863 |
|
2864 | 2864 |
$lxdebug->leave_sub(); |
2865 | 2865 |
} |
... | ... | |
2878 | 2878 |
$form->header(); |
2879 | 2879 |
|
2880 | 2880 |
# Ausgabe des Templates |
2881 |
print($form->parse_html_template2('am/list_tax', $parameters_ref));
|
|
2881 |
print($form->parse_html_template('am/list_tax', $parameters_ref)); |
|
2882 | 2882 |
|
2883 | 2883 |
$lxdebug->leave_sub(); |
2884 | 2884 |
} |
... | ... | |
2933 | 2933 |
$form->{fokus} = 'description'; |
2934 | 2934 |
|
2935 | 2935 |
$form->header(); |
2936 |
print $form->parse_html_template2('am/edit_price_factor');
|
|
2936 |
print $form->parse_html_template('am/edit_price_factor'); |
|
2937 | 2937 |
|
2938 | 2938 |
$lxdebug->leave_sub(); |
2939 | 2939 |
} |
... | ... | |
2950 | 2950 |
$form->{factor} = $form->format_amount(\%myconfig, $form->{factor} * 1); |
2951 | 2951 |
|
2952 | 2952 |
$form->header(); |
2953 |
print $form->parse_html_template2('am/edit_price_factor');
|
|
2953 |
print $form->parse_html_template('am/edit_price_factor'); |
|
2954 | 2954 |
|
2955 | 2955 |
$lxdebug->leave_sub(); |
2956 | 2956 |
} |
... | ... | |
2977 | 2977 |
$form->{url_base} = build_std_url('callback'); |
2978 | 2978 |
|
2979 | 2979 |
$form->header(); |
2980 |
print $form->parse_html_template2('am/list_price_factors');
|
|
2980 |
print $form->parse_html_template('am/list_price_factors'); |
|
2981 | 2981 |
|
2982 | 2982 |
$lxdebug->leave_sub(); |
2983 | 2983 |
} |
Auch abrufbar als: Unified diff
Die Funktion Form::parse_html_template2() in Form::parse_html_template() umbenannt (letztere wurde in Revision 2923 entfernt).