X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FController%2FBase.pm;h=1ba9358957ff0c0781216f3c91a554eba9be4e42;hb=4a5e3c2cddaae9021659466eb6ad152bfdcbab9b;hp=ac2f32d859979d812f27652b5cc2529116b75237;hpb=d08c706c8c3790ff09c5c9c97541c7936e74e6c9;p=kivitendo-erp.git diff --git a/SL/Controller/Base.pm b/SL/Controller/Base.pm index ac2f32d85..1ba935895 100644 --- a/SL/Controller/Base.pm +++ b/SL/Controller/Base.pm @@ -84,7 +84,7 @@ sub render { } else { $::form->{title} = $locals{title} if $locals{title}; - $::form->header; + $::form->header(no_menu => $options->{no_menu}); } } @@ -245,6 +245,7 @@ sub _template_obj { INCLUDE_PATH => '.:templates/webpages', COMPILE_EXT => '.tcc', COMPILE_DIR => $::lx_office_conf{paths}->{userspath} . '/templates-cache', + ERROR => 'templates/webpages/generic/exception.html', }) || croak; return $self->{__basepriv_template_obj}; @@ -409,7 +410,7 @@ The template itself has access to the following variables: =item * C -- C<$::locale> -=item * C -- all parameters from C +=item * C -- all parameters from C with the same name they appear in the file (first level is the section, second the actual variable, e.g. C, C etc)