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

488 Commits

Author SHA1 Message Date
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
Hannes Magnusson
be1bcf78cf Remove annoying javascript error on all pages except docs 2013-10-28 16:22:02 -07:00
Hannes Magnusson
8e87088c3f Remove funcitons.js. Only used by search.php which hasn't made sense for many many many
years.

Could be the reason why Google is blocking us today..
2013-10-24 00:55:27 -07:00
danbrown
ac441eb9b4 Fixes bug #55387. 2013-10-01 15:55:27 -04:00
Adam Harvey
59a721e4f2 Tidy up a few validator warnings and errors on the change log.
Fixes bug #65713 (Incorrect HTML on http://www.php.net/ChangeLog-5.php#5.5.4).
2013-09-20 13:19:09 -07:00
Levi Morrison
a609b332d5 Merged in responsive; hopefully didn't break much if anything. 2013-09-15 12:58:48 -06:00
Sherif Ramadan
dcda705e85 Fix Bug #65402
Loading out-dated version of jQuery is unnecessary here.
2013-08-06 06:02:45 -04: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
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
Owen McKenna
d1583fc085 search field needs a label or a title for accessibility reasons 2013-06-25 14:00:37 -07:00
Paul Dragoonis
c5df2247da [beta site] Making beta mode kick in since setbeta uses cookies and needs an additional page load to kick in 2013-06-23 12:44:27 +01:00
Paul Dragoonis
f04aefd4f2 Re-activating setbeta=1 on the main site's banner 2013-06-23 11:05:03 +01:00
Paul Dragoonis
4db4b6e34c Fixing HTML validation 2013-06-21 20:04:55 +01:00
Paul Dragoonis
3dffd18fea [beta site] Adding a new beta message to the live website softly making all live users aware of the new beta site. 2013-06-21 18:55:45 +01:00
Rasmus Lerdorf
48d539e898 Fix redundant code 2013-04-27 22:37:00 -07: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
Ferenc Kovacs
ea7a325c8c Revert "ugly hack to force updated css to be fetched from static.php.net until somebody on systems@php.net figures out why myracloud serving a days old version"
This reverts commit 195da84065.
2012-12-14 11:20:24 +01:00
Ferenc Kovacs
195da84065 ugly hack to force updated css to be fetched from static.php.net until somebody on systems@php.net figures out why myracloud serving a days old version 2012-12-13 18:18:32 +01: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
Daniel P. Brown
b7a814641c Let the client decide which protocol to use rather than defining it statically in the code (except where applicable). 2012-12-03 11:18:01 -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
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
e93f30d59c Added recent news to the homepage and removed it from the sidebar. 2012-06-18 20:29:17 -06:00
Levi Morrison
d4ea71fd5f Ordered news archive so that the most recent years are first. 2012-06-11 16:36:01 -06:00
Peter Cowburn
2413c7ce5c put old school logo back 2012-04-02 09:23:01 +01:00
Hannes Magnusson
6fe86bc8df Cleaner background color of the logo 2012-04-01 13:53:20 -07:00
Hannes Magnusson
d73ba5bdf2 Better logo 2012-04-01 05:59:04 -07:00
Adam Harvey
2851ba1f6a Revert SOPA changes. 2012-03-28 11:38:45 +08:00
Rasmus Lerdorf
b384d788f6 Fix XSS here 2012-01-19 17:17:12 +00:00
Daniel P. Brown
44d9814d03 Late to the game, but a minor hack to make the link a bit more noticeable and readable against the black background. 2012-01-18 20:17:58 +00:00
Peter Cowburn
5ac27604ce fix SOPA bar times 2012-01-18 13:23:10 +00:00
Philip Olson
8a88add76f Bah, humbug 2012-01-18 07:47:08 +00:00
Rasmus Lerdorf
372803ac2e Add a black SOPA bar to the rest of the site to join the blacked out front page 2012-01-15 00:10:02 +00:00
Daniel P. Brown
e806091f58 Automate Copyright year++. 2012-01-12 16:49:13 +00:00
Hannes Magnusson
8d9dc368b9 Holidays are coming
Holidays are coming 
Holidays are coming 
Holidays are coming 
Holidays are coming 
Holidays are coming 

Tease the season 
Watch out 
Look around 
Something's coming 
Coming to town (Coming to your town) 

Dooh dooh dooh... 
Always Coca Cola (Coming to your town) 

Something magic 
In the night 
Can't you see it 
Shining bright (Shining bright) 

Badada... 
Always Coca Cola 

Tease the season it's always the real thing
2011-12-01 08:38:04 +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
Paul Dragoonis
64e8074168 Updating homepage styling for the main sections on the right side. Created a dedicated area used for rendering the sidebar content through the addition of print_view(). Set all companies in the Thanks To area to open in new tabs (target=_blank) 2011-08-30 17:30:12 +00:00
Stewart Lord
bb7021e2d9 Fixed styling of the documentation mega-drop-down menu. Modified the fourth
column under documentation to use dl/dt/dd markup to be consistent with the 
rest of the menu. Gave the last column a heading of 'Miscellaneous'.

Alternatively, we could consider a less formal heading such as: 'Odds & Ends'.

Couldn't help but notice that the 'Installation and Configuration' chapter
looks out of place. At a glance, it would fit better under the 'Getting 
Started' section.
2011-08-12 05:52:24 +00:00
Hannes Magnusson
dc5b113701 Fix notices 2011-07-11 18:45:10 +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
Philip Olson
febd7ea248 Reverting r312562 as it's causing problems 2011-06-28 12:29:08 +00:00
Mehdi Achour
78de3348b7 Clear float after each news so that images doesn't eat up other news 2011-06-28 10:50:28 +00:00
Hannes Magnusson
9946e384f2 Add the date intot he return array too 2011-04-16 14:57:41 +00:00
Hannes Magnusson
e4b22d3d3a Revert r307291, defeats the purpose of the megadropdown to have 'more' link 2011-04-16 14:26:16 +00:00
Peter Cowburn
666b88062d put normal logo back 2011-04-03 01:05:42 +00:00
Hannes Magnusson
96463335bd We need to do something atleast 2011-04-01 10:38:15 +00:00
Paul Dragoonis
61b4774e93 Shortened the number of items on the Documentation mega dropdown. You can limit it and it will output a 'View More' link after the last item. 2011-01-09 02:16:29 +00:00
Adam Harvey
4fc6ae5522 It's no longer Christmas in any denomination I know of, so let's remove the
snow. Bah humbug.
2011-01-07 11:23:49 +00:00
Adam Harvey
6096420e40 Quiet notices when we don't have $_SERVER['BASE_PAGE'] available. 2011-01-07 11:03:09 +00:00