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

raeburn raeburn@source.lon-capa.org
Fri, 12 Dec 2008 17:46:25 -0000


raeburn		Fri Dec 12 17:46:25 2008 EDT

  Modified files:              
    /loncom/interface	lonsearchcat.pm 
  Log:
  - Originally the <nobr></nobr> encompassed both the viewselect and records select boxes (see rev 1.208).
  
  
Index: loncom/interface/lonsearchcat.pm
diff -u loncom/interface/lonsearchcat.pm:1.301 loncom/interface/lonsearchcat.pm:1.302
--- loncom/interface/lonsearchcat.pm:1.301	Thu Dec 11 14:55:15 2008
+++ loncom/interface/lonsearchcat.pm	Fri Dec 12 17:46:25 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Search Catalog
 #
-# $Id: lonsearchcat.pm,v 1.301 2008/12/11 14:55:15 bisitz Exp $
+# $Id: lonsearchcat.pm,v 1.302 2008/12/12 17:46:25 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1154,7 +1154,7 @@
 ######################################################################
 ######################################################################
 sub viewoptions {
-    my $scrout;
+    my $scrout = '<span class="LC_nobreak">';
     if (! defined($env{'form.viewselect'})) { 
         $env{'form.viewselect'}='detailed'; 
     }
@@ -1168,7 +1168,6 @@
                                                   undef,
                                                   (10,20,50,100,1000,10000));
     $scrout .= ('&nbsp;'x2)
-              .'<span class="LC_nobreak">'
               .&mt('[_1] Records per Page',$countselect)
               .'</span>'.$/;
     return $scrout;