com web/php: People write browser extension for these things today.: searchbar.php sidebars.php sitemap.php sitemap.xml

From: Date: Thu, 21 Nov 2013 01:22:11 +0000
Subject: com web/php: People write browser extension for these things today.: searchbar.php sidebars.php sitemap.php sitemap.xml
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-17118@lists.php.net to get a copy of this message
Commit: a0a1841c15197944bc7eb74cdb024bda6db4e522 Author: Hannes Magnusson <bjori@mongodb.com> Wed, 20 Nov 2013 17:02:45 -0800 Parents: c8ca8630ebb0aad0e4ea355fbcc5b6efddc44877 Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=a0a1841c15197944bc7eb74cdb024bda6db4e522 Log: People write browser extension for these things today. And it hasn't actually been linked for a long time Changed paths: D searchbar.php D sidebars.php M sitemap.php M sitemap.xml

diff --git a/searchbar.php b/searchbar.php deleted file mode 100644 index 8f96736..0000000 --- a/searchbar.php +++ /dev/null @@ -1,62 +0,0 @@ -<?php -// $Id$ -$_SERVER['BASE_PAGE'] = 'searchbar.php'; -include_once $_SERVER['DOCUMENT_ROOT'] . "/include/prepend.inc"; - -// Gecko would like to see the target to be _content, while IE/Opera would -// like to see the target to be _main. Other browsers are not expected -// to visit this page, or support for them will be added in the future. -if (preg_match("!Gecko!", $_SERVER['HTTP_USER_AGENT'])) { - $target = ' target="_content"'; -} else { - $target = ' target="_main"'; -} -if (isset($EXPL_LANG)) { - $lang_input = " <input type=\"hidden\" name=\"lang\" value=\"{$EXPL_LANG}\" />\n"; -} else { $lang_input = ""; } - -$curryear = date("Y"); - -echo <<<SEARCHBAR_END -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head> - <title>PHP: Search Sidebar</title> - <link rel="shortcut icon" href="{$_SERVER['STATIC_ROOT']}/favicon.ico" /> - <style type="text/css">@import url("{$_SERVER['STATIC_ROOT']}/styles/searchbar.css");</style> - <base href="{$_SERVER['BASE_HREF']}" /> -</head> -<body onload="document.sform.pattern.focus();"> -<h1> - <a href="/"{$target}>php</a> search -</h1> -<form method="post" action="/search.php"{$target} id="sform"> - <p class="input">$lang_input - Search for<br /> - <input type="text" name="pattern" value="" /><br /> - in the<br /> - <select name="show"> - <option value="quickref" selected="selected">function list</option> - <option value="all" >all php.net sites</option> - <option value="local" >this mirror only</option> - <option value="manual" >online documentation</option> - <option value="bugdb" >bug database</option> - <option value="news_archive">Site News Archive</option> - <option value="changelogs">All Changelogs</option> - <option value="pear" >just pear.php.net</option> - <option value="pecl" >just pecl.php.net</option> - <option value="talks" >just talks.php.net</option> - <option value="maillist" >general mailing list</option> - <option value="devlist" >developer mailing list</option> - <option value="phpdoc" >documentation mailing list</option> - </select><br /> - <input type="submit" value="Search" /> - </p> -</form> -<p class="copyright"> - <a href="/copyright.php"{$target}>Copyright &copy; 2002 - {$curryear} The PHP Group</a><br />All rights reserved. -</p> -</body> -</html> -SEARCHBAR_END; diff --git a/sidebars.php b/sidebars.php deleted file mode 100644 index 8d1762c..0000000 --- a/sidebars.php +++ /dev/null @@ -1,122 +0,0 @@ -<?php -// $Id$ -$_SERVER['BASE_PAGE'] = 'sidebars.php'; -include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc'; -site_header("PHP.net Search Bars", array("current" => "help")); -?> -<h1>PHP.net Search Bars</h1> - -<p> - Among the many smart access methods to get to information quickly - on the PHP site, we provide sidebars for the most popular browsers - used on different operating systems to access PHP.net pages easily. - Here you can find setup and uninstall information for the browsers - supported. Feel free to send in suggestions on how to implement our - sidebar for another browser or how to enhance it's services by sending - an email to <a href="mailto:php-webmaster@lists.php.net">the webmasters</a>. -</p> - -<h2>Mozilla, Firefox, Netscape 6+ and Sherlock for MacOSX</h2> -<script type="text/javascript"> -function addPanel() -{ - if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function")) { - window.sidebar.addPanel("PHP.net Search Bar", "<?php echo $MYSITE; ?>searchbar.php", ""); - } else { - 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 - our sidebar to your set</a>. You can uninstall this sidebar using the "Customize - Sidebar" dialog in Mozilla. <em>To get more information on Mozilla sidebars - see the <a href="http://wp.netscape.com/sidebar/how.html">Netscape Sidebar - Howto</a>.</em> -</p> - -<p> - For users of Mozilla Firefox who are interested in adding the search sidebar, - they can also click the above link, and that will offer a new bookmark. Save that - bookmark anywhere in your set, and whenever you try to open that, it will - dispslay the search sidebar. You can remove the sidebar by removing the bookmark. -</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 - Firefox <a href="http://update.mozilla.org/extensions/showlist.php?type=E&amp;application=firefox&amp;category=Search%20Tools&amp;numpg=10">search extensions</a> as well as Sherlock on MacOSX. - <a href="javascript:addPlugin();">Install our sidebar plugin</a>, and enjoy the - integrated search in Mozilla. Sherlock users should save our - <a href="<?php echo $MYSITE; ?>phpnetsearch.src">phpnetsearch.src file</a> to - their 'Internet Search Sites' folder. -</p> - -<h2>Internet Explorer 5 and above</h2> - -<p> - If you use Internet Explorer 5 or above on Windows, you can add the - <a href="javascript:void(open('<?php echo $MYSITE; ?>searchbar.php','_search'))">PHP.net Search Bar</a> - to your Links toolbar (dragging the link there) or you can add it to your - favorites and clicking on it you can see our bar displayed in place of your - usual search bar. This link does not install our bar as your default search bar, - so no modification is made to your system. <em>We used the _search target name - supported by IE 5+ passed to the - <a href="http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/open_1.asp">open() - JavaScript function</a> to make this sidebar available.</em> -</p> - -<p> - If you use Internet Explorer 5 or above on MacOS, - <a href="<?php echo $MYSITE; ?>searchbar.php">open our sidebar page</a> in a - separate window. In that window, open the "Page Holder" tab on the left side - of the window. Click "Add." If you want to keep it for future use, click on - "Favorites" and select "Add to Page Holder Favorites." <em>If you would like to - read more about the Page Holder, see - <a href="http://www.microsoft.com/mac/products/ie/ie_main.asp?embfpath=howto&amp;embfname=ie_1.asp">Microsoft's - Macintosh IE page</a>.</em> -</p> - -<h2>Opera 6 and above</h2> - -<p> - If you are using Opera, you can <a href="<?php echo $MYSITE; ?>searchbar.php" - rel="sidebar" title="PHP.net Search Bar">click on this link to add our sidebar - to your set</a>. You can uninstall the sidebar by right clicking on it's tab - and choosing "Delete" from the context menu. - <em><a href="http://www.tntluoma.com/opera/lover/day16-sidebars/">Read - more about Opera sidebars on this page</a>.</em> -</p> - -<p> - The Mozilla search plugin mentioned above also works with Opera if - <a href="http://nontroppo.org/wiki/SearchPluginsHelp">OpSed</a> is installed. - You just need to <a href="<?php echo $MYSITE; ?>phpnetsearch.src">click on - this link</a> to add it to your set. -</p> - -<h2>Windows Vista</h2> -<p> - If you use Microsoft Windows Vista you can now search the php.net function -database directly from your desktop. The Microsoft Windows Vista Sidebar is a -pane on the right side of your Microsoft Windows Vista Desktop where you can -keep useful utilities. The -<a href="http://www.gozipline.com/phpfunctionfinder">php.net Function Finder</a> -will install in this bar giving you direct search access to the php.net -database directly from your Desktop. -</p> - -<?php site_footer(); ?> diff --git a/sitemap.php b/sitemap.php index fe8b774..504a692 100644 --- a/sitemap.php +++ b/sitemap.php @@ -66,8 +66,6 @@ site_header("Sitemap", array("current" => "help")); <ul> <li><a href="/my.php">My PHP.net</a></li> - <li><a href="/search.php">Search</a></li> - <li><a href="/sidebars.php">Search Bars</a></li> <li><a href="/urlhowto.php">URL Shortcuts</a></li> <li><a href="/quickref.php">Quick Function Reference</a></li> <li><a href="/tips.php">Quick Reference Tips</a></li> diff --git a/sitemap.xml b/sitemap.xml index 2346dcc..de2390d 100755 --- a/sitemap.xml +++ b/sitemap.xml @@ -95,18 +95,12 @@ <loc>http://php.net/releases/</loc> </url> <url> - <loc>http://php.net/search.php</loc> - </url> - <url> <loc>http://php.net/security/</loc> </url> <url> <loc>http://php.net/security-note.php</loc> </url> <url> - <loc>http://php.net/sidebars.php</loc> - </url> - <url> <loc>http://php.net/sitemap.php</loc> </url> <url>
« previous php.webmaster (#17118) next »