1
0
mirror of https://github.com/php/web-php.git synced 2026-03-24 15:22:19 +01:00
Commit Graph

135 Commits

Author SHA1 Message Date
Levi Morrison
6426cfcc16 Fixed documentation link to go to /docs.php, was /manual/ 2013-07-30 13:45:53 -06:00
Levi Morrison
4b07d39501 Created Retina versions of misc images. The images for the Notes section are new but patterned after the old ones. 2013-07-25 02:20:41 -06:00
Levi Morrison
3f5a8fec3e Improved logo, especially on Retina displays. 2013-07-24 21:52:02 -06:00
Levi Morrison
613a15b495 Merged and optimized JavaScript. Also removed jQuery UI dependency. Users are reporting slow load-times; this is an effort to improve the situation. Missing features include auto-complete and highlighting a user note when clicking on a link to it. 2013-07-24 16:03:00 -06:00
Levi Morrison
bef1e68bb0 Miscellaneous layout fixes. Readded some content on the homepage. Also moved styles around from theme.css and home.css to better reflect where they are used, so we can not load home.css by default. 2013-07-18 11:18:51 -06:00
Levi Morrison
eb5dbfb0bc Updated beta-warning to actually work with the new fixed-header. A lot of header love in general, such as a cleaned-up logo and a better searchbox. 2013-07-11 16:03:32 -06:00
Levi Morrison
72e6b7738d Added option to site_header to allow a custom span(for twitter bootstrap). Calendar page needed this. Other minor updates. 2013-07-10 15:31:16 -06:00
Levi Morrison
fcf5142e4d Some more layout fixes. 2013-07-10 12:40:59 -06:00
Levi Morrison
9b12bff61e Added the logo back! A few other minor adjustments as well. 2013-07-10 11:07:24 -06:00
Levi Morrison
15b4d11318 Reimplemented basic search. Adjusted some margins and paddings. 2013-07-10 09:00:26 -06:00
Levi Morrison
b55d768f30 Some more work. Sorry for the lack of descriptive commits. 2013-07-08 08:46:29 -06:00
Levi Morrison
50265cbadf Crazy amounts of refactoring. Still in progress but really needed to commit so I don't lose everything. 2013-07-06 23:18:23 -06:00
Paul Dragoonis
b0517fbe2f Adding a back-to-top button 2013-07-04 13:32:04 +01:00
Paul Dragoonis
fdfafd87f2 Fixing a z-index issue with the beta warning bar. Also restructuring the bar width so it will never wrap onto two lines 2013-07-04 12:47:55 +01:00
Paul Dragoonis
781929c217 Adding header links back in 2013-07-04 12:38:55 +01:00
Paul Dragoonis
0a5f589112 [beta] Commenting out some broken links with the aim of putting them back in once we decide where they are going to link to 2013-07-03 17:39:41 +01:00
Paul Dragoonis
3bb29af24a Language chooser changes 2013-06-25 22:31:49 +01:00
Paul Dragoonis
375ac92d17 Adding a href to the downloads page 2013-06-25 21:54:29 +01:00
Paul Dragoonis
a9fd096281 Adding in a Downloads dropdown area on the top navigation 2013-06-25 20:44:06 +01:00
Hannes Magnusson
f613c04078 Kill the next/prev page from the top & move lang chooser
The next/prev page takes way to much space there and isn't very
important feature to have such promonently in-your-face, creating
imbalance at the top.

Moved the language chooser to just above the version info
2013-06-25 11:29:40 -07:00
Peter Cowburn
d23388ed50 add uservoice widget to beta site 2013-06-24 22:23:38 +01:00
Adam Harvey
749280417b Tinker with the positioning of the what-is-php block on the home page.
With two releases, this should be identical to the previous positioning. With
more than two releases, the text is vertically aligned, then moved ever so
slightly up to avoid the feeling of the chunky Begin Tutorial button being too
far off centre.

