Revision 15e4b732
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
SL/Form.pm | ||
---|---|---|
614 | 614 |
map { $additional_params->{"myconfig_${_}"} = $main::myconfig{$_}; } keys %::myconfig; |
615 | 615 |
} |
616 | 616 |
|
617 |
$additional_params->{"conf_webdav"} = $::instance_conf->get_webdav; |
|
618 |
$additional_params->{"conf_latex_templates"} = $::lx_office_conf{print_templates}->{latex}; |
|
619 |
$additional_params->{"conf_opendocument_templates"} = $::lx_office_conf{print_templates}->{opendocument}; |
|
620 |
$additional_params->{"conf_vertreter"} = $::instance_conf->get_vertreter; |
|
621 |
$additional_params->{"conf_parts_image_css"} = $::instance_conf->get_parts_image_css; |
|
622 |
$additional_params->{"conf_parts_listing_image"} = $::instance_conf->get_parts_listing_image; |
|
623 |
$additional_params->{"conf_parts_show_image"} = $::instance_conf->get_parts_show_image; |
|
624 |
$additional_params->{"INSTANCE_CONF"} = $::instance_conf; |
|
617 |
$additional_params->{INSTANCE_CONF} = $::instance_conf; |
|
625 | 618 |
|
626 | 619 |
if (my $debug_options = $::lx_office_conf{debug}{options}) { |
627 | 620 |
map { $additional_params->{'DEBUG_' . uc($_)} = $debug_options->{$_} } keys %$debug_options; |
Auch abrufbar als: Unified diff
Template-Parameter "conf_xyz" durch "INSTANCE_CONF.get_xyz" ersetzt
Ansonsten haben wir ein Henne/Ei-Problem: Form::parse_html_template
will die Variablen "conf_xyz" anhand der Werte in $::instance_conf
setzen, ruft also dort die Funktionen auf. Wurde aber das dazugehörige
DB-Upgrade noch nicht eingespielt, so croakt() das.