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

bisitz bisitz@source.lon-capa.org
Wed, 18 Mar 2009 11:12:36 -0000


bisitz		Wed Mar 18 11:12:36 2009 EDT

  Modified files:              
    /loncom/interface	lonnavdisplay.pm 
  Log:
  Get rid of <nobr> (replaced by span with LC_nobreak style)
  
  
Index: loncom/interface/lonnavdisplay.pm
diff -u loncom/interface/lonnavdisplay.pm:1.8 loncom/interface/lonnavdisplay.pm:1.9
--- loncom/interface/lonnavdisplay.pm:1.8	Mon Mar 16 15:25:40 2009
+++ loncom/interface/lonnavdisplay.pm	Wed Mar 18 11:12:36 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavdisplay.pm,v 1.8 2009/03/16 15:25:40 schulted Exp $
+# $Id: lonnavdisplay.pm,v 1.9 2009/03/18 11:12:36 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -294,7 +294,7 @@
 
     my %selected=($env{'form.sort'} => 'selected=on');
     my $sort_html=("<form name=\"sortForm\">
-                 <nobr>
+                 <span class=\"LC_nobreak\">
                     <input type=\"hidden\" name=\"showOnlyHomework\" value=\"".$env{'form.showOnlyHomework'}."\" />
                     ".&mt('Sort by:')."
                     <select name=\"sort\" onChange=\"document.sortForm.submit()\">
@@ -303,7 +303,7 @@
                        <option value=\"duedate\" $selected{'duedate'}>".&mt('Duedate')."</option>
                        <option value=\"discussion\" $selected{'discussion'}>".&mt('Has New Discussion')."</option>
                     </select>
-                 </nobr>
+                 </span>
                </form>");
     # renderer call
     my $renderArgs = { 'cols' => [0,1,2,3],