version 1.120, 2005/10/31 01:49:21
|
version 1.121, 2005/10/31 21:11:45
|
Line 495 sub prettyinput {
|
Line 495 sub prettyinput {
|
} |
} |
if ($type eq 'author') { |
if ($type eq 'author') { |
} |
} |
|
if ($type eq 'courserestricted') { |
|
return ('<input type="hidden" name="new_courserestricted" value="'.$course_key.'" />'); |
|
} |
if ($type eq 'authorspace') { |
if ($type eq 'authorspace') { |
} |
} |
if ($type eq 'modifyinguser') { |
if ($type eq 'modifyinguser') { |
Line 1086 ENDEDIT
|
Line 1089 ENDEDIT
|
} |
} |
if ($metacourse ne 'none') { |
if ($metacourse ne 'none') { |
# handle restrictions here |
# handle restrictions here |
if ($env{$metacourse.'.metadata.'.$_.'.options'} =~ m/active/) { |
if (($env{$metacourse.'.metadata.'.$_.'.options'} =~ m/active/)|| |
|
($_ eq 'courserestricted')) { |
$output.=('<p>'.$lt{$_}.': '. |
$output.=('<p>'.$lt{$_}.': '. |
&prettyinput($_, |
&prettyinput($_, |
$Apache::lonpublisher::metadatafields{$_}, |
$Apache::lonpublisher::metadatafields{$_}, |