From: Sven Schöling Date: Fri, 11 Dec 2015 14:16:52 +0000 (+0100) Subject: Form: parse_html_template lobals analog zu Presenter::render X-Git-Tag: release-3.4.1~539 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=a6f47843cb4c95ab43cc0bd8dbd7d77a30ae6821;p=kivitendo-erp.git Form: parse_html_template lobals analog zu Presenter::render jetzt auch in Form verfügbar: - AUTH - LOCALE - LXCONFIG - LXDEBUG - MYCONFIG --- 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;