source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: Tweak to make man.cgi's search results validate properly.
@ 2011-12-07 16:18 kristaps
  0 siblings, 0 replies; only message in thread
From: kristaps @ 2011-12-07 16:18 UTC (permalink / raw)
  To: source

Log Message:
-----------
Tweak to make man.cgi's search results validate properly.

Modified Files:
--------------
    mdocml:
        cgi.c

Revision Data
-------------
Index: cgi.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/cgi.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -Lcgi.c -Lcgi.c -u -p -r1.15 -r1.16
--- cgi.c
+++ cgi.c
@@ -341,6 +341,7 @@ resp_searchform(const struct req *req)
 	html_print(progname);
 	printf("/search.html\" METHOD=\"get\">\n");
 	printf("<FIELDSET>\n"
+	       "<LEGEND>Search Parameters</LEGEND>\n"
 	       "<INPUT TYPE=\"submit\" NAME=\"op\" "
 	        "VALUE=\"Whatis\"> or \n"
 	       "<INPUT TYPE=\"submit\" NAME=\"op\" "
@@ -467,6 +468,8 @@ resp_search(struct res *r, size_t sz, vo
 		html_print(r[i].desc);
 		puts("</TD></TR>");
 	}
+
+	puts("</TABLE>");
 
 	resp_end_html();
 }
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-12-07 16:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-07 16:18 mdocml: Tweak to make man.cgi's search results validate properly kristaps

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).