mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
- 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:
32
include/scripts.js
Normal file
32
include/scripts.js
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user