source: extensions/Download_Multi/include/DownloadMulti.js @ 3986

Last change on this file since 3986 was 3986, checked in by flipflip, 15 years ago

Initial Import

File size: 2.1 KB
Line 
1/*
2// +-----------------------------------------------------------------------+
3// | Mod Name : Download_multi                                             |
4// | Mod Version : 0.9-1                                                   |
5// | Mod Orignal author: Tboris                                            |
6// | Mod Second author : Cestlodovic                                       |
7// | Mod Version author : FlipFlip <flipflip@free.fr>                      |
8// | Mod description :                                                     |
9// | Ce module est base sur le module existant pour le telechargement,     |
10// | cette version permet le telechargement sur plusieurs pages.           |
11// +-----------------------------------------------------------------------+
12// | This program is free software; you can redistribute it and/or modify  |
13// | it under the terms of the GNU General Public License as published by  |
14// | the Free Software Foundation                                          |
15// |                                                                       |
16// | This program is distributed in the hope that it will be useful, but   |
17// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
18// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
19// | General Public License for more details.                              |
20// |                                                                       |
21// | You should have received a copy of the GNU General Public License     |
22// | along with this program; if not, write to the Free Software           |
23// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
24// | USA.                                                                  |
25// +-----------------------------------------------------------------------+ */
26
27function cocher(formulaire) {
28  /* Sélection uniquement des case à cocher
29     dans la liste des images */
30  var formu = document.getElementById(formulaire);
31  for ( n=0;n<formu.elements.length;n++ ) {
32    if (formu.elements[n].type=="checkbox") {
33      formu.elements[n].checked="true";
34    }
35  }
36}
Note: See TracBrowser for help on using the repository browser.