aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2006-07-26 21:29:21 +0000
committerrub <rub@piwigo.org>2006-07-26 21:29:21 +0000
commit7ca31726ed18b70c04eb606e081df20aa63e9c06 (patch)
tree0ad492992765b2e4443423bca1c6722731f9b12d /template
parente7f8b142697c6066cb4da31da94b13dec562eb2e (diff)
Resolved Issue ID 0000474 (Step 2):
o Add .htaccess files => * admin - .htaccess = deny from all * doc - no .htaccess * galleries - .htaccess = Options -Indexes * include - .htaccess = deny from all => move 2 .js in template-common * install - .htaccess = deny from all * language - .htaccess = deny from all * template - .htaccess = Options -Indexes * template-common - .htaccess = Options -Indexes * template-extension - .htaccess = Options -Indexes * tools - no .htaccess git-svn-id: http://piwigo.org/svn/trunk@1505 68402e56-0260-453c-a942-63ccdbb3a9ee
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>