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

bisitz bisitz@source.lon-capa.org
Thu, 14 Jan 2010 18:15:31 -0000


bisitz		Thu Jan 14 18:15:31 2010 EDT

  Modified files:              
    /loncom/interface	lonuserutils.pm 
  Log:
  XHTML / Corrected tag structure: Correctly close starting tags (select, a)
  
  
Index: loncom/interface/lonuserutils.pm
diff -u loncom/interface/lonuserutils.pm:1.111 loncom/interface/lonuserutils.pm:1.112
--- loncom/interface/lonuserutils.pm:1.111	Thu Jan 14 18:06:14 2010
+++ loncom/interface/lonuserutils.pm	Thu Jan 14 18:15:31 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Utility functions for managing LON-CAPA user accounts
 #
-# $Id: lonuserutils.pm,v 1.111 2010/01/14 18:06:14 bisitz Exp $
+# $Id: lonuserutils.pm,v 1.112 2010/01/14 18:15:31 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1732,7 +1732,7 @@
         }
         if (@options > 0) {
             my $currsel;
-            $markup = '<select name="'.$name{$item}.'" />'."\n";
+            $markup = '<select name="'.$name{$item}.'">'."\n";
             foreach my $option ('all','none',@options) { 
                 $currsel = '';
                 if ($env{'form.'.$name{$item}} eq $option) {
@@ -2943,7 +2943,7 @@
         $output = $in->{'username'};
     } else {
         $output = '<a href="javascript:username_display_launch('.
-                  "'$in->{'username'}','$in->{'domain'}'".')" />'.
+                  "'$in->{'username'}','$in->{'domain'}'".')">'.
                   $in->{'username'}.'</a>';
     }
     return $output;