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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 23 May 2006 18:13:09 -0000


albertel		Tue May 23 14:13:09 2006 EDT

  Modified files:              
    /loncom/interface	lonhelp.pm 
  Log:
  - correctiing some bad html
  
  
Index: loncom/interface/lonhelp.pm
diff -u loncom/interface/lonhelp.pm:1.25 loncom/interface/lonhelp.pm:1.26
--- loncom/interface/lonhelp.pm:1.25	Sun Apr  2 22:04:55 2006
+++ loncom/interface/lonhelp.pm	Tue May 23 14:13:07 2006
@@ -62,8 +62,8 @@
     my $header=&mt('LON-CAPA Help');
     $r->print(<<HEADER);
     $start_page
-    <h3 style="font: sans-serif"><img align="right"
-    src="/adm/help/gif/lonhelpheader.gif"/>$header<hr />$bugs</h3>
+    <h3 style="font: sans-serif"><img align="right" alt="help logo"
+    src="/adm/help/gif/lonhelpheader.gif"/>$header</h3><hr />$bugs
     <!-- BEGIN -->
 HEADER
 
@@ -73,9 +73,12 @@
 	my $search=&mt('Search LON-CAPA help');
 	my $about=&mt('About LON-CAPA help and More Help');
         my $query=&mt('Search');
+	my $uri = $r->uri;
 	$r->print(<<FOOTER);
-    <hr /><form method="post">
-$search: <input type="text" name="searchterm" size="40" /><input type="submit" value="$query" /><br />
+    <hr /><form action="$uri" method="post">
+$search: <input type="text" name="searchterm" size="40" /><input type="submit" value="$query" />
+</form>
+<br />
 <a href="/adm/help/abouthelp.html">$about</a>
 FOOTER