1
0
mirror of https://github.com/php/web-php.git synced 2026-04-27 08:58:12 +02:00
Commit Graph

94 Commits

Author SHA1 Message Date
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
Adam Harvey e1bdfb8f38 Add some very simple styling to the conference teaser on the home page. This
isn't intended to be the final version of this, and I'd love someone else to
make it pretty -- for now, all I've done is set it apart a touch from the news
feed.
2011-03-18 06:02:20 +00:00
Stewart Lord b1a1bcb769 Tightened up styling of download section on home page. 2011-01-15 08:51:46 +00:00
Adam Harvey 275d61d1a2 Move the HTML5 shim into an IE conditional comment. 2011-01-12 08:26:35 +00:00
Paul Dragoonis 4ec4c2a9a3 Patch to allow you to click on the arrow on the downloads area and it taks you to the default .gz download. Unable to implement with HTML5 so using JS to workaround the issue until a more elegant solution has been found 2011-01-10 22:01:19 +00:00
Paul Dragoonis 9f6d8cefaf Added a Download PHP header above the downloads on the homepage 2011-01-10 21:17:56 +00: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
Paul Dragoonis aafa100abd Removed the windows section from the homepage megadropdown as we have dedicated windows links for the 5.3 and 5.2 releases 2011-01-09 02:32:15 +00:00
Paul Dragoonis d5391b7633 Fixed a markup error, added content for the title attrs on <a> tags. Fixed a typo 2011-01-08 19:05:57 +00:00
Paul Dragoonis e53fead50e fixing whitespace issues, no more! configured my IDE properly 2011-01-08 18:56:54 +00:00
Paul Dragoonis adf3b0916c Changes to the homepage downloads area: Now we have a link to the gz, bz2 and the windows section for each release 2011-01-08 18:15:46 +00:00
Adam Harvey 14d71ebd80 Fix the mega drop down background colour overflowing in IE ≤ 7. (I'm presuming
we don't really care about IE 6, but 7 might just about be worth still vaguely
trying to support a bit.)
2011-01-07 11:20:22 +00:00
Adam Harvey 39259e5f2a Since we're already using the new HTML5 semantic elements elsewhere, let's use
<nav> as well.
2011-01-07 11:08:57 +00:00
Adam Harvey 6096420e40 Quiet notices when we don't have $_SERVER['BASE_PAGE'] available. 2011-01-07 11:03:09 +00:00
Adam Harvey bc75780766 Fix a couple of formedness errors. 2011-01-07 09:29:06 +00:00
Adam Harvey d49c47513a Autogenerate the download links in the mega drop down based on version.inc.
File sizes have been removed temporarily because they're not in version.inc at
the moment; it would be simple enough to add them, but I need to follow up with
our RMs to make sure I'm not making their lives harder by requiring it.
2011-01-07 09:15:50 +00:00
Adam Harvey cc19129a6a Turns out some versions of Firefox need to be told that aside, section and
footer are blocks as well, so move it into the main theme stylesheet, since
it's harmless for browsers that do support the new HTML5 elements.
2011-01-07 08:56:58 +00:00
Adam Harvey c8de35b0ad Fix styling in IE. 2011-01-07 08:54:05 +00:00
Paul Dragoonis 13759fa723 Changed warning bar colors. Tried the black, and the purple it blended in too much, went for green since it's the href color. Bit wild, but does the trick and it's cookie based anyway so will only appear once 2011-01-07 01:30:03 +00:00
Philip Olson 8e5246752b Added ?beta=0 to php.net link, for those who prefer stable. Guess we could use PHP_SELF here... meh... Ross Masters spotted this 2011-01-06 22:40:20 +00:00
Philip Olson 519e68c3c2 Bumped to latest PHP release. We should use the releases array here, at some point... 2011-01-06 22:26:38 +00:00
Paul Dragoonis 874286575e Textual change on intro text for beta 2011-01-06 22:19:21 +00:00
Adam Harvey b515e67a31 Add a temporary banner across the top of the beta site that explains that it's
an experimental design and not the actual live site. Barring major changes to
the structure of header.inc, with any luck this commit should be able to be
reverted whole to get rid of this before deploying to live.
2011-01-06 16:41:32 +00:00
Peter Cowburn 44e9c76cc8 Don't use <base> tag if BASE_HREF is not available (thanks Anthony Sterling) 2011-01-06 16:09:59 +00:00
Stewart Lord 95e5d86787 Beta home page now displays a blurb about PHP and download links inside the
(auto-expanded) mega drop-down as per mock-up sent to the mailing list.

