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

www lon-capa-cvs@mail.lon-capa.org
Wed, 12 Feb 2003 17:57:27 -0000


www		Wed Feb 12 12:57:27 2003 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  Fix invalid HTML
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.77 loncom/interface/loncommon.pm:1.78
--- loncom/interface/loncommon.pm:1.77	Tue Feb 11 20:59:34 2003
+++ loncom/interface/loncommon.pm	Wed Feb 12 12:57:27 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.77 2003/02/12 01:59:34 www Exp $
+# $Id: loncommon.pm,v 1.78 2003/02/12 17:57:27 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -540,14 +540,14 @@
     {
 	$template .= 
   "<table bgcolor='#3333AA' cellspacing='1' cellpadding='1' border='0'><tr>".
-  "<td bgcolor='#5555FF'><a href=\"$link\"><font color='#FFFFFF' size='2'>$text</a>";
+  "<td bgcolor='#5555FF'><a href=\"$link\"><font color='#FFFFFF' size='2'>$text</font></a>";
     }
 
     # Add the graphic
     $template .= <<"ENDTEMPLATE";
  <a href="$link"><image src="/adm/help/gif/smallHelp.gif" border="0" alt="(Help: $topic)" /></a>
 ENDTEMPLATE
-    if ($text ne '') { $template.='</font></td></tr></table>' };
+    if ($text ne '') { $template.='</td></tr></table>' };
     return $template;
 
 }