- Timestamp:
- Feb 15, 2009, 1:14:25 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/download.php
r95 r98 285 285 286 286 echo ('<script type="text/javascript"> 287 function CheckAll( check) {288 if (check == true) ListUser.CheckedAll.checked = ListUser.CheckedAll.checked? false:true;287 function CheckAll(myForm,check) { 288 if (check == true) myForm.CheckedAll.checked = myForm.CheckedAll.checked? false:true; 289 289 '); 290 290 foreach($UsersOrder as $UserId) 291 echo (' ListUser.user_'.$UserId.'.checked = ListUser.CheckedAll.checked? true:false;291 echo ('myForm.user_'.$UserId.'.checked = myForm.CheckedAll.checked? true:false; 292 292 '); 293 echo ('} </script><span onClick="CheckAll( false)">'.CheckBox('CheckedAll',False).'</span><span onClick="CheckAll(true)"> zatrhnout vše</span>');293 echo ('} </script><span onClick="CheckAll(document.ListUser,false)">'.CheckBox('CheckedAll',False).'</span><span onClick="CheckAll(document.ListUser,true)"> zatrhnout vše</span>'); 294 294 295 295
Note:
See TracChangeset
for help on using the changeset viewer.