1
0
mirror of https://github.com/php/web-php.git synced 2026-03-24 07:12:16 +01:00
Commit Graph

419 Commits

Author SHA1 Message Date
Adam Harvey
4c768cf0f8 Update the 2017 archive to always show everything.
This also removes the $vevent appendix in print_news(), whereby we
walked every category even if we'd already found our match to set
$vevent, then didn't use it again because it wasn't needed in the new
design. That should fix global warming.
2017-06-08 11:19:49 -07:00
Scott
77089b5ed9 Parse HTTPS urls as well 2015-10-05 20:02:36 -07:00
Hannes Magnusson
d3d5ba6fb0 Fix markdown syntax highlighting 2015-04-30 10:10:18 -07:00
Hannes Magnusson
8b26df29fb Avoid unset error on some pages, likely do-download pages?
This is causing lots of notices in the www error logs :)
2015-02-03 11:50:27 -08:00
Hannes Magnusson
e437f8ce41 remove unused function 2015-02-03 11:48:28 -08:00
Anthony Ferrara
686c4181e3 Fix potential file-include vulnerability
Fix potential file-include vulnerability by adding `EXTR_SKIP` to extract so it doesn't overwrite `$params` array.
2015-01-20 16:10:19 -05:00
Michael
27628e547a Use css class instead inline style 2014-06-06 23:55:53 +02:00
Michael
d766dd3c67 Drop support for < 5.3 from highlight_php()
...to use HTML5
2014-06-05 19:57:40 +02:00
Michael
113c86286d Also remove XHTML from .inc files 2014-06-04 19:50:50 +02:00
Hannes Magnusson
468b736548 Always use 3letter country codes - except when parsing usergroups.js
This quickfixes invalid flags, default listing, links, and makes it consistent with the rest of
the site
2014-03-28 00:24:21 -07:00
Hannes Magnusson
9eddd61629 Merge pull request #35 from heiglandreas/feature/addUgFromLiveData
Optimizes Usergroup-display

* heiglandreas/feature/addUgFromLiveData:
  Removes unnecessary code
  Optimizes Usergroup-display
2014-03-26 07:20:56 -07:00
Andreas Heigl
3e0eb4f6e3 Removes unnecessary code 2014-03-24 07:15:27 +01:00
Andreas Heigl
1ac8ba63b8 Optimizes Usergroup-display
This comit adds three things:

1. Support for 2-letter Countrycodes as defined in ISO 3166-1 alpha2.
For that I added a list of country codes from
http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements

2. Caching of retrieved usergroup-information. For that the list of
usergroups as well as the iCalendar-files of the single usergroups are
loaded one every 24 hours into files on the filesystem. those files are
then used for information retrieval

3. Slight optimization of UG-display.
For that I've changed display-style from an unordered to a definition
list. I've also set the date before the meeting-information as that
visually calms the whole list a bit.
2014-03-23 05:42:38 +01:00
Levi Morrison
116fb105d6 Converted news layout to HTML5. Began standardizing dates.
Dates formatted for human readability will be 'd M Y'; dates
formatted for computers will be RFC 3339 (or W3C).
2014-03-14 08:54:53 -06:00
Hannes Magnusson
e7a8701a50 %c does not mean single char 2014-01-22 22:11:16 -08:00
Hannes Magnusson
6e1cd72453 List upcoming event, if available. Also list all countries with known UGs 2014-01-22 21:55:14 -08:00
Hannes Magnusson
ea7631f971 No need to show the tip after we've seen the list 2014-01-22 16:56:17 -08:00
Hannes Magnusson
8bb3bdedb0 Show "headsup" (tips) on how many UGs are in my country 2014-01-22 16:39:01 -08:00
Hannes Magnusson
1a43ba3ce8 We are not in beta 2014-01-22 15:25:10 -08:00
Rasmus Lerdorf
9d983f6872 Without pinning the year this array will change from year to year 2014-01-12 09:10:11 -08:00
Hannes Magnusson
e1c09fe163 Document the local page search shortcut 2013-12-28 19:07:21 -08:00
Hannes Magnusson
1c311cc448 Add a "headsup" bar when we add new news entries 2013-12-26 15:16:51 -08:00
Hannes Magnusson
c1ac5f0722 This var isn't used anymore 2013-12-26 15:16:28 -08:00
Hannes Magnusson
36e805e147 Bring back the mega dropdown, toggled with "?" keyboard shortcut 2013-12-26 13:34:43 -08:00
Hannes Magnusson
f320ea32fd Reimplement the news archive caching 2013-12-26 10:05:11 -08:00
Hannes Magnusson
c61c0b9398 Kill STATIC_ROOT, its not helpful. Also use MYSITE for all js/css 2013-12-04 12:10:54 -08:00
Hannes Magnusson
c63bbd008a Fix/enable archive sidebar 2013-12-03 18:12:55 -08:00
Hannes Magnusson
7cf8424edf Remove wrappers for the beta design, and the old code 2013-11-20 16:29:56 -08:00
Hannes Magnusson
d366d46472 Kill the beta warning on all pages 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
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