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

131 Commits

Author SHA1 Message Date
AllenJB
e5c965b38d Search: Fix "g a" search 2026-01-13 14:02:52 +01:00
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
Marcus Förster
c2dd97cf5f Optimize style of supported-versions table on mobile (#1243)
Co-authored-by: Luffy <lufei@php.net>
2025-08-18 12:08:16 +08:00
Adam Cable
bb65d6c4f0 Add alt text to Elephants images (#1292) 2025-07-11 10:18:56 +08:00
Marcos 'Marcão' Aurelio
cb9bb534ca Fix table overlapping and improve responsiveness #688 (#1222)
Fix #688
2025-02-05 10:51:33 +03:00
Takuya Aramaki
98641f0bb9 Fix parameter link scrolling to the correct position (#1171) 2024-11-29 13:28:14 +03:00
Lucas Azevedo
8413b22090 Fix offcanvas menu open bug (#1116) 2024-11-09 20:07:10 +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
Andreas Möller
00342c402f Fix: Remove vim instruction (#880) 2023-12-07 15:01:52 +01:00
Christoph M. Becker
8463593803 Only "linked" parameters should have pointer cursor (#742)
If a parameter has no target to scroll to, it should not suggest
otherwise by changing the cursor to a pointer.  Since the scrolling is
done via JS, we should also change the cursor via JS.[1]

While we're at it, we also fix the potential JS error where we call the
`.offset()` method on an empty `jQuery` object.

[1] <https://github.com/php/doc-en/issues/2071#issuecomment-1354497367>
2023-08-10 12:55:25 +01:00
Gemorroj
b3a970000f Update common.js (#740)
some minor improvements
2022-12-14 11:33:11 +00:00
Kamil Tekiela
77a062033a Improve code formatting in JS (#656) 2022-07-15 14:15:34 +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
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
hakre
806766ba3c Improve fix of php bug 74493
improvement of 6cec58d9 (Use exact word for parameter scroll 74493,
2017-04-25). some options are rendered with surrounding white-space (e.g.
in front of "scale" for `bcdiv()`s' scale parameter [1].

fix is to not compare the word against surrounding spaces (UCS-0020) etc.
by removal through ECMAScript 5 15.5.4.20 String.prototype.trim(),
2009-12-03.

finally fix the lines' indent.

74493: https://bugs.php.net/bug.php?id=74493
[1]: https://php.net/manual/en/function.bcdiv.php
ref: 6cec58d94b

Closes GH-460.
2021-11-19 13:10:57 +01:00
Anna Filina
d56830dfce Display custom 404 page when legacy manuals found
Closes GH-385.
2020-12-14 19:50:51 +01:00
Christoph M. Becker
c18e2b3db7 Fix parameter scrolling for proper variadic parameters 2020-11-02 12:38:42 +01:00
Markus Staab
6c8c2aa18c enable css-native smooth scrolling
remove javascript scroll magic

add a top-margin to all elements which get referenced by anchor-urls, so they are not covered by the fixed header
2020-08-25 16:38:31 +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
Alexey Pyltsyn
baae5e9655 Update $.scrollTo to last version 2017-11-20 13:34:08 +03:00
JayPHP
d897477592 Added bug URL 2017-04-26 09:18:21 +01:00
JayPHP
6cec58d94b Use exact word for parameter scroll #74493
https://bugs.php.net/bug.php?id=74493
2017-04-25 13:19:52 +01:00
Levi Morrison
7ab55c1162 Reduce permissions 2016-11-08 11:02:54 -07:00
Levi Morrison
01d789d4ed Fix anchor scrolling 2016-10-04 13:14:13 -06:00
Peter Cowburn
cdad7277b2 fix "Uncaught TypeError: (intermediate value)(...) is not a function" JavaScript error 2015-06-23 23:41:07 +01:00
Peter Cowburn
d21f458fc6 Merge branch 'pull-request/68' 2015-06-23 23:39:22 +01:00
Hannes Magnusson
d3d5ba6fb0 Fix markdown syntax highlighting 2015-04-30 10:10:18 -07:00
Wes
72f7d11ff5 fix for "scroll to page anchor"
...and starting an attempt to clean this file.
2015-04-19 20:19:57 +02:00
Adam Harvey
a8b4d0768d Dun't recoorse-a intu iffremes. Bork Bork Bork!
Sume-a Chrume-a ixtenseeuns ooperete-a by injecteeng iffremes intu zee coorrent
ducooment. Seence-a zeese-a cume-a frum deefffferent ooreegins, ettempteeng tu
iterete-a oofer zeem in jQooery cooses a seme-a ooreegin ixcepshun tu be-a
throon. Bork Bork Bork!

Ve-a'll joost ixcloode-a iffremes, seence-a ve-a dun't use-a zeem oon zee
seete-a. Bork Bork Bork!
2014-09-07 22:36:59 -07:00
Peter Cowburn
a1e82fb9b9 fix "bork bork bork" firing multiple times 2014-09-07 13:30:22 +01:00
Peter Cowburn
4f389c0b02 Zee-a Swedish cheff mekes un iester eegg 2014-09-06 21:12:23 +01:00
Michael
d5c8c1d7eb Finally remove XHTML from .js files
Last but not least
2014-06-04 20:08:05 +02:00
Derick Rethans
e94f7f3501 Stop the madness. 2014-04-01 11:52:29 +01:00
Hannes Magnusson
d03cba664c Fix the element edges when zooming in 2014-03-31 23:44:02 -07:00
Adam Harvey
70231d3b44 Disable the search autocomplete for IE ≤ 8.
Fixes the JS fail in bug #66207, but does nothing about the styling.
2014-03-25 10:13:22 -07:00
Ben Scholzen
a5847c30c6 Do usernote fading with CSS transitions instead of jQuery 2014-01-08 13:33:37 +01:00
Hannes Magnusson
6ec0676fc0 Couple of more syntax things see bug#66371 2013-12-31 12:12:02 -08:00
Hannes Magnusson
4572e3f013 Syntax fixes. Hopefully fixes IE issues, see bug #66371 2013-12-31 12:08:10 -08:00
Hannes Magnusson
7a18de3bf3 This isn't used anymore 2013-12-31 12:08:10 -08:00
Hannes Magnusson
ae561b8a7a Easter eggs 2013-12-28 21:59:33 -08:00
Hannes Magnusson
0337e3e25e Add a 'g a' full site search (based on doc indexes) 2013-12-28 21:08:53 -08: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
c251f3f393 Implement cycling through headers 2013-12-28 15:38:18 -08:00
Levi Morrison
897eae106d Allow the esc key to close the help overlay. 2013-12-27 13:14:17 -07:00
Hannes Magnusson
a42d76ae88 Fiddle a little with the menu to fit more content
Also made it fixed (and transparent!) so we don't have to scroll to it
2013-12-26 15:37:15 -08:00
Hannes Magnusson
36e805e147 Bring back the mega dropdown, toggled with "?" keyboard shortcut 2013-12-26 13:34:43 -08:00
Hannes Magnusson
291c54bcb9 Show 30results, and allow scrolling
Also hacked the matcher a bit, allow matching without underscore
e.g. "strpad" now matches "str_pad"
2013-12-23 11:29:28 -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
Dejan Marjanovic
965643135d flashMessage() now accepts jQuery objects too 2013-12-16 00:10:12 +01:00
Dejan Marjanovic
6f0bf1a41a Fix duplicate flash messages and improve a bit 2013-12-15 23:13:49 +01:00