fixup! templates: move includes into *-header.html files

This commit is contained in:
Milan
2022-11-18 23:47:30 +01:00
parent 9d5b154b69
commit fed2fc5774
3 changed files with 3 additions and 5 deletions

View File

@@ -53,7 +53,7 @@ $params = $request->{params}->{checked};
#process header
my $headerParams = uac::set_template_permissions( $request->{permissions}, $params );
$headerParams->{loc} = localization::get( $config, { user => $user, file => 'menu' } );
template::process( $config, 'print', template::check( $config, 'studio-headers.html' ), $headerParams );
template::process( $config, 'print', template::check( $config, 'studios-header.html' ), $headerParams );
return unless uac::check( $config, $params, $user_presets ) == 1;
if ( defined $params->{action} ) {