Diff for /loncom/interface/loncommunicate.pm between versions 1.31 and 1.34

version 1.31, 2006/04/08 06:59:34 version 1.34, 2006/05/30 20:09:25
Line 38  use Apache::lonnet; Line 38  use Apache::lonnet;
   
 sub menu {  sub menu {
     my $r=shift;      my $r=shift;
       my $crstype = 'Course';
       my $usertype = 'Student';
       if (defined($env{'course.'.$env{'request.course.id'}.'.type'})) {
           $crstype = $env{'course.'.$env{'request.course.id'}.'.type'};
           if ($crstype eq 'Group') {
               $usertype = 'Member';
           }   
       }
     my %lt=&Apache::lonlocal::texthash(      my %lt=&Apache::lonlocal::texthash(
 'mnf' => 'Make New Folder',  'mnf' => 'Make New Folder',
 'vcm' => 'View Critical Messages',  'vcm' => 'View Critical Messages',
 'smu' => 'Send Message to User(s)',  'smu' => 'Send Message to User(s)',
 'bmc' => 'Broadcast Message to Course',  'bmc' => "Broadcast Message to $crstype",
 'dmu' => 'Distribute Messages from Uploaded File to Course',  'dmu' => "Distribute Messages from Uploaded File to $crstype",
 'unr' =>   'unr' => 
      'User Notes, Records of Face-to-Face Discussions, and Critical Messages',       'User Notes, Records of Face-to-Face Discussions, and Critical Messages',
   
 'cbs' => 'Configure blocking of student communication during exams'   'cbs' => "Configure Blocking of $usertype Communication during Exams",
   'blog' => 'Add or Edit Blog Entries' 
   
 );  );
     my %help=();      my %help=();
Line 65  sub menu { Line 74  sub menu {
 <td bgcolor="#FFFFAA">  <td bgcolor="#FFFFAA">
   <b><a href="/adm/email?compose=individual">$lt{'smu'}</a></b>    <b><a href="/adm/email?compose=individual">$lt{'smu'}</a></b>
 </td></tr>  </td></tr>
   <tr><td bgcolor="#FFFFAA">
     <b><a href="/adm/$env{'user.domain'}/$env{'user.name'}/_rss.html">$lt{'blog'}</a></b>
   </td><td></td></tr>
 END  END
     if (($env{'request.course.id'}) &&       if (($env{'request.course.id'}) && 
         (          (

Removed from v.1.31  
changed lines
  Added in v.1.34


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>