projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
036d7ce
)
Auswahl Druckvorlagen: mobile_webpages und pdf nicht anbieten
author
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Mon, 22 Nov 2021 09:45:15 +0000
(10:45 +0100)
committer
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Mon, 22 Nov 2021 09:53:06 +0000
(10:53 +0100)
SL/Template.pm
patch
|
blob
|
history
diff --git
a/SL/Template.pm
b/SL/Template.pm
index
8682c7e
..
b20a7b1
100644
(file)
--- a/
SL/Template.pm
+++ b/
SL/Template.pm
@@
-47,7
+47,7
@@
sub available_templates {
-d ($::lx_office_conf{paths}->{templates} . "/$_")
&& !/^\.\.?$/
&& !m/\.(?:html|tex|sty|odt)$/
- && !m/^(?:webpages$|print$|mail$|\.)/
+ && !m/^(?:webpages$|
mobile_webpages$|pdf$|
print$|mail$|\.)/
} keys %dir_h;
tie %dir_h, 'IO::Dir', "$::lx_office_conf{paths}->{templates}/print";