version 1.31, 2002/04/26 18:59:00
|
version 1.32, 2002/04/26 19:10:54
|
Line 698 sub show_drop_list {
|
Line 698 sub show_drop_list {
|
my ($r,%currentlist)=@_; |
my ($r,%currentlist)=@_; |
my $cid=$ENV{'request.course.id'}; |
my $cid=$ENV{'request.course.id'}; |
$r->print(<<'END'); |
$r->print(<<'END'); |
|
<script> |
|
function checkAll(field) |
|
{ |
|
for (i = 0; i < field.length; i++) |
|
field[i].checked = true ; |
|
} |
|
|
|
function uncheckAll(field) |
|
{ |
|
for (i = 0; i < field.length; i++) |
|
field[i].checked = false ; |
|
} |
|
</script> |
|
<p> |
<input type="hidden" name="phase" value="four"> |
<input type="hidden" name="phase" value="four"> |
<table border=2> |
<table border=2> |
<tr><th> </th><th>username</th><th>domain</th> |
<tr><th> </th><th>username</th><th>domain</th> |
Line 732 END
|
Line 746 END
|
} |
} |
} |
} |
$r->print('</table><br>'); |
$r->print('</table><br>'); |
$r->print('<input type=submit value="Drop Students">'); |
$r->print(<<"END"); |
|
</p><p> |
|
<input type="button" value="check all" onclick="javascript:checkAll(document.studentform.droplist)"> |
|
<input type="button" value="uncheck all" onclick="javascript:uncheckAll(document.studentform.droplist)"> |
|
<p><input type=submit value="Drop Students"></p> |
|
END |
} |
} |
|
|
# ================================================= Drop/Add from uploaded file |
# ================================================= Drop/Add from uploaded file |