The top-portion of the mock-up was generally well received. The lower-portion
needs additional work. This change only commits the top portion. Some minor
changes were made to incorporate feedback and tidy things up.
2011-01-04 08:23:49 +00:00
Stewart Lord 34de9f3142 The php logo now has the "current" style when on the home page. Tweaked
index.php to pass 'current' => 'home' when calling the header. Updated
header.inc to set the current class on the logo when on the home page.
Adjusted CSS rules to apply the darker bottom border to the logo.

Made the mega drop-down background color a touch lighter.
2011-01-04 04:52:07 +00:00
Hannes Magnusson bf68afbc00 Offline++ 2011-01-02 17:22:06 +00:00
Hannes Magnusson f789faa0eb - Setup default "layout" configuration values properly
- Remove outdated workaround for 'current menu item'
- Disable static.php.net (unsure what stuff is actually there, and why)
- Add back meta navigation links for documentations
2011-01-02 13:37:29 +00:00
Hannes Magnusson fd507f95a1 Parent menu items are no longer links, remove boguf filename reference from the
href
2011-01-02 12:03:57 +00:00
Hannes Magnusson 271b7990c5 Set correct roots 2011-01-01 22:05:35 +00:00
Hannes Magnusson cbf00c0299 Add back shorturl to betaweb, and update the canonical version of pages 2011-01-01 21:37:30 +00:00
Hannes Magnusson 68cb0565a3 disable page caching too :] 2011-01-01 13:25:37 +00:00
Philip Olson 2832615091 Added a few mega-dropdown entries, and removed some. Still under discussion. 2010-12-31 05:35:25 +00:00
Hannes Magnusson e03f67405b Proper markup 2010-12-30 16:09:54 +00:00
Hannes Magnusson c886b5f774 Fix validationerror by adding a random link there.
Really really really want to remove that page though
2010-12-29 15:13:14 +00:00
Stewart Lord 334280a067 Modified the 'mega' drop-down menu to open on click instead of 'hover intent'.
This should provide a better (more solid) user experience and allows us to
remove the hover intent plugin. All third-party JS is now loaded via CDN.

Previously the menu faded in/out, now it slides up/down pushing page content
out of the way. Additionally, restyled the menu container so that it spans
the full width of the page (menu contents are still constrained to ~960px).
The menu now has a high-impact dark-grey background with off-white text.

Split the community menu into four columns of links instead of three.
Removed some inline styles from header.inc. Tweaked news_toc() to support
an optional $sections argument that allows the caller to specify which
sections it wants rendered.

Removed shade.png as it is no longer used. The only graphic used by the new
layout is now sprites.png.
2010-12-29 07:25:58 +00:00
Hannes Magnusson 60d5c3b903 Add current config option (ignored in old-web), and FIXME placeholders for pages
not in any menu yet
2010-12-28 11:09:09 +00:00
Hannes Magnusson c2a22035d9 Add developers profile to the about php.net list 2010-12-28 10:29:06 +00:00
Stewart Lord 4548b5425f Fixed the scoring of results in search auto-complete. This required an upgrade
to jQuery 1.4.4 and the inclusion of jQuery UI 1.8.7 (both linked to Google's 
Ajax APIs CDN) as the auto-complete plugin has been rolled into the standard 
jQuery UI library.

We now supply a source callback function to the auto-complete plugin (instead
of a JS array). This callback mimics the quick-ref logic for ranking manual 
pages based on where the user's search term appears in the name of the doc 
entry. However, it lacks the similar_text() component since that function is 
not available in JS (doesn't seem like a significant loss).

Tweaked auto-complete related CSS rules to accommodate different markup 
produced by the new version of the auto-complete plugin.
2010-12-28 08:46:56 +00:00
Hannes Magnusson c7cbdff439 leftbar is horrible id.. and this shouldn't be id either :] 2010-12-27 17:17:43 +00:00
Hannes Magnusson b09a474bf5 Dump my "Contributing to PHP, and how things work" article which was published
in php|arch few months ago
2010-12-27 17:08:28 +00:00
Hannes Magnusson 81bde53cf8 What is swidth? 2010-12-27 14:12:42 +00:00