[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm lonnavmaps.pm lonparmset.pm

www www at source.lon-capa.org
Sun Dec 4 11:27:06 EST 2011


www		Sun Dec  4 16:27:06 2011 EDT

  Modified files:              
    /loncom/interface	loncommon.pm lonnavmaps.pm lonparmset.pm 
  Log:
  Styles and column width
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.1028 loncom/interface/loncommon.pm:1.1029
--- loncom/interface/loncommon.pm:1.1028	Mon Nov 14 00:20:34 2011
+++ loncom/interface/loncommon.pm	Sun Dec  4 16:27:05 2011
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.1028 2011/11/14 00:20:34 raeburn Exp $
+# $Id: loncommon.pm,v 1.1029 2011/12/04 16:27:05 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -5524,6 +5524,11 @@
   background: $pgbg;
 }
 
+span.LC_current_nav_location {
+  font-weight:bold;
+  background: $sidebg;
+}
+
 span.LC_parm_menu_item {
   font-size: larger;
 }
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.470 loncom/interface/lonnavmaps.pm:1.471
--- loncom/interface/lonnavmaps.pm:1.470	Tue Nov 29 11:58:53 2011
+++ loncom/interface/lonnavmaps.pm	Sun Dec  4 16:27:06 2011
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavmaps.pm,v 1.470 2011/11/29 11:58:53 foxr Exp $
+# $Id: lonnavmaps.pm,v 1.471 2011/12/04 16:27:06 www Exp $
 
 #
 # Copyright Michigan State University Board of Trustees
@@ -1013,8 +1013,8 @@
     # Is this the current resource?
     if (!$params->{'displayedHereMarker'} && 
         $resource->symb() eq $params->{'here'} ) {
-        $curMarkerBegin = '<em>';
-        $curMarkerEnd = '</em>';
+        $curMarkerBegin = '<span class="LC_current_nav_location">';
+        $curMarkerEnd = '</span>';
 	$params->{'displayedHereMarker'} = 1;
     }
 
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.516 loncom/interface/lonparmset.pm:1.517
--- loncom/interface/lonparmset.pm:1.516	Sun Dec  4 14:55:16 2011
+++ loncom/interface/lonparmset.pm	Sun Dec  4 16:27:06 2011
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.516 2011/12/04 14:55:16 www Exp $
+# $Id: lonparmset.pm,v 1.517 2011/12/04 16:27:06 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -813,6 +813,7 @@
         &date_sanity_info($value);
         } else {
             $result = $value;
+            $result=~s/\,/\, /gs;
         $result = &HTML::Entities::encode($result,'"<>&');
         }
     }
@@ -2333,7 +2334,7 @@
                   $coursespan += 3;
                }
 
-               $r->print('<p><table border="2">');
+               $r->print(&Apache::loncommon::start_data_table());
 #
 # This produces the headers
 #
@@ -2513,7 +2514,7 @@
                 }
             } # end foreach ids
 # -------------------------------------------------- End entry for one resource
-            $r->print('</table>');
+            $r->print(&Apache::loncommon::end_data_table);
         } # end of  full
 #--------------------------------------------------- Entry for parm level map
         if ($parmlev eq 'map') {




More information about the LON-CAPA-cvs mailing list