cvs: phpweb /include mozopensearch.inc
| From: | Hannes Magnusson | Date: | Fri, 21 Dec 2007 16:49:06 +0000 |
| Subject: | cvs: phpweb /include mozopensearch.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-713@lists.php.net to get a copy of this message | ||
bjori Fri Dec 21 16:49:06 2007 UTC
Modified files:
/phpweb/include mozopensearch.inc
Log:
Fixed bug#42031 php.net website problem (patch by Marco Rodrigues <Marco at
clustercube.com>)
http://cvs.php.net/viewvc.cgi/phpweb/include/mozopensearch.inc?r1=1.1&r2=1.2&diff_format=u
Index: phpweb/include/mozopensearch.inc
diff -u phpweb/include/mozopensearch.inc:1.1 phpweb/include/mozopensearch.inc:1.2
--- phpweb/include/mozopensearch.inc:1.1 Wed Mar 28 10:28:56 2007
+++ phpweb/include/mozopensearch.inc Fri Dec 21 16:49:06 2007
@@ -1,13 +1,10 @@
-<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
- <ShortName>PHP.net</ShortName>
- <Description>PHP.net - Search</Description>
- <InputEncoding>UTF-8</InputEncoding>
- <Contact>gothicx@gmail.com</Contact>
- <Image width="16" height="16"><?php echo $MYSITE;
?>images/phpnetsearch.png</Image>
- <Developer>Marco Rodrigues</Developer>
- <Url type="text/html" method="GET" template="<?php echo $MYSITE;
?>manual-lookup.php">
- <Param name="pattern" value="{searchTerms}"/>
- <Param name="opensearch" value="yes"/>
- </Url>
- <SearchForm><?php echo $MYSITE; ?></SearchForm>
-</SearchPlugin>
+<?xml version="1.0"?>
+<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
xmlns:moz="http://www.mozilla.org/2006/browser/search/">
+ <ShortName>PHP.net</ShortName>
+ <Description>PHP.net - Search</Description>
+ <InputEncoding>UTF-8</InputEncoding>
+ <Contact>gothicx@sapo.pt</Contact>
+ <Image height="16" width="16" type="image/x-icon"><?php
echo $MYSITE; ?>images/phpnetsearch.png</Image>
+ <Developer>Marco Rodrigues</Developer>
+ <Url type="text/html" method="get" template="<?php echo $MYSITE;
?>manual-lookup.php?pattern={searchTerms}&src={referrer:source?}" />
+</OpenSearchDescription>