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

bisitz lon-capa-cvs-allow@mail.lon-capa.org
Fri, 22 Feb 2008 13:32:50 -0000


bisitz		Fri Feb 22 08:32:50 2008 EDT

  Modified files:              
    /loncom/interface	lonmsgdisplay.pm 
  Log:
  Message which informs about how to handle critcal messages was too small. Many students don't recognize this important information. -> Added CSS class
  
  
Index: loncom/interface/lonmsgdisplay.pm
diff -u loncom/interface/lonmsgdisplay.pm:1.83 loncom/interface/lonmsgdisplay.pm:1.84
--- loncom/interface/lonmsgdisplay.pm:1.83	Fri Dec  7 19:25:14 2007
+++ loncom/interface/lonmsgdisplay.pm	Fri Feb 22 08:32:49 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines for messaging display
 #
-# $Id: lonmsgdisplay.pm,v 1.83 2007/12/08 00:25:14 raeburn Exp $
+# $Id: lonmsgdisplay.pm,v 1.84 2008/02/22 13:32:49 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -737,7 +737,7 @@
             '<br />'.&mt('Subject').': '.$content{'subject'}.
             '<br /><pre>'.
               &Apache::lontexconvert::msgtexconverted($content{'message'}).
-            '</pre><small>';
+            '</pre><div class="LC_error">';
         my ($rec_button,$reprec_button);
         $rec_button = &mt('Move to Inbox');
         if (!$content{'noreplies'}) {
@@ -752,7 +752,7 @@
         } else {
             $result .= &mt('Access to other pages will be prevented until you have moved the message to your inbox.'); 
         }
-        $result .= '</small><br />'.
+        $result .= '</div><br />'.
             '<input type="submit" name="rec_'.$key.'" value="'.$rec_button.'" />';
         if (!$content{'noreplies'}) {
             $result .= '<input type="submit" name="reprec_'.$key.'" '.