This has mostly been done by feel, so everyone else may find this horrible, but
I think it's an improvement on the previous iteration where that block was just
at the top.
2013-06-24 11:11:26 -07:00
Paul Dragoonis
fc14dad109 [beta site] implementing betasite=1 or betasite=0 parameter. this keeps the banners setting working like the myphpnet_beta setting to give a consistent user experience without the need for beta=0 or beta=1. 2013-06-21 21:27:19 +01:00
Paul Dragoonis
1b6ed49170 [beta site] removing the 'this is unfinished' message from the beta theme sine we have a link to it from the live site now 2013-06-21 19:45:25 +01:00
Peter Cowburn
e847116268 Revert "Revert "Removal of left menu class prefixes for method names since they're already indented within that class name""
This reverts commit ae8aa85575.

Ooooooopppss!!!
2013-01-11 21:12:32 +00:00
Peter Cowburn
ae8aa85575 Revert "Removal of left menu class prefixes for method names since they're already indented within that class name"
This reverts commit 16a31cfa93.
2013-01-11 20:12:44 +00:00
Paul Dragoonis
16a31cfa93 Removal of left menu class prefixes for method names since they're already indented within that class name 2013-01-08 17:07:04 +00:00
Adam Harvey
4c90fd2b9a A few mega dropdown updates to try to consolidate it and make it more kilo than
mega.

Feedback is definitely welcome on the documentation dropdown changes.

Squashed commit of the following:

commit 6c282d4558e77c2f9943db318691bef596e4fd4b
Author: Adam Harvey <aharvey@php.net>
Date:   Thu Dec 27 19:30:16 2012 +0800

    Update the community links.

commit 82edf79fff4a500e3ca4a349b4c100e70d651f7e
Author: Adam Harvey <aharvey@php.net>
Date:   Thu Dec 27 19:12:38 2012 +0800

    Move the calendar of events link under news to better balance the community
    dropdown.

commit 809d2a9f6044db71a117453575a9882c5607d8a6
Author: Adam Harvey <aharvey@php.net>
Date:   Thu Dec 27 19:07:10 2012 +0800

    Add a direct link to the manual TOC, and replace database with date/time in the
    function reference, as that seems to be more commonly hit per Webalizer.

commit 73ca38258415f275a148fc8f74c91833eaf4ac71
Author: Adam Harvey <aharvey@php.net>
Date:   Thu Dec 27 18:55:44 2012 +0800

    Attempt to cut the documentation mega dropdown... er, down.

    At present, this is more than the height of my viewport on a MBP. This is
    obviously a bad thing, and nobody in their right mind is ever going to read it.
    I've cut it down to a maximum of one heading and five entries per column.

    For the time being, I've tried to guess what the most hit and important pages
    are in the manual, but hopefully we can get some metrics on this before the
    beta site is launched and adjust accordingly.
2012-12-27 19:30:29 +08:00
Sherif Ramadan
61152c6ae9 Added new user notes voting features. This provides users to vote on user contributed notes in the manual throughout php.net. 2012-12-12 10:14:37 -05: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
Adam Harvey
0f25c08b5e Stop abusing the current element of the page configuration, and instead add a
proper option to set body classes if appropriate.
2012-09-07 16:34:28 +08:00
Levi Morrison
3d970774e5 Undoing some accidental changes from last commit. 2012-07-05 17:13:48 -06:00
Levi Morrison
8bb14e2c16 Fixed some documentation layout bugs, but undoubtably caused a few. That always seems to be how things go. 2012-07-05 17:10:56 -06:00
Hannes Magnusson
6688517ade I don't know exactly what happened but somehow this long outstanding
todo item got resolved.
I hope noone actually notices =)
2012-07-05 23:00:35 +01:00
Levi Morrison
ee7acf4ae0 Major homepage rework. The old layout prioritized all the wrong things. This rework is not complete, but after surveying multiple people it does seem better already, so I decided to push.
Also fixed many small usability issues such as links not changing appearance on focus, but do change on hover.
2012-07-03 17:24:07 -06:00
Levi Morrison
b63bc20ae5 Simplified Download PHP portion of homepage and corresponding portion of downloads.php 2012-07-03 12:55:31 -06:00
Levi Morrison
1aa278b42d Homepage changes.
Moved >> to other side of tutorial button
  Aligned header to grid.
  Lightened color on download background.
