1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

84 Commits

Author SHA1 Message Date
Sergey Panteleev
9b86e7de7e PHP 8.5 release page (#1454)
Co-authored-by: Tim Düsterhus <tim@bastelstu.be>
Co-authored-by: Borislav Kosun <kosun.b@yandex.com>
Co-authored-by: Theodore Brown <theodorejb@outlook.com>
2025-11-19 17:42:11 +03:00
AllenJB
e7cfbe9820 Add hint for access key (#1513) 2025-11-05 10:56:00 +08:00
Antoine Bluchet
79d4f7922e Run examples with php wasm (#1097)
* Run examples with php wasm
* make examples editable
* load wasm only when running code
* handle empty code

Co-authored-by: lwlinux <1053317536@qq.com>
2024-12-03 10:32:03 +00:00
Luffy
7478275ad1 Hosting jQuery locally (#1119) 2024-11-09 20:07:27 +03:00
Lucas Azevedo
b62f99f6de Update navbar design and improve search UI (#1084)
Co-authored-by: Gina Peter Banyard <girgias@php.net>
Co-authored-by: Sergey Panteleev <sergey@php.net>
2024-11-02 17:39:04 +03:00
Roy Orbitson
2dcf9c3796 Fuzzy search of docs (#1007) 2024-08-09 12:11:16 +08:00
haszi
6e76f1a1e8 Link to the documentations' copyright page on doc pages (#1013)
Co-authored-by: haszi <haszika80@gmail.com>
2024-06-27 18:06:15 +01:00
Andreas Möller
a528e6e91b Enhancement: Enable no_mixed_echo_print fixer (#864) 2023-12-06 15:19:57 +01:00
rongzedong
e04e1d7f35 Remove broken view-source link on manual pages
Closes GH-702.
2022-11-22 11:57:26 +01:00
Andreas Möller
57f505ed58 Enhancement: Enable and configure concat_space fixer
Closes GH-657.
2022-08-22 19:04:47 +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
Kamil Tekiela
68e9bffca2 Upgrade hogan.js 2022-07-13 17:31:07 +01:00
Kamil Tekiela
6dcd848697 Move jquery.scrollTo.min.js to a new file
Update footer.inc
2022-07-13 17:31:07 +01:00
Kamil Tekiela
7e6aa5da11 Update jQuery from 1.10 to 3.6 2022-07-13 17:31:07 +01:00
Kamil Tekiela
33a94e54bb Drop Modernizr (#653)
We only used it to check for data: URI support, but that's universally supported now https://caniuse.com/datauri
2022-07-13 15:38:53 +01:00
Sara Golemon
be4d00bda4 Add integrity check to inclusion of jquery.min.js and explicitly use https 2021-10-05 15:52:03 +00:00
Sara Golemon
2621743461 Bring back 'View Source' on php.net 2021-07-08 19:47:49 +00:00
Derick Rethans
b2b48ca1e0 Remove references, redirects, and selection of mirrors 2019-04-01 11:27:09 +01:00
Peter Kokot
6ba762f866 Remove redundant script type="text/javascript" attributes
Omitted type means that script is JavaScript [1] and for HTML 5 browsers
can be removed today.

[1] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script
2018-10-24 20:37:57 +02:00
Peter Kokot
b5edd2d17b Change dirname(__FILE__) to shorter __DIR__ 2018-10-23 17:30:55 +02:00
Peter Kokot
dd8d8bf863 Sync final and leading newlines
This patch adds some missing newlines, trims some multiple redundant
final newlines into a single one, and trims few redundant leading
newlines.

According to POSIX, a line is a sequence of zero or more non-'<newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.

C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."

Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.

[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
2018-10-17 12:37:26 +02: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
Yordan Gigov
25b8627262 Use root-relative URLs for cached JS and CSS entries 2018-10-15 12:03:32 -04:00
Adam Harvey
461a0fb19c Quiet warnings. 2015-03-30 12:25:54 -07:00
Sobak
920eb39277 Better handling for deprecated functions 2015-03-07 19:23:34 +01:00
Hannes Magnusson
7f6c9fccd1 Lets not be linking highly confusing and weird pages while its being
worked on at least
2014-10-06 10:25:32 -07:00
Andrea Faulds
85356414ba ElePHPant 2014-10-04 15:21:28 +01:00
Peter Cowburn
ade1471a70 Revert "Merge branch 'pull-request/49'"
The country-level host names get listed as unofficial, probably not the best thing to have in the footer of *every* *single* *page*.
(This issue still affects mirror.php)

This reverts commit 635dbd4bb1, reversing
changes made to 92a271f315.
2014-08-18 23:17:48 +01:00
nlmark
096a5fdd2f Add mirror link back in the footer
As it was in the past and as it was agreed on when providing a mirror for most sponsors
2014-07-31 16:00:30 +02:00
Levi Morrison
8fb9b79ca8 Related functions now on right; some homepage fixes. 2014-04-27 23:14:11 -06:00
Hannes Magnusson
981b287960 Kill UserVoice. Its no longer useful 2013-12-26 20:29:04 -08:00
Hannes Magnusson
ec187133dc Switch the order of the timestamp and filename show the filename shows up in debug bars 2013-12-26 16:06:51 -08:00
Hannes Magnusson
36e805e147 Bring back the mega dropdown, toggled with "?" keyboard shortcut 2013-12-26 13:34:43 -08:00
Levi Morrison
e1cb8b2509 Removed some unused HTML/CSS. 2013-12-15 19:15:35 -07:00
Levi Morrison
e5f81e5cc1 We don't want 'elephpants' => false to render the elephpants. 2013-12-15 13:14:39 -07:00
Levi Morrison
e916105a19 Fixed merge conflict. 2013-12-15 11:27:28 -07:00
Dejan Marjanovic
204d7a45f5 Refactor 'to top' functions (E_TOO_MUCH_JQUERY) 2013-12-15 18:48:29 +01:00
Hannes Magnusson
d9f615b9dd Stop tracking our users and bring us back closer to our stated privacy policy 2013-12-14 09:20:46 -08:00
Hannes Magnusson
575ecd0240 Move modernizr.js out of <head> and reuse the same cached.php loop 2013-12-04 14:11:39 -08:00
Hannes Magnusson
3821012af3 Move that stat to the bottom, and inline the uservoice 2013-12-04 13:56:34 -08:00
Dejan Marjanovic
25a38fd4a3 urlencode & (amp) and add newline after <script> 2013-12-04 22:06:52 +01:00
Hannes Magnusson
f9bafe1cc5 Create a quick cached wrapper to attempt to gzip and cache static files
We don't really control how the mirrors configure these things,
so we have to do it ourselves..
2013-11-21 23:23:46 -08:00
Hannes Magnusson
a8b3efcf71 Fix elephpants on the frontpage (without www)
And there is also no reason to check for "/" anyway.
To enable them you have to pass in the key explicitly
(which currently the docs do too..)
2013-11-21 22:19:41 -08:00
Adam Harvey
f33391c3ce Shamelessly steal bjori's code to handle JS caching as well. 2013-11-20 15:01:51 -08:00
Adam Harvey
734e32bfbe Increment the common.js timestamp. 2013-11-20 13:05:39 -08:00
Adam Harvey
25ae55ad3e Fix broken debug code. 2013-11-20 12:44:31 -08:00
Adam Harvey
24baccd5fc Re-add a search dropdown to the beta site.
This uses Twitter's typeahead.js for the actual autocompletion, and uses our
existing search-index.json and search-description.json files. These are pretty
big, and an obvious fix down the track would be to combine them into one,
preferably much smaller file. mod_gzip should help to some extent, as should
the HTML 5 Local Storage caching I've implemented.

I've also pulled in Hogan.js for templating, since typeahead.js really needs
some sort of templating engine to be useful.

Excluding the JSON files, the added JS dependencies are around 50k
uncompressed. I think this is reasonable, but honestly, it's not really a
significant win over the autocomplete bits of jQuery UI. I've used typeahead.js
more for its multiple section functionality than anything else.

The styling on this is pretty average, but I'm mostly interested in testing
functionality right now. Fixes welcome.
2013-11-20 11:06:27 -08:00
Hannes Magnusson
53ba83ebb2 Allow the browsers to cache these files now 2013-11-19 18:43:17 -08:00
Adam Harvey
5d7d66d850 Fix the broken JS include on servers with notices enabled.
$v is never defined in site_footer()'s scope — I've just nicked the declaration
from header.inc for now, but we probably should have a better way of defining
this before "beta" becomes "stable".
2013-09-15 22:39:34 -07:00
Levi Morrison
a609b332d5 Merged in responsive; hopefully didn't break much if anything. 2013-09-15 12:58:48 -06:00