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

25 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
Shivam Mathur
c851d01e50 Add syntax highlighting and copy button 2025-08-12 14:29:30 +01: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
Kamil Tekiela
352f784292 Fix mousetrap.js (#655) 2022-07-15 10:09:11 +01:00
Kamil Tekiela
de8556658d Update mousetrap.min.js 2022-07-13 17:31:07 +01:00
Kamil Tekiela
68e9bffca2 Upgrade hogan.js 2022-07-13 17:31:07 +01:00
Kamil Tekiela
89b9ef2e66 Delete jquery.ui.totop.js
UItoTop was dead script since 613a15b495
2022-07-13 17:31:07 +01:00
Kamil Tekiela
63dbe8c66d Update jquery.scrollTo.min.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
25784fa653 Drop IE support including IE 7 & 9 shims 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
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
Sherif Ramadan
6dcc26797c Patching typeahead.js to fix bug #66371 2014-01-14 05:54:28 -05:00
Hannes Magnusson
41ae810490 Have some fun with current-page search (keyboard shortcut: g s) 2013-12-28 19:01:40 -08:00
Hannes Magnusson
36e805e147 Bring back the mega dropdown, toggled with "?" keyboard shortcut 2013-12-26 13:34:43 -08:00
Adam Harvey
a38398f82e Only load elephpants if the user's browser supports data: URIs.
As part of this, I've upgraded Modernizr to the latest version (2.7.1) and
changed its configuration to include a test for data: URI support.

This is a result of sas spotting requests for pages starting with "data:" in
our error logs from clients without data: URI support.
2013-12-19 17:08:23 -08:00
Hannes Magnusson
fa2899b057 Remove unused file 2013-12-04 15:45:04 -08:00
Adam Harvey
33ed430d7a Update breadcrumbs to use flexbox when available, and show PHP Manual above h1. 2013-11-21 18:06:07 -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
Paul Dragoonis
b0517fbe2f Adding a back-to-top button 2013-07-04 13:32:04 +01:00
Adam Harvey
f4d76e7a54 Implement some of Hannes's suggestions from last week: move the IE ≤ 7
background hack out to a separate workarounds stylesheet, and use Remy Sharp's
HTML5 shim to enable IE support for HTML5 elements rather than declaring them
ad hoc in the header.
2011-01-10 09:40:10 +00:00
Hannes Magnusson
bf68afbc00 Offline++ 2011-01-02 17:22:06 +00:00