| -$lt{'da'} | $lt{'us'} | $lt{'do'} | $lt{'su'} | $lt{'da'} | $lt{'us'} | $lt{'do'} | $lt{'su'} | $lt{'co'} | TABLEHEAD foreach my $msg (@newmsgs) { $r->print(<<"ENDLINK"); -
---|---|---|---|---|---|---|---|
$lt{'op'} | ENDLINK - foreach ('sendtime','from','fromdom','shortsub') { + foreach ('sendtime','from','fromdom','shortsub','course') { $r->print("$msg->{$_} | "); } $r->print("'); + if ($env{'form.sortedby'} eq "revcourse") { + $r->print(''.&mt('Course').''); + } else { + $r->print(''.&mt('Course').''); + } + $r->print(' | '); if ($env{'form.sortedby'} eq "revstatus") { $r->print(''.&mt('Status').' | '); } else { @@ -993,16 +1078,16 @@ ENDDISHEADER } $r->print("\n"); for (my $n=$firstdis;$n<=$lastdis;$n++) { - my ($sendtime,$shortsubj,$fromname,$fromdomain,$status,$origID)= @{$temp[$n]}; + my ($sendtime,$shortsubj,$fromname,$fromdomain,$status,$origID,$description)= @{$temp[$n]}; if (($status ne 'deleted') && defined($sendtime) && $sendtime!~/error/) { if ($status eq 'new') { - $r->print('||||
'.&mt('Open').' | '. @@ -1011,7 +1096,7 @@ ENDDISHEADER ' | '.&Apache::lonlocal::locallocaltime($sendtime).' | '. $fromname.' | '.$fromdomain.' | '. &Apache::lonnet::unescape($shortsubj).' | '. - $status." | '.$status.' | '."\n"); } elsif ($status eq 'deleted') { # purge &movemsg(&Apache::lonnet::unescape($origID),$folder,'trash'); @@ -1095,8 +1180,9 @@ sub compout { '' . $crithelp . ''; - } +&mt('Send copy to permanent email address (if known)').''. +''; } my %message; my %content; my $defdom=$env{'user.domain'}; @@ -1215,6 +1301,7 @@ ENDUPLOAD &discourse; } $r->print(''. + &Apache::lonfeedback::generate_preview_button('compemail','message'). &Apache::lonhtmlcommon::htmlareaselectactive('message')); } @@ -1236,8 +1323,8 @@ sub retrieve_instructor_comments { my %content=&unpackagemsg($records{$_}); next if ($content{'senderdomain'} eq ''); next if ($content{'subject'} !~ /^Record/); - # $content{'message'}=~s/\n/\'.&mt('Mark Unread').' | '. 'Delete | '. + '">'.&mt('Delete').''. ''.&mt('Back to Folder Display').' | '); @@ -1790,6 +1884,30 @@ sub displaymessage { '">'.&mt('Next').''); } $r->print('
'.&mt('Currently available actions (will open extra window)').': | '); + my $symb=&Apache::lonnet::symbread($content{'baseurl'}); + if (&Apache::lonnet::allowed('vgr',$env{'request.course.id'})) { + $r->print(''.&Apache::loncommon::track_student_link(&mt('View recent activity'),$content{'sendername'},$content{'senderdomain'},'check').' | '); + } + if (&Apache::lonnet::allowed('opa',$env{'request.course.id'}) && $symb) { + $r->print(''.&Apache::loncommon::pprmlink(&mt('Set/Change parameters'),$content{'sendername'},$content{'senderdomain'},$symb,'check').' | '); + } + if (&Apache::lonnet::allowed('mgr',$env{'request.course.id'}) && $symb) { + $r->print(''.&Apache::loncommon::pgrdlink(&mt('Set/Change grades'),$content{'sendername'},$content{'senderdomain'},$symb,'check').' | '); + } + $r->print('
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.