[LON-CAPA-cvs] cvs: loncom /interface lonmsg.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Tue, 07 Jun 2005 15:26:53 -0000
albertel Tue Jun 7 11:26:53 2005 EDT
Modified files:
/loncom/interface lonmsg.pm
Log:
- reverting 1.149 not sure what's goal was and it made the server not start
Index: loncom/interface/lonmsg.pm
diff -u loncom/interface/lonmsg.pm:1.149 loncom/interface/lonmsg.pm:1.150
--- loncom/interface/lonmsg.pm:1.149 Tue Jun 7 09:42:51 2005
+++ loncom/interface/lonmsg.pm Tue Jun 7 11:26:51 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines for messaging
#
-# $Id: lonmsg.pm,v 1.149 2005/06/07 13:42:51 www Exp $
+# $Id: lonmsg.pm,v 1.150 2005/06/07 15:26:51 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1799,11 +1799,11 @@
if (&Apache::lonnet::allowed('vgr',$env{'request.course.id'})) {
$r->print('<td><b>'.&Apache::loncommon::track_student_link(&mt('View recent activity'),$content{'sendername'},$content{'senderdomain'},'check').'</b></td>');
}
- if ((&Apache::lonnet::allowed('opa',$env{'request.course.id'}) && $symb) {
+ if (&Apache::lonnet::allowed('opa',$env{'request.course.id'})) {
my $symb=&Apache::lonnet::symbread($content{'baseurl'});
$r->print('<td><b>'.&Apache::loncommon::pprmlink(&mt('Set/Change parameters'),$content{'sendername'},$content{'senderdomain'},$symb,'check').'</b></td>');
}
- if ((&Apache::lonnet::allowed('mgr',$env{'request.course.id'}) && $symb) {
+ if (&Apache::lonnet::allowed('mgr',$env{'request.course.id'})) {
my $symb=&Apache::lonnet::symbread($content{'baseurl'});
$r->print('<td><b>'.&Apache::loncommon::pgrdlink(&mt('Set/Change grades'),$content{'sendername'},$content{'senderdomain'},$symb,'check').'</b></td>');
}