[Moin-user] Google Search Box

Preben Randhol randhol+moinmoin at pvv.org
Thu Feb 8 17:50:14 EST 2007


On Thu, 08 Feb 2007 01:29:09 +0100
Preben Randhol <randhol+moinmoin at pvv.org> wrote:


There is a small bug in the modern.py file. I had forgot to close the
form so the google function should look like this:

    def google(self, d, **kw):

        html = [
                u'<div id="google">',
                u'<form action="http://www.google.com/search" name=f>',
                u'<input name=hl type=hidden value=en>',
                u'<input maxlength=2048 name=q size=20 title="Google
Search" value="">', u'<input name=btnG type=submit value="Google">',
                u'</form>'
                u'</div>'
                ]

HTH

Preben




More information about the Moin-user mailing list