version 1.34, 2002/10/11 20:52:13
|
version 1.35, 2002/10/25 13:57:28
|
Line 179 ENDNOREDIRTWO
|
Line 179 ENDNOREDIRTWO
|
sub screen_header { |
sub screen_header { |
my ($feedurl) = @_; |
my ($feedurl) = @_; |
my $options=''; |
my $options=''; |
if (($feedurl=~/^\/res/) && ($feedurl!~/^\/res\/adm/)) { |
if (($feedurl=~/^\/res\//) && ($feedurl!~/^\/res\/adm/)) { |
$options= |
$options= |
'<p><input type=checkbox name=author> Feedback to resource author'; |
'<p><input type=checkbox name=author> Feedback to resource author'; |
} |
} |
Line 250 ENDCITE
|
Line 250 ENDCITE
|
return ($email,$citations); |
return ($email,$citations); |
} |
} |
|
|
|
sub secapply { |
|
my $rec=shift; |
|
return $rec; |
|
} |
|
|
sub decide_receiver { |
sub decide_receiver { |
my ($feedurl) = @_; |
my ($feedurl) = @_; |
my $typestyle=''; |
my $typestyle=''; |
Line 264 sub decide_receiver {
|
Line 269 sub decide_receiver {
|
foreach (split(/\,/, |
foreach (split(/\,/, |
$ENV{'course.'.$ENV{'request.course.id'}.'.question.email'}) |
$ENV{'course.'.$ENV{'request.course.id'}.'.question.email'}) |
) { |
) { |
$to{$_}=1; |
if (my $rec=&secapply($_)) { $to{$rec}=1; } |
} |
} |
} |
} |
if ($ENV{'form.course'}) { |
if ($ENV{'form.course'}) { |
Line 272 sub decide_receiver {
|
Line 277 sub decide_receiver {
|
foreach (split(/\,/, |
foreach (split(/\,/, |
$ENV{'course.'.$ENV{'request.course.id'}.'.comment.email'}) |
$ENV{'course.'.$ENV{'request.course.id'}.'.comment.email'}) |
) { |
) { |
$to{$_}=1; |
if (my $rec=&secapply($_)) { $to{$rec}=1; } |
} |
} |
} |
} |
if ($ENV{'form.policy'}) { |
if ($ENV{'form.policy'}) { |
Line 280 sub decide_receiver {
|
Line 285 sub decide_receiver {
|
foreach (split(/\,/, |
foreach (split(/\,/, |
$ENV{'course.'.$ENV{'request.course.id'}.'.policy.email'}) |
$ENV{'course.'.$ENV{'request.course.id'}.'.policy.email'}) |
) { |
) { |
$to{$_}=1; |
if (my $rec=&secapply($_)) { $to{$rec}=1; } |
} |
} |
} |
} |
return ($typestyle,%to); |
return ($typestyle,%to); |