From a6f47843cb4c95ab43cc0bd8dbd7d77a30ae6821 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 11 Dec 2015 15:16:52 +0100 Subject: [PATCH] Form: parse_html_template lobals analog zu Presenter::render MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit jetzt auch in Form verfügbar: - AUTH - LOCALE - LXCONFIG - LXDEBUG - MYCONFIG --- SL/Form.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SL/Form.pm b/SL/Form.pm index ee040b5e7..e5c91b1b7 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -631,7 +631,12 @@ sub _prepare_html_template { map { $additional_params->{"myconfig_${_}"} = $main::myconfig{$_}; } keys %::myconfig; } + $additional_params->{AUTH} = $::auth; $additional_params->{INSTANCE_CONF} = $::instance_conf; + $additional_params->{LOCALE} = $::locale; + $additional_params->{LXCONFIG} = \%::lx_office_conf; + $additional_params->{LXDEBUG} = $::lxdebug; + $additional_params->{MYCONFIG} = \%::myconfig; if (my $debug_options = $::lx_office_conf{debug}{options}) { map { $additional_params->{'DEBUG_' . uc($_)} = $debug_options->{$_} } keys %$debug_options; -- 2.20.1