From 356cd04b385336427336465b56f7b926ebfbe484 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 6 Mar 2007 14:44:28 +0000 Subject: [PATCH] =?utf8?q?Durch=20st=C3=A4ndige=20Maskenver=C3=A4nderungen?= =?utf8?q?=20waren=20die=20Tab-Indices=20nicht=20mehr=20richtig,=20doppelt?= =?utf8?q?=20vergeben=20oder=20fehlten.=20Dadurch=20wurde=20die=20Bedienun?= =?utf8?q?g=20deutlich=20komplizierter=20und=20verwirrender,=20vor=20allem?= =?utf8?q?,=20weil=20die=20durch=20den=20Browser=20vorgegebene=20Reihenfol?= =?utf8?q?ge=20der=20Eingabeelemente=20eh=20schon=20die=20intuitive=20ist.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/gl.pl | 67 +++++++++++++++++++---------------------------- 1 file changed, 27 insertions(+), 40 deletions(-) diff --git a/bin/mozilla/gl.pl b/bin/mozilla/gl.pl index 7c7fa843e..5a6404d6c 100644 --- a/bin/mozilla/gl.pl +++ b/bin/mozilla/gl.pl @@ -1111,11 +1111,9 @@ sub display_rows { for $i (1 .. $form->{rowcount}) { $source = qq| - |; + |; $memo = qq| - |; + |; my $selected_accno_full; my ($accno_row) = split(/--/, $form->{"accno_$i"}); @@ -1140,32 +1138,28 @@ sub display_rows { } $accno = qq|| . - $cgi->popup_menu('-name' => "accno_$i", - '-id' => "accno_$i", - '-onChange' => "setTaxkey(this, $i)", - '-style' => 'width:200px', - '-tabindex' => ($i + 5 + (($i - 1) * 8)), - '-values' => \@chart_values, - '-labels' => \%chart_labels, - '-default' => $selected_accno_full) + NTI($cgi->popup_menu('-name' => "accno_$i", + '-id' => "accno_$i", + '-onChange' => "setTaxkey(this, $i)", + '-style' => 'width:200px', + '-values' => \@chart_values, + '-labels' => \%chart_labels, + '-default' => $selected_accno_full)) . $cgi->hidden('-name' => "previous_accno_$i", '-default' => $selected_accno_full) . qq||; $tax = qq|| . - $cgi->popup_menu('-name' => "taxchart_$i", - '-id' => "taxchart_$i", - '-style' => 'width:200px', - '-tabindex' => ($i + 10 + (($i - 1) * 8)), - '-values' => \@taxchart_values, - '-labels' => \%taxchart_labels, - '-default' => $selected_taxchart) + NTI($cgi->popup_menu('-name' => "taxchart_$i", + '-id' => "taxchart_$i", + '-style' => 'width:200px', + '-values' => \@taxchart_values, + '-labels' => \%taxchart_labels, + '-default' => $selected_taxchart)) . qq||; if ($init) { $korrektur = - qq||; + qq||; if ($form->{transfer}) { $fx_transaction = qq| @@ -1202,16 +1196,12 @@ sub display_rows { } $checked = ($form->{"korrektur_$i"}) ? "checked" : ""; $korrektur = - qq||; + qq||; $form->hide_form("accno_$i"); } else { $korrektur = - qq||; + qq||; if ($form->{transfer}) { $fx_transaction = qq| @@ -1238,12 +1228,9 @@ sub display_rows { print qq| $accno $fx_transaction - - - + + + $korrektur $tax $source @@ -1301,7 +1288,7 @@ sub form_header { qq||; } else { $description = - qq||; + qq||; } $taxincluded = ($form->{taxincluded}) ? "checked" : ""; @@ -1330,7 +1317,7 @@ sub form_header { # with JavaScript Calendar $button1 = qq| - + text('button') . qq|> |; @@ -1342,7 +1329,7 @@ sub form_header { # without JavaScript Calendar $button1 = - qq||; + qq||; } $form->header; @@ -1369,7 +1356,7 @@ sub form_header { - + @@ -1427,7 +1414,7 @@ sub form_header {
| . $locale->text('Reference') . qq| @@ -1405,7 +1392,7 @@ sub form_header {
- +
| . $locale->text('MwSt. inkl.') . qq|
- +
| . $locale->text('MwSt. inkl.') . qq|
-- 2.20.1