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

matthew lon-capa-cvs@mail.lon-capa.org
Thu, 23 Sep 2004 21:16:45 -0000


matthew		Thu Sep 23 17:16:45 2004 EDT

  Modified files:              
    /loncom/interface	lonsearchcat.pm 
  Log:
  Adding <label> tag around checkboxes and associated text.
  
  
Index: loncom/interface/lonsearchcat.pm
diff -u loncom/interface/lonsearchcat.pm:1.232 loncom/interface/lonsearchcat.pm:1.233
--- loncom/interface/lonsearchcat.pm:1.232	Fri Aug 20 11:45:51 2004
+++ loncom/interface/lonsearchcat.pm	Thu Sep 23 17:16:45 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Search Catalog
 #
-# $Id: lonsearchcat.pm,v 1.232 2004/08/20 15:45:51 matthew Exp $
+# $Id: lonsearchcat.pm,v 1.233 2004/09/23 21:16:45 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -659,18 +659,18 @@
     my $scrout = &search_html_header().$bodytag;
     if (&Apache::lonnet::allowed('bre',$ENV{'request.role.domain'})) {
         # Define interface components
-        my $userelatedwords=
+        my $userelatedwords= '<label>'.
             &mt('[_1] use related words',
                 &Apache::lonhtmlcommon::checkbox
-                ('related',$ENV{'form.related'},'related'));
-        my $onlysearchdomain=
+                ('related',$ENV{'form.related'},'related')).'</label>';
+        my $onlysearchdomain='<label>'.
             &mt('[_1] only search domain [_2]',
                 &Apache::lonhtmlcommon::checkbox('domains',
                                                  $ENV{'form.domains'},
                                                  $r->dir_config('lonDefDomain')
                                                  ),
                 $r->dir_config('lonDefDomain')
-                );
+                ).'</label>';
         my $adv_search_link = 
             '<a href="/adm/searchcat?'.
             'phase=disp_adv&'.