X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FTemplate.pm;h=8682c7e9abb37cf009e9f4478f4f63b6929ac37b;hb=ae32e420b4016d27bd80f866a28bfdbcf20ebe2f;hp=39157d2d2c9bf5b6ee74e47cfbe89bda171c956b;hpb=96f2dabc7d64e28c74358fb5745a6c68b18527f3;p=kivitendo-erp.git diff --git a/SL/Template.pm b/SL/Template.pm index 39157d2d2..8682c7e9a 100644 --- 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::XML; sub create { my %params = @_; @@ -47,7 +46,7 @@ sub available_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;