cvs: phpweb / sidebars.php
| From: | Gabor Hojtsy | Date: | Mon, 19 Jan 2004 14:15:29 +0000 |
| Subject: | cvs: phpweb / sidebars.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-23026@lists.php.net to get a copy of this message | ||
goba Mon Jan 19 09:15:29 2004 EDT
Modified files:
/phpweb sidebars.php
Log:
Add information and installation feature for the newly added MyCroft
search plugin, which works with Netscape, Mozilla and Sherlock.
http://cvs.php.net/diff.php/phpweb/sidebars.php?r1=1.8&r2=1.9&ty=u
Index: phpweb/sidebars.php
diff -u phpweb/sidebars.php:1.8 phpweb/sidebars.php:1.9
--- phpweb/sidebars.php:1.8 Fri Aug 8 15:45:38 2003
+++ phpweb/sidebars.php Mon Jan 19 09:15:29 2004
@@ -1,5 +1,5 @@
<?php
-// $Id: sidebars.php,v 1.8 2003/08/08 19:45:38 goba Exp $
+// $Id: sidebars.php,v 1.9 2004/01/19 14:15:29 goba Exp $
$_SERVER['BASE_PAGE'] = 'sidebars.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
site_header("PHP.net Search Bars");
@@ -16,7 +16,7 @@
an email to <a href="mailto:webmaster@php.net">the
webmasters</a>.
</p>
-<h2>Mozilla 0.9.4 and above</h2>
+<h2>Mozilla, Firebird, Netscape 6+ and Sherlock for MacOSX</h2>
<script type="text/javascript">
function addPanel()
{
@@ -26,6 +26,19 @@
alert('Sidebar cannot be added! You must use Mozilla 0.9.4 or later!');
}
}
+function addPlugin()
+{
+ if ((typeof window.sidebar == "object") && (typeof
window.sidebar.addSearchEngine == "function")) {
+ window.sidebar.addSearchEngine(
+ "<?php echo $MYSITE; ?>phpnetsearch.src",
+ "<?php echo $MYSITE; ?>images/phpnetsearch.png",
+ "phpnetsearch",
+ "Web"
+ );
+ } else {
+ alert('Search plugin cannot be installed! Netscape 6 or Mozilla is required!');
+ }
+}
</script>
<p>
If you use Mozilla 0.9.4 or later, you can <a href="javascript:addPanel()">add
@@ -35,6 +48,16 @@
Howto</a>.</em>
</p>
+<p>
+ We also offer a plugin for the built-in <a href="http://mycroft.mozdev.org/">Mozilla
+ Search Sidebar</a>, and this plugin will also work with the several Mozilla and
+ <a href="http://www.mozilla.org/products/firebird/">Firebird</a>
+ <a href="http://extensionroom.mozdev.org/">search
extensions</a> as well as
+ <a href="http://www.apple.com/macosx/features/sherlock/">Sherlock</a>
on MacOSX.
+ <a href="javascript:addPlugin();">Install our sidebar plugin</a>, and enjoy
the
+ integrated search in Mozilla.
+</p>
+
<h2>Internet Explorer 5 and above</h2>
<p>