stas 2002/07/09 08:56:31
Modified: src/search .swishcgi.conf
tmpl/custom/html search
Log:
make sure that CGI.pm doesn't generate XHTML
Submitted by: Bill Moseley <[EMAIL PROTECTED]>
Revision Changes Path
1.12 +6 -0 modperl-docs/src/search/.swishcgi.conf
Index: .swishcgi.conf
===================================================================
RCS file: /home/cvs/modperl-docs/src/search/.swishcgi.conf,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- .swishcgi.conf 23 May 2002 22:42:02 -0000 1.11
+++ .swishcgi.conf 9 Jul 2002 15:56:31 -0000 1.12
@@ -1,3 +1,9 @@
+# currently we spit HTML which is HTML 4.1 complient, so XHTML is no-no.
+
+# tell that to CGI.pm, but while we don't use it here, we load it here
+# for swish.cgi to use, so we don't pollute the standard swish.cgi
+# from the distro
+use CGI '-no-xhtml';
use Storable;
my $CHECKBOX_DATA = 'checkboxes.storable';
1.30 +1 -1 modperl-docs/tmpl/custom/html/search
Index: search
===================================================================
RCS file: /home/cvs/modperl-docs/tmpl/custom/html/search,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- search 9 Jul 2002 10:27:02 -0000 1.29
+++ search 9 Jul 2002 15:56:31 -0000 1.30
@@ -8,7 +8,7 @@
[%- PROCESS search_options -%]
-[%- USE CGI('-no_debug') -%]
+[%- USE CGI('-no_debug -no_xhtml') -%]
[%
IF doc.meta.link == 'search/searchresults.html';
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]