[LON-CAPA-cvs] cvs: loncom /interface lonfeedback.pm
www
lon-capa-cvs@mail.lon-capa.org
Mon, 06 Jun 2005 20:40:03 -0000
www Mon Jun 6 16:40:03 2005 EDT
Modified files:
/loncom/interface lonfeedback.pm
Log:
Bug #3945: there have been enough complaints from authors by now ...
Index: loncom/interface/lonfeedback.pm
diff -u loncom/interface/lonfeedback.pm:1.166 loncom/interface/lonfeedback.pm:1.167
--- loncom/interface/lonfeedback.pm:1.166 Mon Jun 6 16:04:23 2005
+++ loncom/interface/lonfeedback.pm Mon Jun 6 16:40:01 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Feedback
#
-# $Id: lonfeedback.pm,v 1.166 2005/06/06 20:04:23 www Exp $
+# $Id: lonfeedback.pm,v 1.167 2005/06/06 20:40:01 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2259,7 +2259,7 @@
my $msgoptions='';
my $discussoptions='';
unless (($env{'form.replydisc'}) || ($env{'form.editdisc'})) {
- if (($feedurl=~/^\/res\//) && ($feedurl!~/^\/res\/adm/)) {
+ if (($feedurl=~/^\/res\//) && ($feedurl!~/^\/res\/adm/) && ($env{'user.adv'})) {
$msgoptions=
'<p><label><input type="checkbox" name="author" /> '.
&mt('Feedback to resource author').'</label></p>';