- Change of the picture page behavior to be able to open the full size image in a new window

- Minor modification for template migration
- Rename of script.js in scripts.js


git-svn-id: http://piwigo.org/svn/trunk@539 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
gweltas
2004-10-01 22:50:50 +00:00
parent e7b24ebdd0
commit 28dcfea993
13 changed files with 42 additions and 63 deletions

32
include/scripts.js Normal file
View File

@@ -0,0 +1,32 @@
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 Inverser( 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 = !formulaire.elements[i].checked;
}
}
}
function phpWGOpenWindow(theURL,winName,features)
{
window.open(theURL,winName,features);
}