projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Order-Controller: PDF-Handling-Funktionen in Objektmethoden umgewandelt
[kivitendo-erp.git]
/
SL
/
Template.pm
diff --git
a/SL/Template.pm
b/SL/Template.pm
index
39157d2
..
8682c7e
100644
(file)
--- a/
SL/Template.pm
+++ b/
SL/Template.pm
@@
-19,7
+19,6
@@
use SL::Template::LaTeX;
use SL::Template::OpenDocument;
use SL::Template::PlainText;
use SL::Template::ShellCommand;
use SL::Template::OpenDocument;
use SL::Template::PlainText;
use SL::Template::ShellCommand;
-use SL::Template::XML;
sub create {
my %params = @_;
sub create {
my %params = @_;
@@
-47,7
+46,7
@@
sub available_templates {
my @alldir = sort grep {
-d ($::lx_office_conf{paths}->{templates} . "/$_")
&& !/^\.\.?$/
my @alldir = sort grep {
-d ($::lx_office_conf{paths}->{templates} . "/$_")
&& !/^\.\.?$/
- && !m/\.(?:html|tex|sty|odt
|xml|txb
)$/
+ && !m/\.(?:html|tex|sty|odt)$/
&& !m/^(?:webpages$|print$|mail$|\.)/
} keys %dir_h;
&& !m/^(?:webpages$|print$|mail$|\.)/
} keys %dir_h;