Pascal Borreli
42497c72fb
Fixed typos
2014-05-21 22:57:36 +01:00
Hannes Magnusson
26af598f90
Fix Clickjacking Attacks. Reported by Joel Melegrito
2014-05-08 10:21:22 -07:00
Hannes Magnusson
46ce29d9d2
Show the ug tips to lucky few, depending on time
2014-01-22 17:01:11 -08:00
Hannes Magnusson
032ea400f0
Fix a unset notice for old cookies
2014-01-22 17:00:33 -08:00
Hannes Magnusson
f2a8c4af49
Add enable/disable myphpnet setting for the UG beta listing
2014-01-22 16:37:58 -08:00
Hannes Magnusson
03f249395e
Fix Origin headers when browsing locally (e.g. using localhost)
2014-01-22 16:34:28 -08:00
Hannes Magnusson
0abf586bc4
There is nothing that uses APC anymore
2013-12-26 15:17:17 -08:00
Hannes Magnusson
4f51795635
Whops. fail fail. Set the hostname when no port is set
2013-12-10 17:31:32 -08:00
Hannes Magnusson
e0dd9f1bf9
Fix same origin policy errors
...
Maybe this fixes stuff for Opera?
It fixes some issues in Chrome fetching the elephpants for example
on http://php.net (as the elephants requests www.php.net).
The policy check will automatically support all php.net subdomains
2013-12-04 00:41:53 -08:00
Hannes Magnusson
a11e8ce9bd
Enable compression on all pages
...
Dear god. How come I always thought this setting was PHP_INI_SYSTEM?!??!
And why has noone ever done this before?
2013-12-03 23:22:14 -08:00
Adam Harvey
c8ca8630eb
Make the search results page friendlier to users without JS.
...
Fixes bug #66133 (Search silently brokes is Javascript is not enabled).
2013-11-20 17:17:23 -08:00
Hannes Magnusson
d24120761c
We have a usable search now, which isn't actually link to this feature anyway
2013-11-20 16:49:46 -08:00
Hannes Magnusson
7cf8424edf
Remove wrappers for the beta design, and the old code
2013-11-20 16:29:56 -08:00
Kalle Sommer Nielsen
f53bb99457
Remove references to the php.net beta design in my.php and always make myphp[dot]net_beta() return true
2013-11-20 04:50:25 +01:00
Hannes Magnusson
a038985372
GO LIVE WITH NEW DESIGN. GO GO GO GO!
...
Disables the cookie check too, so people that had it stored will now always
see the new design, even if they opted-out of it originally.
The only way to view the "original" page is adding ?beta=0 to the url
2013-11-19 18:43:25 -08:00
Hannes Magnusson
d366d46472
Kill the beta warning on all pages
2013-11-19 18:37:33 -08:00
Hannes Magnusson
bb25868f0c
Quickfix for PHP builtin webserver
2013-11-19 18:37:33 -08:00
Adam Harvey
d65d9304a2
Remove unused parse_url() call. That was dumb. Sorry.
2013-08-07 20:34:43 -07:00
Adam Harvey
fedea42b2d
Redirect back to the original page, not the home page, when setting beta mode.
2013-08-07 20:32:19 -07:00
Paul Dragoonis
59d501dc9a
Removing session usage because it's naughty
2013-06-21 21:39:10 +01:00
Paul Dragoonis
fc14dad109
[beta site] implementing betasite=1 or betasite=0 parameter. this keeps the banners setting working like the myphpnet_beta setting to give a consistent user experience without the need for beta=0 or beta=1.
2013-06-21 21:27:19 +01:00
Jakub Vrana
95787bec37
Open custom search results in the same window
2013-04-30 16:58:44 -07:00
Philip Olson
3cd800c78b
Added default google CSE search.
2012-08-16 00:04:06 -07:00
Philip Olson
f505daa643
re-enable prototype. to always show beta mode (sorry about that), and make docs. default to beta mode but respect the my.php cookie.
2011-07-02 01:02:49 +00:00
Philip Olson
fcfe49ab03
Allow my.php cookie to also affect docs/prototype, but leave default for them as true.
2011-06-29 01:26:25 +00:00
Hannes Magnusson
af1130ab20
Also enable betaweb by default on docs.php.net, since that is really the only
...
mirror with everything setup properly
2011-01-02 12:35:53 +00:00
Hannes Magnusson
916b912758
Ignore the cookie and always enable the beta in prototype.php.net
2010-12-28 11:45:44 +00:00
Hannes Magnusson
17fd73b279
Make ?beta=0 disable the new version on per-page basis (philip)
2010-12-28 09:26:01 +00:00
Hannes Magnusson
cd262feb6c
Make it possible to quickly compare/switch to beta via ?beta=1
2010-12-26 16:40:00 +00:00
Hannes Magnusson
a3033fe6cd
Return english as language fallback, in betamode
2010-12-26 16:07:07 +00:00
Hannes Magnusson
c416fc0dcc
Add beta feature
2010-12-26 16:06:23 +00:00
Adam Harvey
a74b0895b9
Fix bug #52204 (htmlentities E_WARNINGs). Patch by Kalle.
2010-10-29 12:08:16 +00:00
Lukas Smith
ddbd2081e4
php 5.3.0RC4 news
2009-06-19 09:09:47 +00:00
Hannes Magnusson
f0fb034bb0
set a "default value" for the url fallback choice (patch by kalle)
2009-05-15 11:53:31 +00:00
Philip Olson
91b6bfe0d1
Alter MQ code, and added "TODO: Remove MQ dependencies from phpweb"
2009-03-26 22:41:08 +00:00
Hannes Magnusson
7f227c358c
Set timezone if php.ini is configured incorrectly
2009-01-30 11:45:54 +00:00
Hannes Magnusson
21efa66aab
Add support for PHP 5.3 and 6 *sigh*
2008-02-24 22:16:44 +00:00
Hannes Magnusson
cd3d790704
Make sure we don't have runtime magic quoting enabled
2007-03-02 14:53:46 +00:00
Gabor Hojtsy
33ddcceae9
removed unused functions
2006-09-12 12:05:43 +00:00
Rasmus Lerdorf
0454b9b936
Default to utf-8 instead of 8859-1
2006-02-28 16:49:54 +00:00
Rasmus Lerdorf
18bb98f5c2
Some new search options
2006-02-28 08:23:28 +00:00
Rasmus Lerdorf
4b2d0dc2e9
These are the two most accessed file. Remove the bad habit of always
...
using include_once when all of these files are only ever included from
here and these files themselves are only ever included once.
2006-02-21 20:46:45 +00:00
Gabor Hojtsy
79b77ec894
buglet
2004-12-24 10:43:50 +00:00
Gabor Hojtsy
d744af4159
introduce the function search suggestions on all php.net pages (with possibility to opt-out)
2004-12-22 17:18:11 +00:00
Gabor Hojtsy
b368542543
Add functionality to make user specified mirror redirection work
2003-08-13 13:11:09 +00:00
Gabor Hojtsy
edc3012cf6
Adding the new CSS based header and footer on an experimenting page
...
(thanks.php), also removing time measurement code from prepend.inc
and layout.inc
2003-08-07 09:30:05 +00:00
Gabor Hojtsy
2e420296e5
Only set language if properly specified, and fill in the blanks
...
when saving settings, so they will come back in the right
position in the preference list from the cookie
2003-07-29 12:55:24 +00:00
Gabor Hojtsy
9bd0cc6639
Change default URL shortcut search fallback type to be
...
the function list search (so users won't get redirected to
google). Also provide the option to force the site to redirect
to do a documentation seach (on google currently) in case
a user is used to this
2003-07-29 11:35:24 +00:00
Gabor Hojtsy
bc78f8032c
Remove PHP < 4.1.0 BC code
...
- the creation of $_.. vars
- global-ing them before usage
These are not needed anymore, we have all mirrors with
PHP > 4.1.0, and those having old versions are disabled
2003-05-27 16:40:05 +00:00
Gabor Hojtsy
eab7a75a1b
Comment the BC code for pre 4.1.0 mirrors as we have
...
them disabled now, so autoglobal vars should work on
all mirrors without special preparation
Use $_SERVER['DOCUMENT_ROOT'] for includes
instead of a user defined constant, as the docroot
value is always available [even before prepend.inc]
This ensures consistency and causes no stat() calls
Add myphpnet_...() functions to load, get/set and save
the user preferences, and use them everywhere. This
enables us to easily add new preferences to the same
cookie. Every preference will last for a year this way,
and the cookie will only be set again, if someone
modifies his data on my.php
If this works nicely, then we can easily add a preferred
mirror site setting (and more)
[These changes seem to work on my local mirror]
2003-05-24 19:50:37 +00:00