From: Sven Schöling Date: Thu, 29 Nov 2007 14:39:11 +0000 (+0000) Subject: Confirm Priceupdate auf Templates umgestellt X-Git-Tag: release-2.6.0beta1~395 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=215356761a7aa1afd6d77be3aa1997bac9cf6d0e;p=kivitendo-erp.git Confirm Priceupdate auf Templates umgestellt --- diff --git a/bin/mozilla/ic.pl b/bin/mozilla/ic.pl index 95b5a2ae8..daba6887e 100644 --- a/bin/mozilla/ic.pl +++ b/bin/mozilla/ic.pl @@ -120,33 +120,12 @@ sub search_update_prices { sub confirm_price_update { $lxdebug->enter_sub(); - $form->{nextsub} = "update_prices"; $form->header; - print qq| - - -
{script}> -|; - - # delete action variable map { delete $form->{$_} } qw(action header); - - foreach my $key (keys %$form) { - $form->{$key} =~ s/\"/"/g; - print qq|\n|; - } - - print qq| -

| . $locale->text('Confirm!') . qq|

- -

| . $locale->text('Are you sure you want to update the prices') . qq|

- -

- -

-|; + + print $form->parse_html_template('ic/confirm_price_update', { HIDDENS => [ map { name => $_, value => $form->{$_} }, keys %$form ] }); $lxdebug->leave_sub(); } diff --git a/templates/webpages/ic/confirm_price_update_de.html b/templates/webpages/ic/confirm_price_update_de.html new file mode 100644 index 000000000..6e9edc441 --- /dev/null +++ b/templates/webpages/ic/confirm_price_update_de.html @@ -0,0 +1,18 @@ +[%- USE HTML %] +[%- USE LxERP %] + + +
+ +[%- FOREACH row = HIDDENS %] + +[%- END %] + +

Bestätigen Sie!

+ +

Sind Sie sicher, dass Sie die Preise +aktualisieren wollen?

+ +

+ +

diff --git a/templates/webpages/ic/confirm_price_update_master.html b/templates/webpages/ic/confirm_price_update_master.html new file mode 100644 index 000000000..b9e86cfbf --- /dev/null +++ b/templates/webpages/ic/confirm_price_update_master.html @@ -0,0 +1,17 @@ +[%- USE HTML %] +[%- USE LxERP %] + + +
+ +[%- FOREACH row = HIDDENS %] + +[%- END %] + +

Confirm!

+ +

Are you sure you want to update the prices

+ +

+ +