Derick Rethans
7023ed3872
Remove country detection from IP
...
The database that this depended on hasn't been available for quite some time now.
2024-11-27 12:27:27 +01:00
Maurício Meneghini Fauth
cdf59074d3
Replace languages.inc globals with I18n\Languages consts ( #1121 )
...
The include/languages.inc file was not removed as it's used in other
repositories. It should be removed after migration.
Tests were added to ensure that the global variables and the constants
are in sync with each other.
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net >
2024-11-14 11:37:00 +03:00
Maurício Meneghini Fauth
817a3e7fd9
Move myphpnet_* functions to the UserPreferences class ( #1075 )
2024-11-11 11:50:15 +03:00
Maurício Meneghini Fauth
f252981e5b
Replace MYPHPNET global var with the UserPreferences class ( #1071 )
2024-09-17 15:55:10 +08:00
Takuya Aramaki
c7425ed96a
Remove LAST_LANG cookie as it is not used anymore. ( #1072 )
...
See 7691b44067
2024-09-17 10:35:59 +03:00
Andreas Möller
c093fb5382
Enhancement: Enable trailing_comma_in_multiline fixer ( #647 )
...
* Enhancement: Enable and configure trailing_comma_in_multiline fixer
* Fix: Run 'make coding-standards'
2023-12-06 23:16:28 +00:00
Kamil Tekiela
9a5e56d966
Improve code for language selection ( #709 )
2022-09-29 10:29:51 +01:00
Andreas Möller
1ebc2c4996
Enhancement: Enable binary_operator_spaces fixer
...
Closes GH-667.
2022-08-22 19:17:38 +02:00
Andreas Möller
d9bcfed482
Enhancement: Enable array_syntax fixer
...
Co-authored-by: MathiasReker <mathias@reker.dk >
Closes GH-659.
2022-08-22 18:59:14 +02:00
Andreas Möller
c68e5a9e4a
Enhancement: Enable single_space_after_construct fixer
...
Closes GH-640.
2022-07-12 11:44:23 +02:00
Ayesh Karunaratne
746d3d71ef
HTML A11y improvements in add-note.php, my.php and vote-note.php
...
Also use strict comparison in pages that are changed.
Closes GH-610.
2022-07-04 13:25:36 +02:00
Mathias Reker ⚡️
89ac76cd81
No alias functions
...
Canonical functions shall be used instead of aliases.
Closes GH-530.
2022-06-17 17:14:03 +02:00
Mathias Reker ⚡️
11866535bf
Combine consecutive issets
...
Using isset($var) && multiple times should be done in one call.
Co-authored-by: Andreas Möller <am@localheinz.com >
Closes GH-542.
2022-06-17 16:29:04 +02:00
Sara Golemon
2735e5f03f
Swap uses of _SERVER[DOCUMENT_ROOT] for __DIR__
...
1/n - Update / and /include/ only.
2019-05-31 11:19:09 -04:00
Derick Rethans
b2b48ca1e0
Remove references, redirects, and selection of mirrors
2019-04-01 11:27:09 +01:00
Peter Kokot
e235f79473
Trim trailing whitespace
...
This patch cleans all redundant trailing whitespace across the
repository except for the icalendar files.
2018-10-17 10:51:08 +02:00
Peter Kokot
0f95b8c709
Remove unused Git attributes ident
...
The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.
In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.
This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.
2018-10-17 07:29:46 +02:00
Rasmus Lerdorf
2117b37953
Minor language cleanup
2014-11-13 23:41:27 -08:00
Michael
5bfef25e70
Kill off XHTML
...
Long live HTML5! =)
2014-06-04 19:39:27 +02:00
Pascal Borreli
42497c72fb
Fixed typos
2014-05-21 22:57:36 +01:00
Hannes Magnusson
f2a8c4af49
Add enable/disable myphpnet setting for the UG beta listing
2014-01-22 16:37:58 -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
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
Paul Dragoonis
286d840b8b
Renaming alpha references to beta
2013-06-24 21:27:48 +01: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
Hannes Magnusson
a59b9e063c
ok.. lets call it alpha program.
...
fix typo, and mention where to send feedback
2010-12-29 18:20:07 +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
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
Philip Olson
0b103acf0a
Define and utilize $ACTIVE_ONLINE_LANGUAGES
2008-04-10 18:41:13 +00:00
Hannes Magnusson
5383947040
Add "Unknown" country for unofficial mirrors and fix E_NOTICE
2008-02-24 22:28:59 +00:00
Hannes Magnusson
9375e2090e
Show only active languages as "my preferred alnguage" options
2007-10-26 16:51:34 +00:00
Hannes Magnusson
c4bb3b56ad
Show the country name in the mirror selection
2007-10-18 16:41:29 +00:00
Hannes Magnusson
29eb217ccb
htmlentitify output
2007-06-07 12:58:35 +00:00
Philip Olson
3ea4467bae
spelling/typo
2007-03-09 02:18:25 +00:00
Gabor Hojtsy
5d875d7617
Google is not utilized for searching anymore
2006-04-03 19:33:45 +00:00
Gabor Hojtsy
cf89a45150
function autosuggestion only available on the search page currently
2006-04-02 14:53:12 +00:00
Gabor Hojtsy
c2685f88f7
ugh, copypaste typo
2004-12-22 22:37:12 +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
b1b69ccaa2
Be a bit more kind to those who run non-official mirror sites
...
for some reason (like I do for testing stuff :), and allow setting
of My PHP.net settings on these sites too. But do notify users
that unofficial mirror site settings are not goint to carried to the
official mirror sites.
2003-08-16 10:55:08 +00:00
Gabor Hojtsy
456b2a615d
Fix XHTML validity
2003-08-15 14:34:25 +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
df8565a0bb
Ups, != is intended here
2003-08-13 16:07:13 +00:00
Gabor Hojtsy
8118e302cc
Skip PHP.net when listing
2003-08-13 16:02:41 +00:00
Gabor Hojtsy
22ae0f3870
Provide the interface for user selected mirror site redirection
...
to the website users, as well as adhere to these settings in
the load distribution script
2003-08-13 13:11:55 +00:00
Gabor Hojtsy
b0564ab758
Add center class and use it for centering content where needed
2003-08-09 16:25:32 +00:00
Gabor Hojtsy
5bb421e028
XHTMLize
2003-08-09 16:18:00 +00:00
Gabor Hojtsy
9cfd84debc
Apply the new include and base page methods
2003-08-08 13:22:49 +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
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