1
0
mirror of https://github.com/php/web-php.git synced 2026-03-24 07:12:16 +01:00
Commit Graph

55 Commits

Author SHA1 Message Date
Hannes Magnusson
0b8dff5f62 Simplify & add a link to the google search 2013-11-21 20:45:45 -08:00
Hannes Magnusson
55cd8f3f1a Cleanup
Don't use Google here, its really annoying
Also, no need to list every single filename here when people navigate
to this page directly, thats pretty useless. Lets redirect to the
search page instead
Cleaned up some dead code, and no longer supported search options
2013-11-20 17:56:53 -08:00
Rasmus Lerdorf
966a13442a Turn off the API search here too 2013-10-30 15:31:10 -07:00
Daniel P. Brown
3cc9491588 Change multiple checks and references from 'www.php.net' to plainly 'php.net' to reduce 301's, fix a few broken items, and ease a bit of the load off the server (multiple connections per page when statically referenced as 'www.php.net.' 2012-12-05 11:09:23 -05:00
Peter Cowburn
5551124c2c anchor quickref.php regex
The previous regex stumbled on some pages. For example,
reflectionfunction.construct.php was included in the list since
it matches function.<something>.php
2012-08-19 12:38:44 +01:00
Philip Olson
3cd800c78b Added default google CSE search. 2012-08-16 00:04:06 -07:00
Philip Olson
f52321368b Used our standard includes format (which uses DOCUMENT_ROOT) 2012-08-02 10:28:20 -07:00
Philip Olson
51b7a544f9 Panic, and hacked in a custom google search until this bing-is-no-longer-free issue is resolved. 2012-08-02 10:20:01 -07:00
Rasmus Lerdorf
9f809b52c7 Get rid of the nasty table here and start adding more of the
"Other ways to search" links to get closer to this being the
one true initial landing page for the redesign.
2011-07-21 03:41:21 +00:00
Philip Olson
2dcc1fbc61 notfound is already escaped inside manual-lookup.php, so it was escaped twice. Bug discovered by Chris Jones 2011-07-19 23:16:41 +00:00
Philip Olson
4f8bc3d78a Added rudimentary search snippets feature. Common searches result in snippets of text. See also the comments. And feel free to improve the text. 2011-07-19 06:15:22 +00:00
Rasmus Lerdorf
3b13dff2b9 Add a limited intermediate result display cache 2011-07-17 00:02:14 +00:00
Rasmus Lerdorf
fe0d183de3 Right float the bing attribution 2011-07-16 17:55:54 +00:00
Rasmus Lerdorf
ce4f971e93 Make this page a bit more compact so it is easier to scan for actual content 2011-07-16 17:25:58 +00:00
Rasmus Lerdorf
bf3831c9d9 Don't send proxy attempts through the backend web search 2011-07-16 07:07:46 +00:00
Rasmus Lerdorf
aad52615ab Distinguish between 404s and explicit searches and don't log mirrortest 2011-07-16 06:51:35 +00:00
Rasmus Lerdorf
8ee6e6ed92 Do a web search from the manual-lookup page when a function is not found 2011-07-16 05:45:51 +00:00
Philip Olson
8db37aad07 Linked search string to our various search types. Not ideal or working perfectly today, but Y! BOSS v2 will inspire greatness. 2011-07-06 23:51:03 +00:00
Hannes Magnusson
60d5c3b903 Add current config option (ignored in old-web), and FIXME placeholders for pages
not in any menu yet
2010-12-28 11:09:09 +00:00
Hannes Magnusson
6a76d716e2 Fixed bug#44054 (partial function name search returns incomplete result) 2008-03-19 12:20:52 +00:00
Gabor Hojtsy
62eab30df7 apply E_ALL patch sent by Toni Viemero 2004-08-03 21:14:05 +00:00
Gabor Hojtsy
bb9335cb97 That <!--i--> does not seem to help, so remove it... Mozilla includes
the first link after the results in the listing for some reason...
2004-01-19 17:02:32 +00:00
Gabor Hojtsy
0219e1b29f Better list item start marking, so Mozilla will parse the results better 2004-01-19 14:38:21 +00:00
Gabor Hojtsy
cf99f5a07c doh, tabs... 2004-01-19 13:21:41 +00:00
Gabor Hojtsy
83c2e69249 better result list start and end printing for Mozilla Search Bar 2004-01-19 13:13:24 +00:00
Gabor Hojtsy
0033373d06 If there is no manual in the language selected by the user,
then this service is unable to work, so inform the user on this
2003-09-06 09:16:51 +00:00
Gabor Hojtsy
1e359f1dca Fallback to English in case there is no user prefered language available
(will be better handled with livedocs)
2003-08-31 19:21:25 +00:00
Gabor Hojtsy
d82bc71994 Do not allow the indexing of this page, if it is a result of a search
(this will hopefuly clean up the google listings of pages which only
give a search page)
2003-08-15 10:47:22 +00:00
Gabor Hojtsy
e30ed1aa3d Migrate more pages to use the new header and footer functions 2003-08-14 11:56:42 +00:00
Gabor Hojtsy
4d1b1cbbf3 Include base page information 2003-08-08 13:38:32 +00:00
Gabor Hojtsy
4d5338d76b Quickref remake:
- updating code to use modern control structures
and variables
- double the size of "found functions" for searches
- distribute results and the big function list in 3 columns,
instead of 2, as there is many data, and there is plenty
of space for that
- make use of the user's language preference while
searching, so only results available in the preferred
language will be returned
2003-07-20 15:18:15 +00:00
Jacques Marneweck
a98315831b * This seems to be included else where. Reversing the require
'./include/prepend.inc' to require_once 'prepend.inc'

