X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/6c7e41458d2027f72901d16417a37648942f7445..85ffde7a577589762b70de99ca08b6f25e9e9d1b:/SL/Form.pm diff --git a/SL/Form.pm b/SL/Form.pm index fbd1d8554..f3fe6e5d9 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -56,7 +56,7 @@ use SL::User; use Template; use URI; use List::Util qw(first max min sum); -use List::MoreUtils qw(any); +use List::MoreUtils qw(any apply); use strict; @@ -268,7 +268,7 @@ sub new { #$self->{version} = "2.6.1"; # Old hardcoded but secure style open VERSION_FILE, "VERSION"; # New but flexible code reads version from VERSION-file $self->{version} = ; - close VERSION_FILE; + close VERSION_FILE; $self->{version} =~ s/[^0-9A-Za-z\.\_\-]//g; # only allow numbers, letters, points, underscores and dashes. Prevents injecting of malicious code. $main::lxdebug->leave_sub(); @@ -475,7 +475,7 @@ sub info { print qq|

$msg

- + - + |; @@ -672,20 +672,20 @@ sub header { | if $self->{"fokus"}; - # if there is a title, we put some JavaScript in to the page, wich writes a + # if there is a title, we put some JavaScript in to the page, wich writes a # meaningful title-tag for our frameset. - my $title_hack; + my $title_hack; if ($self->{"title"}){ $title_hack = qq| |; } - + #Set Calendar my $jsscript = ""; if ($self->{jsscript} == 1) { @@ -723,11 +723,10 @@ sub header { $ajax $fokus $title_hack - + -