X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FForm.pm;h=f3fe6e5d9b49de814da4b2c0251c812a50b7b66b;hb=ef294a7520ae7e452f6671676d7a8077bf74a9cf;hp=2647cec37a1c4abc785950bd88d5e769dee3c0f7;hpb=4b937d1a3839d8235a650172a59998c1b7126e22;p=kivitendo-erp.git diff --git a/SL/Form.pm b/SL/Form.pm index 2647cec37..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,9 +672,9 @@ 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 - + -