diff options
author | rvelices <rv-github@modusoptimus.com> | 2006-03-30 02:08:53 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2006-03-30 02:08:53 +0000 |
commit | 27cc75cade2d4be8c30699313ce684cb5d80b64e (patch) | |
tree | e6d57a58bd588261218cb31c1e3be09384c61274 /include | |
parent | 4d322701de488c66916d15955099c3ed1ad061ab (diff) |
NBM: check/uncheck all completely done by Javascript
NBM: add function make_index_absolute_url
NBM: add function get_user_notifications and simplified code
git-svn-id: http://piwigo.org/svn/trunk@1114 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/scripts.js | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/include/scripts.js b/include/scripts.js index 2550233e6..58bc55a7a 100644 --- a/include/scripts.js +++ b/include/scripts.js @@ -12,6 +12,20 @@ for( i = 0; i < len; i++) } } +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; @@ -26,7 +40,7 @@ for( i=0; i<len; i++) } } -function phpWGOpenWindow(theURL,winName,features) +function phpWGOpenWindow(theURL,winName,features) { window.open(theURL,winName,features); } |