Page 1 of 1

search function patch for valid xhtml 1.0 strict

Posted: Sat Jun 17, 2006 4:09 am
by foobarra
I have been working on porting andreas00 to CMSMS, and the only bit of code that would not validate xhtml 1.0 strict was the stock search function in 0.13.  Placing the input lines in div tags solves it  :)

===========================================================

--- plugins/function.search.php~        2005-12-09 11:46:31.000000000 -0600
+++ plugins/function.search.php 2006-06-16 22:56:45.000000000 -0500
@@ -25,11 +25,13 @@
                $buttonText = $params['buttonText'];

        return '
+     
       
       
       
       
       
+     
        ';

}

==========================================================

Kind Regards,
Michael

Re: search function patch for valid xhtml 1.0 strict

Posted: Sat Jun 17, 2006 6:52 pm
by Elijah Lofgren
foobarra wrote: I have been working on porting andreas00 to CMSMS, and the only bit of code that would not validate xhtml 1.0 strict was the stock search function in 0.13.  Placing the input lines in div tags solves it  :)
Thanks.  :)

Patch applied: http://viewsvn.cmsmadesimple.org/viewsv ... 6&view=rev

Re: search function patch for valid xhtml 1.0 strict

Posted: Mon Jun 19, 2006 1:20 pm
by cyberman
foobarra wrote: I have been working on porting andreas00 to CMSMS,
Would be nice, if you share this theme with community on

http://themes.cmsmadesimple.org/Share_a_Theme.html