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

schulted schulted@source.lon-capa.org
Mon, 09 Mar 2009 13:27:56 -0000


schulted		Mon Mar  9 13:27:56 2009 EDT

  Modified files:              
    /loncom/interface	lonnavdisplay.pm 
  Log:
  notes on actions will be displayed with the "LC_info"-style now.
  
  
  
Index: loncom/interface/lonnavdisplay.pm
diff -u loncom/interface/lonnavdisplay.pm:1.6 loncom/interface/lonnavdisplay.pm:1.7
--- loncom/interface/lonnavdisplay.pm:1.6	Thu Feb 26 16:17:30 2009
+++ loncom/interface/lonnavdisplay.pm	Mon Mar  9 13:27:56 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavdisplay.pm,v 1.6 2009/02/26 16:17:30 schafran Exp $
+# $Id: lonnavdisplay.pm,v 1.7 2009/03/09 13:27:56 schulted Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -256,9 +256,9 @@
 
         # If we found no problems, print a note to that effect.
         if (!$foundDoableProblem) {
-            $r->print("<font size='+2'>"
+            $r->print("<span class=\"LC_info\">"
                      .&mt("All homework assignments have been completed.")
-                     ."</font><br /><br />");
+                     ."</span>");
         }
     } else {
 	&Apache::lonnavmaps::add_linkitem(\%toplinkitems,'firsthomework',
@@ -281,7 +281,7 @@
 	&Apache::lonnavmaps::add_linkitem(\%toplinkitems,'everything',
 					  'location.href="navmaps?sort='.$env{'form.sort'}.'"',
 					  "Show everything");
-        $r->print("<p><font size='+2'>".&mt("Uncompleted Problems")."</font></p>");
+        $r->print("<span class=\"LC_info\">".&mt("Uncompleted Problems")."</span>");
         $env{'form.filter'} = '';
         $env{'form.condition'} = 1;
 	$resource_no_folder_link = 1;
@@ -324,9 +324,9 @@
     # user knows there was no error.
     if ($renderArgs->{'counter'} == 0) {
         if ($showOnlyHomework) {
-            $r->print("<p><font size='+1'>".&mt("All homework is currently completed.")."</font></p>");
+            $r->print("<p><span class=\"LC_info\">".&mt("All homework is currently completed.")."</span></p>");
         } else { # both jumpToFirstHomework and normal use the same: course must be empty
-            $r->print("<p><font size='+1'>".&mt("This course is empty.")."</font></p>");
+            $r->print("<p><span class=\"LC_info\">".&mt("This course is empty.")."</span></p>");
         }
     }
     #my $td=&tv_interval($t0);