version 1.13, 2001/04/12 23:12:58
|
version 1.15, 2001/04/24 15:23:39
|
Line 266 ENDDROW
|
Line 266 ENDDROW
|
'<th>Group/Section</th><th>Start</th><th>End</th></tr>'); |
'<th>Group/Section</th><th>Start</th><th>End</th></tr>'); |
map { |
map { |
my $thiscourse=$_; |
my $thiscourse=$_; |
$thiscourse=~s/\_/\//g; |
my $protectedcourse=$_; |
|
$thiscourse=~s:_:/:g; |
my %coursedata=&Apache::lonnet::coursedescription($thiscourse); |
my %coursedata=&Apache::lonnet::coursedescription($thiscourse); |
my $area=$coursedata{'description'}; |
my $area=$coursedata{'description'}; |
my $bgcol=$thiscourse; |
my $bgcol=$thiscourse; |
Line 277 ENDDROW
|
Line 278 ENDDROW
|
my $plrole=&Apache::lonnet::plaintext($_); |
my $plrole=&Apache::lonnet::plaintext($_); |
$r->print(<<ENDROW); |
$r->print(<<ENDROW); |
<tr bgcolor=#$bgcol> |
<tr bgcolor=#$bgcol> |
<td><input type=checkbox name="act_$thiscourse\_$_"></td> |
<td><input type=checkbox name="act_$protectedcourse\_$_"></td> |
<td>$plrole</td> |
<td>$plrole</td> |
<td>$area</td> |
<td>$area</td> |
<td><input type=text size=5 name="sec_$thiscourse\_$_"></td> |
<td><input type=text size=5 name="sec_$protectedcourse\_$_"></td> |
<td><input type=hidden name="start_$thiscourse\_$_" value=''> |
<td><input type=hidden name="start_$protectedcourse\_$_" value=''> |
<a href= |
<a href= |
"javascript:pjump('date_start','Start Date $plrole',document.cu.start_$thiscourse\_$_.value,'start_$thiscourse\_$_','cu.pres','dateset')">Set Start Date</a></td> |
"javascript:pjump('date_start','Start Date $plrole',document.cu.start_$protectedcourse\_$_.value,'start_$protectedcourse\_$_','cu.pres','dateset')">Set Start Date</a></td> |
<td><input type=hidden name="end_$thiscourse\_$_" value=''> |
<td><input type=hidden name="end_$protectedcourse\_$_" value=''> |
<a href= |
<a href= |
"javascript:pjump('date_end','End Date $plrole',document.cu.end_$thiscourse\_$_.value,'end_$thiscourse\_$_','cu.pres','dateset')">Set End Date</a></td> |
"javascript:pjump('date_end','End Date $plrole',document.cu.end_$protectedcourse\_$_.value,'end_$protectedcourse\_$_','cu.pres','dateset')">Set End Date</a></td> |
</tr> |
</tr> |
ENDROW |
ENDROW |
|
|