[LON-CAPA-cvs] cvs: loncom /interface lonmsgdisplay.pm

bisitz bisitz at source.lon-capa.org
Wed Sep 4 10:51:00 EDT 2013


bisitz		Wed Sep  4 14:51:00 2013 EDT

  Modified files:              
    /loncom/interface	lonmsgdisplay.pm 
  Log:
  XHTML:
  - Fixed typo, rev. 1.53 (text quotation closed at wrong position)
  - Fixed typo, rev. 1.70 (incomplete <br />)
  - Fixed tag order, rev. 1.53 (start was <b><a> and closure was </a></b>)
  
  
  
Index: loncom/interface/lonmsgdisplay.pm
diff -u loncom/interface/lonmsgdisplay.pm:1.169 loncom/interface/lonmsgdisplay.pm:1.170
--- loncom/interface/lonmsgdisplay.pm:1.169	Wed Sep  4 14:21:30 2013
+++ loncom/interface/lonmsgdisplay.pm	Wed Sep  4 14:51:00 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines for messaging display
 #
-# $Id: lonmsgdisplay.pm,v 1.169 2013/09/04 14:21:30 bisitz Exp $
+# $Id: lonmsgdisplay.pm,v 1.170 2013/09/04 14:51:00 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1204,7 +1204,7 @@
             foreach my $item ($localsenttime,$dis_name,$dis_domain,$shortsubj) {
                 $r->print('<td>'.(($status eq 'new')?'<b>':'').
                           '<a href="/adm/email?display='.$origID.$sqs.'">'.
-                          $item.(($status eq 'new')?'</b>':'').'</a></td>');
+                          $item.'</a>'.(($status eq 'new')?'</b>':'').'</td>');
             }
             # Description and Status
             my $showstatus;
@@ -1254,7 +1254,7 @@
         $r->print('    <option value="markeddel">'.&mt('Delete').'</option>'."\n");
     }
     if ($msgstatus ne 'read') {
-        $r->print('    <option value="markedread">'.&mt('Mark Read').'</option>."\n"');
+        $r->print('    <option value="markedread">'.&mt('Mark Read').'</option>'."\n");
     }
     if ($msgstatus ne 'unread') {
         $r->print('    <option value="markedunread">'.&mt('Mark Unread').'</option>'."\n");
@@ -1924,8 +1924,7 @@
             } else {
                 %content=&Apache::lonmsg::unpackagemsg($content{'message'});
                 $content{'message'} =
-                '<b>'.&mt('Subject').': '.$content{'subject'}.'</b><br
-'.
+                '<b>'.&mt('Subject').': '.$content{'subject'}.'</b><br />'.
                 $content{'message'};
             }
         } else {




More information about the LON-CAPA-cvs mailing list