2012-07-02 17:58:32 -06:00
Levi Morrison
7c25e96b71 Added release notes link for download section on homepage. 2012-07-02 15:35:25 -06:00
Levi Morrison
404ffde3b3 More changes to the tutorial button. Added separator between the grid and the news, removed announcement border, and increased the padding for the 2x2 grid. 2012-06-19 21:09:29 -06:00
Levi Morrison
bba84f845b The tutorial button is now square instead of angled, and the text has been changed. 2012-06-19 16:52:34 -06:00
Levi Morrison
d1125b5922 Moved elephants to the footer. 2012-06-18 19:49:22 -06:00
Adam Harvey
f1f5e30ca3 Initial rewrite of the references to Subversion on the site to Git. Rewrites
welcome! A couple of important notes:

- I've largely dropped references to Subversion altogether, even knowing that
  php-doc hasn't migrated yet. We may need to put a few more "Git/SVN account"
  references in there if php-doc isn't going to be migrated in the near future.

- I've removed the quick start hints from git-php.php after an account request
  has been sent in. The documentation there was pretty skimpy anyway and
  probably wouldn't have been enough to get a developer going, plus it's harder
  to distill the Git workflow into three or four snappy commands and I'm not
  really convinced that a form confirmation page is the right place to have
  learning materials, since it's a one-time page for most users. Instead I've
  replaced them with links to the relevant Wiki pages, which seem more likely
  to be the right place for new developers to learn.

News post to come, but I wanted to separate this out for easier review.
2012-03-20 10:13:32 +08:00
Paul Dragoonis
ecbe49cd55 Adding a ['css'] entry to dynamically laod CSS Files when calling site_header() on the beta site 2011-10-16 17:15:24 +00:00
Stewart Lord
86c75aca35 Made elephpant image banner dynamic.
Elephpant images are pulled from flickr via the php-master server hourly.
The web site now provides a simple PHP script to serve a random sampling
of these images in JSON format.

The web browser now loads the elephpant images via JavaScript, requesting
only the number of images that are required to fill the viewport. Images
are inserted into the page using the data URI scheme. This ensures that 
only one http request is needed to load all of the required images.

If the browser window resizes, the JavaScript will fetch additional images
as required to fill out the viewport again. There is a slight delay built
in (250ms) to avoid excessive requests while the window is being resized.

Some browsers (e.g. older versions of MSIE) do not support the data URI
scheme. For these browsers we may wish to provide a fallback mechanism of
aggregating the images (e.g. MHTML, aka MIME HTML).

If the images fail to load, the elephant banner is hidden automatically.
2011-09-21 04:33:01 +00:00
Richard Quadling
a4acb9b3cb http => https for bugs.php.net and wiki.php.net 2011-09-19 10:14:44 +00:00
Hannes Magnusson
00172ff3fd Add classes to the <ul>s in the left menu (manuals), and drop empty children <ul>s 2011-08-04 12:18:32 +00:00
Stewart Lord
be89fc36e6 Improved styling of 'tips' sidebar. Viewable on mailing lists, svn, url how-to, etc. pages. 2011-07-15 05:49:34 +00:00
Hannes Magnusson
dc5b113701 Fix notices 2011-07-11 18:45:10 +00:00
Stewart Lord
ecb5ba9c9e Fixed an issue with the new home page layout where it did not render
correctly if the browser window was too small. Now we fix the width of
the main content area to 960px and center it in the page.

Made the announcement text slightly bigger.

Note the current page is now set as a class on the body tag so that we
can better target styles for specific pages.
2011-07-08 05:28:06 +00:00
Stewart Lord
ccbfa6a00f New home page layout. This initial commit focuses on implementing the
look and layout of the home page mockup, not the functionality. We still
need to flesh out the footer, replace placeholder text and make content
dynamic in places (e.g. elephpants, announcements, news, conferences,
user groups, etc.)
2011-07-07 07:13:56 +00:00