X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/d08c706c8c3790ff09c5c9c97541c7936e74e6c9..420cc628dce84d55be98be5f9987b13879c2010e:/SL/Controller/Base.pm 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)