From 7ca31726ed18b70c04eb606e081df20aa63e9c06 Mon Sep 17 00:00:00 2001 From: rub Date: Wed, 26 Jul 2006 21:29:21 +0000 Subject: 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 --- include/.htaccess | 1 + include/pngfix.js | 37 ------------------------- include/scripts.js | 79 ------------------------------------------------------ 3 files changed, 1 insertion(+), 116 deletions(-) create mode 100644 include/.htaccess delete mode 100644 include/pngfix.js delete mode 100644 include/scripts.js (limited to 'include') diff --git a/include/.htaccess b/include/.htaccess new file mode 100644 index 000000000..8d2f25636 --- /dev/null +++ b/include/.htaccess @@ -0,0 +1 @@ +deny from all diff --git a/include/pngfix.js b/include/pngfix.js deleted file mode 100644 index 549761a1d..000000000 --- a/include/pngfix.js +++ /dev/null @@ -1,37 +0,0 @@ - -// Correctly handle PNG transparency in Win IE 5.5 or higher. -// http://homepage.ntlworld.com/bobosola. Updated 02-March-2004 -// 15-Jully-2006 : chrisaga use \" instead of ' in imgTitle -// : to fix ' display in tooltips -// : keep the alt attribute - -function correctPNG() - { - for(var i=0; i" - img.outerHTML = strNewHTML - i = i-1 - } - } - } - } -window.attachEvent("onload", correctPNG); diff --git a/include/scripts.js b/include/scripts.js deleted file mode 100644 index a96775ce4..000000000 --- a/include/scripts.js +++ /dev/null @@ -1,79 +0,0 @@ -function SelectAll( formulaire ) -{ -len = formulaire.elements.length; -var i=0; -for( i = 0; i < len; i++) -{ - if ( formulaire.elements[i].type=='checkbox' - && formulaire.elements[i].name != 'copie') - { - formulaire.elements[i].checked = true; - } -} -} - -function DeselectAll( formulaire ) -{ -len = formulaire.elements.length; -var i=0; -for( i = 0; i < len; i++) -{ - if ( formulaire.elements[i].type=='checkbox' - && formulaire.elements[i].name != 'copie') - { - formulaire.elements[i].checked = false; - } -} -} - -function Inverser( formulaire ) -{ -len = formulaire.elements.length; -var i=0; -for( i=0; i