X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/99ed8abf161b15ba5456c34f59a6155281cb2eea..b6dc5623d93c1be1c54248d4512e80f495af2899:/am.pl diff --git a/am.pl b/am.pl index 2d1605253..d35b4a900 100755 --- a/am.pl +++ b/am.pl @@ -31,8 +31,8 @@ ####################################################################### BEGIN { - unshift @INC, "modules/YAML"; # Use our own version of YAML. - push @INC, "modules"; # Only use our own versions of modules if there's no system version. + unshift @INC, "modules/override"; # Use our own versions of various modules (e.g. YAML). + push @INC, "modules/fallback"; # Only use our own versions of modules if there's no system version. } # setup defaults, DO NOT CHANGE @@ -47,7 +47,7 @@ $| = 1; use SL::LXDebug; $lxdebug = LXDebug->new(); -use CGI; +use CGI qw( -no_xhtml); use SL::Form; use SL::Locale; @@ -64,6 +64,11 @@ if (defined($latex) && !defined($latex_templates)) { $form = new Form; $cgi = new CGI(''); +# this prevents most of the tabindexes being created by CGI. +# note: most. popup menus and selecttables will still have tabindexes +# use common.pl's NTI function to get rid of those +local $CGI::TABINDEX = 0; + # name of this script $0 =~ tr/\\/\//; $pos = rindex $0, '/';