--- loncom/interface/loncommon.pm 2002/12/30 14:10:58 1.74 +++ loncom/interface/loncommon.pm 2003/02/12 17:57:27 1.78 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.74 2002/12/30 14:10:58 www Exp $ +# $Id: loncommon.pm,v 1.78 2003/02/12 17:57:27 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -27,9 +27,7 @@ # # YEAR=2001 # 2/13-12/7 Guy Albertelli -# 12/11,12/12,12/17 Scott Harrison # 12/21 Gerd Kortemeyer -# 12/21 Scott Harrison # 12/25,12/28 Gerd Kortemeyer # YEAR=2002 # 1/4 Gerd Kortemeyer @@ -540,14 +538,16 @@ sub help_open_topic { # Add the text if ($text ne "") { - $template .= "<a href=\"$link\">$text</a> "; + $template .= + "<table bgcolor='#3333AA' cellspacing='1' cellpadding='1' border='0'><tr>". + "<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> + <a href="$link"><image src="/adm/help/gif/smallHelp.gif" border="0" alt="(Help: $topic)" /></a> ENDTEMPLATE - + if ($text ne '') { $template.='</td></tr></table>' }; return $template; } @@ -839,7 +839,7 @@ sub authform_internal{ onclick="javascript:changed_radio('int',$args{'formname'});" /> Internally authenticated (with initial password <input type="text" size="10" name="intarg" value="" - onchange="javascript:changed_text('int',$args{'formname'});" /> + onchange="javascript:changed_text('int',$args{'formname'});" />) END return $result; } @@ -875,7 +875,7 @@ sub authform_filesystem{ onclick="javascript:changed_radio('fsys',$in{'formname'});" /> Filesystem authenticated (with initial password <input type="text" size="10" name="fsysarg" value="" - onchange="javascript:changed_text('fsys',$in{'formname'});"> + onchange="javascript:changed_text('fsys',$in{'formname'});">) END return $result; }