| -$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 +1114,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 +1132,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 +1216,9 @@ sub compout { '' . $crithelp . ''; - } +&mt('Send copy to permanent email address (if known)').''. +''; } my %message; my %content; my $defdom=$env{'user.domain'}; @@ -1215,6 +1337,7 @@ ENDUPLOAD &discourse; } $r->print(''. + &Apache::lonfeedback::generate_preview_button('compemail','message'). &Apache::lonhtmlcommon::htmlareaselectactive('message')); } @@ -1265,6 +1388,12 @@ sub disfacetoface { $result.=''.&mt('Mark Unread').' | '. 'Delete | '. + '">'.&mt('Delete').''. ''.&mt('Back to Folder Display').' | '); @@ -1790,6 +1920,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('