1
0
mirror of https://github.com/php/web-php.git synced 2026-04-24 07:28:16 +02:00
Commit Graph

1842 Commits

Author SHA1 Message Date
Adam Harvey 45c7d3304c Fix chevron (six encoded). 2013-11-21 23:34:00 -08:00
Hannes Magnusson 5493873a2a fix debug code 2013-11-21 23:25:58 -08: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
Adam Harvey acf529a4e4 Fix alignment of the first breadcrumb per bjori. 2013-11-21 22:50:32 -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
Hannes Magnusson a2c4c5b62a Thats a littlebit to weird to always print 'PHP manual' above all page titles 2013-11-21 19:03:59 -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
Hannes Magnusson 82f2699f2c Make breadcrumbs look like they are part of the main menu
..Will be going through other pages to add this to them too while
Adam fixes this since apparently a toddler is better at css then I am! :D
2013-11-21 16:51:13 -08:00
Adam Harvey f85fbcbfc5 Fix downloads by using the right variable.
Fixes bug #66142 (Impossible to download PHP from website).
2013-11-21 14:01:15 -08:00
Hannes Magnusson 7ec105c4f8 Whopsy, remove debug size :P 2013-11-21 11:55:57 -08:00
Hannes Magnusson af21c99842 Download system tweaks
Remove reduntant/duplicate code between do-download and get-download

Also make this page more interesting when the download is missing from
this specific mirror by give the choise of going to other mirrors to check.
Rather then blindly go to the download file though we go to the same page
on the other mirror so we can check if the file exists there before giving
the link to the actual real file.

This also makes it a lot easier to work with on developers checkouts
2013-11-21 11:25:45 -08:00
Hannes Magnusson 9050dae5ab Revert "Remove the filename from BASE_HREF (used for <base />), fixes bug#66138"
This reverts commit cc3a7dccac.
2013-11-21 10:55:09 -08:00
Hannes Magnusson eec766fe11 Revert "Un-taint the base tag with "./" things :)"
This reverts commit 0bc5a56ab7.
2013-11-21 10:55:05 -08:00
Hannes Magnusson 0bc5a56ab7 Un-taint the base tag with "./" things :) 2013-11-21 10:00:58 -08:00
Hannes Magnusson 22417cdf3b Make this consistently html5 looking 2013-11-21 09:30:09 -08:00
Hannes Magnusson cc3a7dccac Remove the filename from BASE_HREF (used for <base />), fixes bug#66138 2013-11-21 09:29:29 -08:00
Hannes Magnusson 58818349c7 </input> doesn't exist, fixes bug #66137
Make the <input>s on this page consistent, atleast within the same form :)
2013-11-21 09:09:41 -08:00
Hannes Magnusson facccef14b Redesign the download page :) 2013-11-20 23:38:31 -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
Adam Harvey 1ced2ee7a9 Restore the old site's default search, which is to try the quickref first.
This is actually an improvement on the old site, really, because the previous
case of "all php.net sites" is handled by the last item in the dropdown. My
inclination for now is to not worry about the other search modes that were
supported in the old site's search bar: many of them are for subsites that have
their own search, such as bugs.php.net and pecl.php.net, and the others have
tabs on results.php anyway.
2013-11-20 17:08:42 -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
Adam Harvey f33391c3ce Shamelessly steal bjori's code to handle JS caching as well. 2013-11-20 15:01:51 -08:00
Adam Harvey 4c9addfe67 Update the last modified CSS code to handle non-root working directories. 2013-11-20 15:01:23 -08:00
Adam Harvey d95d69eb18 Apply the extra width mode on large displays across all pages, not just docs.
Fixes bug #66129 (Documentation does not follow the same layout pattern as
other pages).
2013-11-20 14:47:35 -08:00
Adam Harvey cc06da845f Quiet warning on pages that don't specify custom css. 2013-11-20 14:26:01 -08:00
Hannes Magnusson 685109f51e Automatically bump the CSS last-modified-timestamps 2013-11-20 14:16:48 -08:00
Adam Harvey 1573282c4c Merge remote-tracking branch 'webarto/master'
* webarto/master:
  Fix FF 1px nav space and IE logo border
2013-11-20 14:14:25 -08:00
Adam Harvey 73d9faf6ae Reinstate (very small) edit and report bug links on manual pages. 2013-11-20 14:08:32 -08:00
Hannes Magnusson 703abfd16b Prettify the download page 2013-11-20 14:04:58 -08:00
Hannes Magnusson 766bf21ed7 This hasn't been relevant in a long time 2013-11-20 14:04:58 -08:00
Adam Harvey be886f0f83 Bust ALL THE CACHES. 2013-11-20 13:17:24 -08:00
Adam Harvey 734e32bfbe Increment the common.js timestamp. 2013-11-20 13:05:39 -08:00
Adam Harvey 20c9ed1dd3 Switch to a pure CSS implementation of the responsive menu. 2013-11-20 13:04:28 -08:00
Adam Harvey 25ae55ad3e Fix broken debug code. 2013-11-20 12:44:31 -08:00
Adam Harvey 166ffb7b99 Restore the previous and next links to their former glory.
Squashed commit of the following:

commit 6e788887da9dc91c6deb0e7fc81526592c0f60a5
Author: Adam Harvey <aharvey@php.net>
Date:   Wed Nov 20 11:47:11 2013 -0800

    Move the prevnext-container into the breadcrumbs.

commit d58a00dfbf61e7ff57cd350a64c57ab066141d81
Author: Adam Harvey <aharvey@php.net>
Date:   Wed Nov 20 11:40:09 2013 -0800

    OK, this is minimally functional.

commit 5b4c2e30a27d658d9b5bce4278823277554a2835
Author: Adam Harvey <aharvey@php.net>
Date:   Wed Nov 20 11:38:40 2013 -0800

    Various fixups.

commit 8bb763d18ac8c0d47094b1681e5acab8b6365b66
Author: Adam Harvey <aharvey@php.net>
Date:   Wed Nov 20 11:26:25 2013 -0800

    Revert "Kill the next/prev page from the top & move lang chooser"

    This reverts commit f613c04078.

    Conflicts:
    	include/header.inc
    	include/shared-manual.inc
    	styles/theme.css
2013-11-20 12:17:42 -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
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 53ba83ebb2 Allow the browsers to cache these files now 2013-11-19 18:43:17 -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
Stanislav Malyshev 989246fb3b fix signature link 2013-11-17 15:52:01 -08:00
Stanislav Malyshev 17380e9c9d add signature to d/l link 2013-11-17 15:14:25 -08:00
Stanislav Malyshev 477313a52f 5.4.22 2013-11-14 22:41:10 -08:00
Julien Pauli 5029cf2f58 PHP 5.5.6 release 2013-11-14 11:10:10 +01:00
Hannes Magnusson d82ced1d0b Fixed bug#66030 php.net website script error
Load the custom "header tags" (such as javascript things) after we
have loaded our required js
2013-11-04 09:32:36 -08:00
Stanislav Malyshev 3a2e4b6b1e 5.4.22 RC1 2013-11-01 00:35:56 -07:00
Julien Pauli 1ee2e2e09f 5.5.6 RC1 2013-10-31 12:07:09 +01:00
Hannes Magnusson a162e3019e I don't have ext/filter, and it has never been a requirement either 2013-10-28 16:22:17 -07:00