--jm
2003-05-17 22:13:15 +00:00
Andrew Lindeman
2431a65576 correct ID tags 2003-05-16 00:02:09 +00:00
Jacques Marneweck
0143fb470c * More sysstat reducing stuff.
* Also added CVS Id: tags to files missing them at the top.

--jm
2003-05-15 23:22:13 +00:00
Gabor Hojtsy
9cad282a3b Quick fix for the languages issue. Now we have a $LANG var contanining
the language to use...
2003-03-06 18:13:15 +00:00
Gabor Hojtsy
746c8d1413 Three more "nosource" => "wholesite" modifications. No
more left as far as I can see.
2002-12-16 18:02:02 +00:00
Colin Viebrock
313162c7c6 fix broken search stuff 2002-09-11 16:39:53 +00:00
jim winstead
fa2ef33486 similar_text forces third argument to be references 2002-02-20 01:43:39 +00:00
jim winstead
9cb0cb0ea4 use htmlspecialchars when redisplaying search request 2001-08-31 07:59:17 +00:00
Gabor Hojtsy
06d27e2a3e Make this print out the space there 2001-08-16 09:13:29 +00:00
Gabor Hojtsy
7cac9ac5a6 Some more cosmetics... 2001-07-08 12:13:49 +00:00
jim winstead
6b304c4237 hide the $MIRRORS array behind some access functions, for the most part 2001-07-07 01:17:41 +00:00
Gabor Hojtsy
32d0d331b3 Just a technical patch (hope it wont brake anything)
Useing <?php standard open tags instead of the
shorter one

At least trying to be short_tags off compatible.

more to come...
2001-07-01 09:55:13 +00:00
jim winstead
9e5ea7913a make sure language exists before linking to it 2001-06-13 16:06:45 +00:00
Sascha Schumann
f5b5237fa4 Don't automatically include the full PHP function list in failed
manual lookups.
2001-06-12 14:37:36 +00:00
Mark Kronsbein
267deeb027 Missing </P> 2001-05-19 00:04:38 +00:00
Sascha Schumann
09806e694f properly add $lang to the URL. 2001-05-05 20:55:58 +00:00
jim winstead
5359cf0aa3 include language in manual links 2001-04-24 22:31:23 +00:00
Colin Viebrock
19a659d211 make the quickref more useful ... 2001-03-14 17:17:29 +00:00
Colin Viebrock
f672062314 ... but provide a link to a more thorough search. 2001-03-08 22:28:10 +00:00