diff options
author | Francis Rowe <fchmmr@minifree.lan> | 2015-12-03 14:45:21 (EST) |
---|---|---|
committer | Francis Rowe <fchmmr@minifree.lan> | 2015-12-03 14:45:21 (EST) |
commit | 92130e71ff8f2a4dcc26302da971b9926df9804b (patch) | |
tree | f6e1ccb0a69ba87639b9a276fe46387fd5946d38 /site | |
parent | ce0559c5c98e34395461e0ae770eb444eb4fafa4 (diff) | |
download | libreboot.org-92130e71ff8f2a4dcc26302da971b9926df9804b.zip libreboot.org-92130e71ff8f2a4dcc26302da971b9926df9804b.tar.gz libreboot.org-92130e71ff8f2a4dcc26302da971b9926df9804b.tar.bz2 |
move reboot tuesday code to top of page
Diffstat (limited to 'site')
-rw-r--r-- | site/index.php | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/site/index.php b/site/index.php index 81228ce..1868f8a 100644 --- a/site/index.php +++ b/site/index.php @@ -45,6 +45,21 @@ It's also an open source BIOS, but open source <a href="https://www.gnu.org/philosophy/open-source-misses-the-point.html">fails</a> to promote freedom; <em>please call libreboot <strong><a href="https://www.gnu.org/philosophy/free-sw.html">free software</a></strong></em>. <a href="docs/index.html#why">Learn more</a> </p> + <?php + $dateU=date("U"); + $dateMonth=date("n",$dateU); + if($dateMonth==12){/* december */ + $dateDayOfWeek=date("N",$dateU); + if($dateDayOfWeek==2){/* tuesday */ + $dateDayOfMonth=date("j",$dateU); + if(($dateDayOfMonth-7)<=0){ + ?> + <p><strong>Today (<?php echo date("r",$dateU); ?>) is <a href="https://lists.nongnu.org/archive/html/libreboot/2015-12/msg00001.html">Reboot Tuesday</a>.</strong></p> + <?php + } + } + } + ?> <p> <strong><em>FCC in the USA is trying to *ban* free WiFi devices! Learn more at <a href="http://savewifi.org/">SaveWifi.org</a>. Europeans, @@ -68,21 +83,6 @@ <ul> <li><strong><a href="faq/">Frequently Asked Questions (and answers to those questions)</a></strong></li> </ul> - <?php - $dateU=date("U"); - $dateMonth=date("n",$dateU); - if($dateMonth==12){/* december */ - $dateDayOfWeek=date("N",$dateU); - if($dateDayOfWeek==2){/* tuesday */ - $dateDayOfMonth=date("j",$dateU); - if(($dateDayOfMonth-7)<=0){ - ?> - <p><strong>Today (<?php echo date("r",$dateU); ?>) is <a href="https://lists.nongnu.org/archive/html/libreboot/2015-12/msg00001.html">Reboot Tuesday</a>.</strong></p> - <?php - } - } - } - ?> <h2>Why use libreboot?</h2> <p> Many people use <a href="https://gnu.org/philosophy/proprietary/">non-free</a> boot firmware, even if they |