aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--template-common/.htaccess2
-rw-r--r--template-common/pngfix.js (renamed from include/pngfix.js)0
-rw-r--r--template-common/scripts.js (renamed from include/scripts.js)0
-rw-r--r--template-extension/.htaccess2
-rw-r--r--template/.htaccess2
-rw-r--r--template/yoga/header.tpl4
6 files changed, 8 insertions, 2 deletions
diff --git a/template-common/.htaccess b/template-common/.htaccess
new file mode 100644
index 000000000..eee07900b
--- /dev/null
+++ b/template-common/.htaccess
@@ -0,0 +1,2 @@
+Options -Indexes
+
diff --git a/include/pngfix.js b/template-common/pngfix.js
index 549761a1d..549761a1d 100644
--- a/include/pngfix.js
+++ b/template-common/pngfix.js
diff --git a/include/scripts.js b/template-common/scripts.js
index a96775ce4..a96775ce4 100644
--- a/include/scripts.js
+++ b/template-common/scripts.js
diff --git a/template-extension/.htaccess b/template-extension/.htaccess
new file mode 100644
index 000000000..eee07900b
--- /dev/null
+++ b/template-extension/.htaccess
@@ -0,0 +1,2 @@
+Options -Indexes
+
diff --git a/template/.htaccess b/template/.htaccess
new file mode 100644
index 000000000..eee07900b
--- /dev/null
+++ b/template/.htaccess
@@ -0,0 +1,2 @@
+Options -Indexes
+
diff --git a/template/yoga/header.tpl b/template/yoga/header.tpl
index 1684c6cd1..06d47a827 100644
--- a/template/yoga/header.tpl
+++ b/template/yoga/header.tpl
@@ -22,7 +22,7 @@ the "text/nonsense" prevents gecko based browsers to load it -->
<meta http-equiv="refresh" content="{REFRESH_TIME};url={U_REFRESH}">
<!-- END refresh -->
<title>{GALLERY_TITLE}:{PAGE_TITLE}</title>
-<script type="text/javascript" src="{pwg_root}include/scripts.js"></script>
+<script type="text/javascript" src="{pwg_root}template-common/scripts.js"></script>
<!--[if lt IE 7]>
<style>
/* only because we need \{pwg_root\} otherwise use fix-ie5-ie6.css */
@@ -32,7 +32,7 @@ the "text/nonsense" prevents gecko based browsers to load it -->
}
FORM { behavior: url("{pwg_root}template-common/inputfix.htc"); }
</style>
- <script type="text/javascript" src="{pwg_root}include/pngfix.js"></script>
+ <script type="text/javascript" src="{pwg_root}template-common/pngfix.js"></script>
<![endif]-->
</head>