Verzeichnis "mail" nicht als Druckvorlage anbieten
authorMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 14 Dec 2012 11:53:46 +0000 (12:53 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 14 Dec 2012 11:54:10 +0000 (12:54 +0100)
bin/mozilla/admin.pl

index 9534d95..7f0b80d 100755 (executable)
@@ -1178,7 +1178,7 @@ sub _search_templates {
        -d ($::lx_office_conf{paths}->{templates} . "/$_")
     && !/^\.\.?$/
     && !m/\.(?:html|tex|sty|odt|xml|txb)$/
-    && !m/^(?:webpages$|print$|\.)/
+    && !m/^(?:webpages$|print$|mail$|\.)/
   } keys %dir_h;
 
   tie %dir_h, 'IO::Dir', "$::lx_office_conf{paths}->{templates}/print";