[LON-CAPA-cvs] cvs: loncom /auth lonroles.pm

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 03 Mar 2005 07:16:45 -0000


albertel		Thu Mar  3 02:16:45 2005 EDT

  Modified files:              
    /loncom/auth	lonroles.pm 
  Log:
  - xhtml cleaning
  
  
Index: loncom/auth/lonroles.pm
diff -u loncom/auth/lonroles.pm:1.115 loncom/auth/lonroles.pm:1.116
--- loncom/auth/lonroles.pm:1.115	Fri Dec 17 16:44:19 2004
+++ loncom/auth/lonroles.pm	Thu Mar  3 02:16:44 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # User Roles Screen
 #
-# $Id: lonroles.pm,v 1.115 2004/12/17 21:44:19 albertel Exp $
+# $Id: lonroles.pm,v 1.116 2005/03/03 07:16:44 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -376,14 +376,14 @@
     	    $fn.='?'.$ENV{'REDIRECT_QUERY_STRING'};
         }
         $r->print('<form method="post" name="rolechoice" action="'.(($fn)?$fn:$r->uri).'">');
-        $r->print('<input type=hidden name=orgurl value="'.$fn.'">');
-        $r->print('<input type=hidden name=selectrole value=1>');
+        $r->print('<input type="hidden" name="orgurl" value="'.$fn.'" />');
+        $r->print('<input type="hidden" name="selectrole" value="1" />');
     }
     if ($ENV{'user.adv'}) {
 	$r->print(
-	      '<br />'.&mt('Show all roles').': <input type="checkbox" name="showall"');
-	if ($ENV{'form.showall'}) { $r->print(' checked'); }
-	$r->print('><input type=submit value="'.&mt('Display').'">');
+	      '<br /><label>'.&mt('Show all roles').': <input type="checkbox" name="showall"');
+	if ($ENV{'form.showall'}) { $r->print(' checked="checked" '); }
+	$r->print(' /></label><input type="submit" value="'.&mt('Display').'" />');
     }
 
     my (%roletext,%sortrole,%roleclass);