version 1.17, 2001/12/19 17:17:46
|
version 1.19, 2002/01/04 18:13:58
|
Line 45
|
Line 45
|
# 8/6 Scott Harrison |
# 8/6 Scott Harrison |
# Guy Albertelli |
# Guy Albertelli |
# 9/25 Gerd Kortemeyer |
# 9/25 Gerd Kortemeyer |
|
# 12/19 Guy Albertelli |
|
# YEAR=2002 |
|
# 1/4 Gerd Kortemeyer |
|
|
package Apache::londropadd; |
package Apache::londropadd; |
|
|
Line 499 LON-CAPA domain: <input type=text size=1
|
Line 502 LON-CAPA domain: <input type=text size=1
|
<h3>Full Update</h3> |
<h3>Full Update</h3> |
<input type=checkbox name=fullup value=yes> Full update |
<input type=checkbox name=fullup value=yes> Full update |
(also print list of users not enrolled anymore)<p> |
(also print list of users not enrolled anymore)<p> |
|
<h3>ID/Student Number</h3> |
|
<input type=checkbox name=forceid value=yes> |
|
Disable ID/Student Number Safeguard and Force Change of Conflicting IDs |
|
(only do if you know what you are doing)<p> |
<input type=button onClick="verify(this.form)" value="Update Courselist"><br> |
<input type=button onClick="verify(this.form)" value="Update Courselist"><br> |
Note: for large courses, this operation might be time consuming. |
Note: for large courses, this operation might be time consuming. |
ENDPICK |
ENDPICK |
Line 533 sub enroll_single_student {
|
Line 540 sub enroll_single_student {
|
$ENV{'form.cfirst'},$ENV{'form.cmiddle'}, |
$ENV{'form.cfirst'},$ENV{'form.cmiddle'}, |
$ENV{'form.clast'},$ENV{'form.cgen'}, |
$ENV{'form.clast'},$ENV{'form.cgen'}, |
$ENV{'form.csec'},$ENV{'form.enddate'}, |
$ENV{'form.csec'},$ENV{'form.enddate'}, |
$ENV{'form.startdate'})); |
$ENV{'form.startdate'},$ENV{'form.forceid'})); |
} else { |
} else { |
$r->print('Invalid login mode or password'); |
$r->print('Invalid login mode or password'); |
} |
} |
Line 742 Local Authentication with argument
|
Line 749 Local Authentication with argument
|
<a |
<a |
href="javascript:pjump('date_end','Enrollment Ending Date',document.studentform.enddate.value,'end','studentform.pres','dateset');" |
href="javascript:pjump('date_end','Enrollment Ending Date',document.studentform.enddate.value,'end','studentform.pres','dateset');" |
>Set Ending Date</a><p> |
>Set Ending Date</a><p> |
|
<h3>ID/Student Number</h3> |
|
<input type=checkbox name=forceid value=yes> |
|
Disable ID/Student Number Safeguard and Force Change of Conflicting IDs |
|
(only do if you know what you are doing)<p> |
<input type=button onClick="verify(this.form)" value="Enroll as student"><br> |
<input type=button onClick="verify(this.form)" value="Enroll as student"><br> |
<input type=hidden name=phase value=five> |
<input type=hidden name=phase value=five> |
ENDSENROLL |
ENDSENROLL |
Line 908 sub upfile_drop_add {
|
Line 919 sub upfile_drop_add {
|
&dropstudent($domain,$username,$cid,$sec); |
&dropstudent($domain,$username,$cid,$sec); |
my $reply=&Apache::lonnet::modifystudent( |
my $reply=&Apache::lonnet::modifystudent( |
$domain,$username,$id,$amode,$password, |
$domain,$username,$id,$amode,$password, |
$fname,$mname,$lname,$gen,$sec,$enddate,$startdate); |
$fname,$mname,$lname,$gen,$sec,$enddate,$startdate, |
|
$ENV{'form.forceid'}); |
unless ($reply eq 'ok') { |
unless ($reply eq 'ok') { |
$r->print( |
$r->print( |
"<p><b>Error enrolling $username: $reply</b><p>"); |
"<p><b>Error enrolling $username: $reply</b><p>"); |