website rev 1283
Index page: announce SliTaz Rolling as a latest release; remove RC-3 download link from quick links.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 07 14:58:55 2016 +0200 (2016-01-07) |
parents | edaa164f912a |
children | e19603971ccf |
files | en/index.php fr/index.php lib/get-feeds.sh pt/index.php ru/index.php |
line diff
1.1 --- a/en/index.php Fri Oct 23 20:58:02 2015 +0200 1.2 +++ b/en/index.php Thu Jan 07 14:58:55 2016 +0200 1.3 @@ -51,6 +51,12 @@ 1.4 <h2>Latest Release</h2> 1.5 1.6 <ul> 1.7 + <li><strong>SliTaz Rolling release</strong> (weekly) <span>- <?php 1.8 + $rol_date_file = '/var/cache/slitaz/website/rolling-date.txt'; 1.9 + if (file_exists("$rol_date_file")) { 1.10 + $rol_date = file_get_contents("/var/cache/slitaz/website/rolling-date.txt"); 1.11 + print $rol_date; 1.12 + } ?></span></li> 1.13 <li><strong><a href="news/#d20150520">SliTaz 5.0 RC-3 release</a></strong> 1.14 <span>- 20 May 2015</span></li> 1.15 <li><strong><a href="news/#d20140519">SliTaz 5.0 RC-2 release</a></strong> 1.16 @@ -69,8 +75,8 @@ 1.17 <h2>Quick Download</h2> 1.18 1.19 <div class="dldiv"> 1.20 - <p><?php echo "<a class='dlbutton nav1' href='$stable_iso'>SliTaz $stable_ver</a> 1.21 - <a class='dlbutton nav2' href='$cooking_iso'>SliTaz $cooking</a>"; ?> 1.22 + <p><?php echo "<a class='dlbutton nav2' href='$stable_iso'>SliTaz $stable_ver</a>"; ?> 1.23 + <!-- a class='dlbutton nav2' href='$cooking_iso'>SliTaz $cooking</a>"; ? --> 1.24 <a class='dlbutton navpi' href='http://arm.slitaz.org/rpi/'>SliTaz Raspberry Pi</a> 1.25 <a class='dlbutton nav2' href='http://mirror.slitaz.org/iso/rolling/slitaz-rolling.iso'>SliTaz weekly 32bits</a> 1.26 <a class='dlbutton nav1' href='http://mirror.slitaz.org/iso/rolling/slitaz-rolling-core64.iso'>SliTaz weekly 64bits</a></p>
2.1 --- a/fr/index.php Fri Oct 23 20:58:02 2015 +0200 2.2 +++ b/fr/index.php Thu Jan 07 14:58:55 2016 +0200 2.3 @@ -51,6 +51,12 @@ 2.4 <h2>Dernière publications</h2> 2.5 2.6 <ul> 2.7 + <li><strong>Publication de SliTaz Rolling</strong> (hebdo) <span>- <?php 2.8 + $rol_date_file = '/var/cache/slitaz/website/rolling-date.txt'; 2.9 + if (file_exists("$rol_date_file")) { 2.10 + $rol_date = file_get_contents("/var/cache/slitaz/website/rolling-date.txt"); 2.11 + print $rol_date; 2.12 + } ?></span></li> 2.13 <li><strong><a href="/en/news/#d20150520">Publication de SliTaz 5.0 RC-3</a></strong> 2.14 <span>- 20 Mai 2015</span></li> 2.15 <li><strong><a href="/en/news/#d20140519">Publication de SliTaz 5.0 RC-2</a></strong> 2.16 @@ -69,8 +75,8 @@ 2.17 <h2>Téléchargement rapide</h2> 2.18 2.19 <div class="dldiv"> 2.20 - <p><?php echo "<a class='dlbutton nav1' href='$stable_iso'>SliTaz $stable_ver</a> 2.21 - <a class='dlbutton nav2' href='$cooking_iso'>SliTaz $cooking</a>"; ?> 2.22 + <p><?php echo "<a class='dlbutton nav2' href='$stable_iso'>SliTaz $stable_ver</a>"; ?> 2.23 + <!-- a class='dlbutton nav2' href='$cooking_iso'>SliTaz $cooking</a>"; ? --> 2.24 <a class='dlbutton navpi' href='http://arm.slitaz.org/rpi/'>SliTaz Raspberry Pi</a> 2.25 <a class='dlbutton nav2' href='http://mirror.slitaz.org/iso/rolling/slitaz-rolling.iso'>SliTaz hebdo 32bits</a> 2.26 <a class='dlbutton nav1' href='http://mirror.slitaz.org/iso/rolling/slitaz-rolling-core64.iso'>SliTaz hebdo 64bits</a></p>
3.1 --- a/lib/get-feeds.sh Fri Oct 23 20:58:02 2015 +0200 3.2 +++ b/lib/get-feeds.sh Thu Jan 07 14:58:55 2016 +0200 3.3 @@ -1,7 +1,7 @@ 3.4 #!/bin/sh 3.5 -# 3.6 +# 3.7 # Get latest commits and feeds to display on the website main page. 3.8 -# On Tank, this script is executed by cron each hour. 3.9 +# On the server, this script is executed by cron each hour. 3.10 # 3.11 3.12 CACHE="/var/cache/slitaz/website" 3.13 @@ -11,6 +11,7 @@ 3.14 BLOG_FEED='http://scn.slitaz.org/category/news/feed/' 3.15 WOK_FEED='http://hg.slitaz.org/wok/rss-log' 3.16 FORUM_FEED='http://forum.slitaz.org/rss' 3.17 +ROLLING_DATE='http://mirror1.slitaz.org/rolling-date.sh' 3.18 3.19 # Clean cache 3.20 mkdir -p $CACHE && cd $CACHE 3.21 @@ -22,6 +23,7 @@ 3.22 wget -O wok.xml $WOK_FEED 2>/dev/null 3.23 wget -O blog.xml $BLOG_FEED 2>/dev/null 3.24 wget -O forum.xml $FORUM_FEED 2>/dev/null 3.25 +wget -O rolling-date.txt $ROLLING_DATE 2>/dev/null 3.26 echo "Done" 3.27 3.28 exit 0
4.1 --- a/pt/index.php Fri Oct 23 20:58:02 2015 +0200 4.2 +++ b/pt/index.php Thu Jan 07 14:58:55 2016 +0200 4.3 @@ -46,6 +46,12 @@ 4.4 <h2>Últimos lançamentos</h2> 4.5 4.6 <ul> 4.7 + <li><strong>Lançamento do SliTaz Rolling</strong> (weekly) <span>- <?php 4.8 + $rol_date_file = '/var/cache/slitaz/website/rolling-date.txt'; 4.9 + if (file_exists("$rol_date_file")) { 4.10 + $rol_date = file_get_contents("/var/cache/slitaz/website/rolling-date.txt"); 4.11 + print $rol_date; 4.12 + } ?></span></li> 4.13 <li><strong><a href="news/#d20150520">Lançamento do SliTaz 5.0 RC-3</a></strong> 4.14 <span>- 20 de maio de 2015</span></li> 4.15 <li><strong><a href="news/#d20140519">Lançamento do SliTaz 5.0 RC-2</a></strong> 4.16 @@ -68,8 +74,8 @@ 4.17 <h2>Atalho para downloads</h2> 4.18 4.19 <div class="dldiv"> 4.20 - <p><?php echo "<a class='dlbutton nav1' href='$stable_iso'>SliTaz $stable_ver</a> 4.21 - <a class='dlbutton nav2' href='$cooking_iso'>SliTaz $cooking</a>"; ?> 4.22 + <p><?php echo "<a class='dlbutton nav2' href='$stable_iso'>SliTaz $stable_ver</a>"; ?> 4.23 + <!-- a class='dlbutton nav2' href='$cooking_iso'>SliTaz $cooking</a>"; ? --> 4.24 <a class='dlbutton navpi' href='http://arm.slitaz.org/rpi/'>SliTaz Raspberry Pi</a> 4.25 <a class='dlbutton nav2' href='http://mirror.slitaz.org/iso/rolling/slitaz-rolling.iso'>SliTaz weekly 32bits</a> 4.26 <a class='dlbutton nav1' href='http://mirror.slitaz.org/iso/rolling/slitaz-rolling-core64.iso'>SliTaz weekly 64bits</a></p>
5.1 --- a/ru/index.php Fri Oct 23 20:58:02 2015 +0200 5.2 +++ b/ru/index.php Thu Jan 07 14:58:55 2016 +0200 5.3 @@ -51,6 +51,12 @@ 5.4 <h2>Последние релизы</h2> 5.5 5.6 <ul> 5.7 + <li><strong>Выпуск SliTaz Rolling</strong> (еженедельный) <span>— <?php 5.8 + $rol_date_file = '/var/cache/slitaz/website/rolling-date.txt'; 5.9 + if (file_exists("$rol_date_file")) { 5.10 + $rol_date = file_get_contents("/var/cache/slitaz/website/rolling-date.txt"); 5.11 + print $rol_date; 5.12 + } ?></span></li> 5.13 <li> 5.14 <strong><a href="news/#d20150520">Выпуск SliTaz 5.0 RC3</a></strong> <span>— 20 мая 2015</span> 5.15 </li> 5.16 @@ -74,8 +80,8 @@ 5.17 <h2>Быстрая загрузка</h2> 5.18 5.19 <div class="dldiv"> 5.20 -<?php echo "<a class='dlbutton nav1' href='$stable_iso'>SliTaz $stable_ver</a> 5.21 -<a class='dlbutton nav2' href='$cooking_iso'>SliTaz $cooking</a>"; ?> 5.22 +<?php echo "<a class='dlbutton nav1' href='$stable_iso'>SliTaz $stable_ver</a>"; ?> 5.23 +<!-- a class='dlbutton nav2' href='$cooking_iso'>SliTaz $cooking</a>"; ? --> 5.24 <a class='dlbutton navpi' href='http://arm.slitaz.org/rpi/'>SliTaz Raspberry Pi</a> 5.25 <a class='dlbutton nav2' href='http://mirror.slitaz.org/iso/rolling/slitaz-rolling.iso'>еженедельный SliTaz 32 бит</a> 5.26 <a class='dlbutton nav1' href='http://mirror.slitaz.org/iso/rolling/slitaz-rolling-core64.iso'>еженедельный SliTaz 64 бит</a>