source: trunk/include/scripts.js @ 1068

Last change on this file since 1068 was 858, checked in by plg, 19 years ago
  • modification : less configuration parameters in administration screen. These parameters are move to include/config_default.inc.php.
  • new : ability to add a single picture to caddie from picture.php
  • new : contextual help, only a few pages are available.
  • new : ability to delete users from admin/user_list
  • modification : reorganization of configuration file
  • new : configuration parameter use_exif_mapping
  • improvement : MOD hidemail added to standard
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 817 bytes
Line 
1function SelectAll( formulaire )
2{
3len = formulaire.elements.length;
4var i=0;
5for( i = 0; i < len; i++)
6{
7  if ( formulaire.elements[i].type=='checkbox'
8           && formulaire.elements[i].name != 'copie')
9  {
10        formulaire.elements[i].checked = true;
11  }
12}
13}
14
15function Inverser( formulaire )
16{
17len = formulaire.elements.length;
18var i=0;
19for( i=0; i<len; i++)
20{
21  if ( formulaire.elements[i].type=='checkbox'
22           && formulaire.elements[i].name != 'copie')
23  {
24        formulaire.elements[i].checked = !formulaire.elements[i].checked;
25  }
26}
27}
28
29function phpWGOpenWindow(theURL,winName,features) 
30{
31  window.open(theURL,winName,features);
32}
33
34function popuphelp(url)
35{
36  window.open(
37    url,
38    'dc_popup',
39    'alwaysRaised=yes,dependent=yes,toolbar=no,height=420,width=500,menubar=no,resizable=yes,scrollbars=yes,status=no'
40  );
41}
42
Note: See TracBrowser for help on using the repository browser.