--- loncom/interface/lonmsgdisplay.pm 2017/04/02 13:31:48 1.181.2.1
+++ loncom/interface/lonmsgdisplay.pm 2015/06/18 20:19:06 1.182
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines for messaging display
#
-# $Id: lonmsgdisplay.pm,v 1.181.2.1 2017/04/02 13:31:48 raeburn Exp $
+# $Id: lonmsgdisplay.pm,v 1.182 2015/06/18 20:19:06 musolffc Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1400,11 +1400,14 @@ sub compout {
'to' => 'To:',
);
my %attachmax = (
- text => &mt('(128 KB max size)'),
- num => 131072,
+ text => &mt('(1 MB max size)'),
+ num => 1048576,
);
if (!$forwarding && !$multiforward) {
- $attachrow = '
'.$lt{'atta'}.' '.$attachmax{'text'}.': |
';
+ $attachrow = ''.$lt{'atta'}.' '.$attachmax{'text'}
+ .': '
+ .' |
'
+ .'';
}
if (&Apache::lonnet::allowed('srm',$env{'request.course.id'})
|| &Apache::lonnet::allowed('srm',$env{'request.course.id'}.
@@ -2174,8 +2177,7 @@ sub displaymessage {
my @actionlist;
if ($env{'user.adv'}) {
- if (($env{'request.course.id'}) && ($from_student) &&
- (&Apache::lonnet::allowed('vgr',$env{'request.course.id'}))) {
+ if (&Apache::lonnet::allowed('vgr',$env{'request.course.id'})) {
push(@actionlist,&Apache::loncommon::track_student_link(
'View recent activity'
,$content{'sendername'}
@@ -2668,6 +2670,8 @@ sub header {
if ($baseurl) {
$extra .= "";
}
+ $extra .= '';
$r->print(&Apache::loncommon::start_page('Messages',
$extra));
$r->print(&Apache::lonhtmlcommon::breadcrumbs