Mailing List Archive

Templates/xhtml_slim.pt help
Hello

I tried editing:

Templates/xhtml_slim.pt

and I inserted some text:
Under the search box:
<div class="pBody">
<form name="searchform" action="${searchaction}"
id="searchform">
<input id="searchInput" name="search"
type="text"
i18n:attributes="accesskey
string:accesskey-search | default"/>
<input type='submit' name="go" value="Go"
class="searchButton"
i18n:attributes="value string:go"/>&nbsp;<input
type='submit' name="fulltext"
value="Search" class="searchButton"
i18n:attributes="value string:search"/>
</form>

I added:

<form method=GET
action="http://www.google.com/custom"> <img SRC=""
border="0" alt="Google" align="center"></img>
<input type="text" name="q" size="20" maxlength="255"
value=""></input> <input type="submit" name="sa"
value="Search"></input> </form>



I get a huge Pear Error? (I don't even know what pear
is?!) How can I add this to the template?
Thanks
Jimmy



__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
Re: Templates/xhtml_slim.pt help [ In reply to ]
Jimmy Apple wrote:
> I added:
>
> <form method=GET
> action="http://www.google.com/custom"> <img SRC=""
> border="0" alt="Google" align="center"></img>
> <input type="text" name="q" size="20" maxlength="255"
> value=""></input> <input type="submit" name="sa"
> value="Search"></input> </form>
>
>
>
> I get a huge Pear Error? (I don't even know what pear
> is?!) How can I add this to the template?

You have to use valid XML. At the minimum you're missing the quotes on
the <form>'s method attribute.

-- brion vibber (brion @ pobox.com)