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

raeburn raeburn@source.lon-capa.org
Sat, 14 Aug 2010 04:28:21 -0000


raeburn		Sat Aug 14 04:28:21 2010 EDT

  Modified files:              
    /loncom/interface	londocs.pm loncommon.pm 
  Log:
  - Bullets in horizontal parameters list moved to CSS.
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.431 loncom/interface/londocs.pm:1.432
--- loncom/interface/londocs.pm:1.431	Sat Aug 14 00:20:06 2010
+++ loncom/interface/londocs.pm	Sat Aug 14 04:28:21 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.431 2010/08/14 00:20:06 raeburn Exp $
+# $Id: londocs.pm,v 1.432 2010/08/14 04:28:21 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1607,11 +1607,11 @@
     my $shown=0;
     if (($ishidden) || ($isencrypted) || ($randompick>=0) || ($is_random_order)) {
 	$r->print('<div class="LC_Box">'.
-          '<ol class="LC_docs_parameters"><li style="font-weight:bold;">'.&mt('Parameters:').'</li>'.
-		  ($randompick>=0?'<li>&bull;&nbsp;'.&mt('randomly pick [quant,_1,resource]',$randompick).'</li>':'').
-		  ($ishidden?'<li>&bull;&nbsp;'.&mt('contents hidden').'</li>':'').
-		  ($isencrypted?'<li>&bull;&nbsp;'.&mt('URLs hidden').'</li>':'').
-		  ($is_random_order?'<li>&bull;&nbsp;'.&mt('random order').'</li>':'').
+          '<ol class="LC_docs_parameters"><li class="LC_docs_parameters_title">'.&mt('Parameters:').'</li>'.
+		  ($randompick>=0?'<li>'.&mt('randomly pick [quant,_1,resource]',$randompick).'</li>':'').
+		  ($ishidden?'<li>'.&mt('contents hidden').'</li>':'').
+		  ($isencrypted?'<li>'.&mt('URLs hidden').'</li>':'').
+		  ($is_random_order?'<li>'.&mt('random order').'</li>':'').
 		  '</ol>');
         if ($randompick>=0) {
             $r->print('<p class="LC_warning">'
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.975 loncom/interface/loncommon.pm:1.976
--- loncom/interface/loncommon.pm:1.975	Sat Aug 14 00:00:29 2010
+++ loncom/interface/loncommon.pm	Sat Aug 14 04:28:21 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.975 2010/08/14 00:00:29 raeburn Exp $
+# $Id: loncommon.pm,v 1.976 2010/08/14 04:28:21 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -6088,6 +6088,18 @@
   display: inline;
 }
 
+ol.LC_docs_parameters li:before {
+  content: "\\002022 \\0020";
+}
+
+li.LC_docs_parameters_title {
+  font-weight: bold;
+}
+
+ol.LC_docs_parameters li.LC_docs_parameters_title:before {
+  content: "";
+}
+
 ul#LC_secondary_menu {
   clear: both;
   color: $fontmenu;