X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FController%2FBase.pm;h=fff11ca3a99b494a516f1c2ad35ce1091dae64e2;hb=89c9ff022d3f13e27ba6bda085df15707fcfb0eb;hp=723ce1d6aa86edf3921dc4446b26e83a7e12f808;hpb=8cd05ad64866ce200f888a35723ae4b7e24a2012;p=kivitendo-erp.git diff --git a/SL/Controller/Base.pm b/SL/Controller/Base.pm index 723ce1d6a..fff11ca3a 100644 --- a/SL/Controller/Base.pm +++ b/SL/Controller/Base.pm @@ -55,7 +55,7 @@ sub render { my $content_type = $options->{type} eq 'js' ? 'text/javascript' : 'text/html'; print $::form->create_http_response(content_type => $content_type, - charset => $::dbcharset || Common::DEFAULT_CHARSET()); + charset => $::lx_office_conf{system}->{dbcharset} || Common::DEFAULT_CHARSET()); } else { $::form->{title} = $locals{title} if $locals{title}; @@ -67,14 +67,7 @@ sub render { AUTH => $::auth, FORM => $::form, LOCALE => $::locale, - LXCONFIG => { dbcharset => $::dbcharset, - webdav => $::webdav, - lizenzen => $::lizenzen, - latex_templates => $::latex, - opendocument_templates => $::opendocument_templates, - vertreter => $::vertreter, - show_best_before => $::show_best_before, - }, + LXCONFIG => \%::lx_office_conf, LXDEBUG => $::lxdebug, MYCONFIG => \%::myconfig, SELF => $self, @@ -336,9 +329,10 @@ The template itself has access to the following variables: =item * C -- C<$::locale> -=item * C -- all parameters from C with -the same name they appear in the file (e.g. C, C -etc) +=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) =item * C -- C<$::lxdebug>