28dcfea993
- 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
32 lines
No EOL
622 B
JavaScript
32 lines
No EOL
622 B
JavaScript
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);
|
|
} |