version 1.81, 2007/06/22 22:30:45
|
version 1.82, 2007/06/25 23:10:26
|
Line 451 sub handler {
|
Line 451 sub handler {
|
(&Apache::lonnet::allowed('mgr',$env{'request.course.id'})) && |
(&Apache::lonnet::allowed('mgr',$env{'request.course.id'})) && |
($hash{'src_'.$rid} !~ m-^/uploaded/-)) { |
($hash{'src_'.$rid} !~ m-^/uploaded/-)) { |
my ($mapid,$resid)=split(/\./,$rid); |
my ($mapid,$resid)=split(/\./,$rid); |
my $symb= |
my $symb= &Apache::lonnet::encode_symb($hash{'map_id_'.$mapid},$resid,$hash{'src_'.$rid}); |
&Apache::lonnet::declutter($hash{'map_id_'.$mapid}). |
if ($hash{'encrypted_'.$resid}) { |
'___'.$resid.'___'. |
$symb = &Apache::lonenc::encrypt($symb); |
&Apache::lonnet::declutter($hash{'src_'.$rid}); |
} |
$metainfo.= |
$metainfo.= |
'<a href="/adm/grades?symb='.&escape($symb). |
'<a href="/adm/grades?symb='.&escape($symb). |
# '&command=submission" target="LONcatInfo">'. |
# '&command=submission" target="LONcatInfo">'. |
'&command=submission">'. |
'&command=submission">'. |