website rev 1318

Try to fix Rolling date on the main pages after commit #1299.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 10 14:35:05 2017 +0300 (2017-06-10)
parents e74761daf3b7
children bea11c80ceb4
files bs/index.php cn/index.php da/index.php de/index.php en/index.php es/index.php fr/index.php id/index.php it/index.php ja/index.php pt/index.php ru/index.php
line diff
     1.1 --- a/bs/index.php	Sun May 28 17:23:45 2017 +0100
     1.2 +++ b/bs/index.php	Sat Jun 10 14:35:05 2017 +0300
     1.3 @@ -75,9 +75,9 @@
     1.4  	</li> -->
     1.5          <li><strong><a href="http://mirror.slitaz.org/iso/rolling/">SliTaz 5.0 Rolling release</a></strong> (weekly)
     1.6                  <span>- <?php
     1.7 -                $rol_date_file = '/var/cache/slitaz/website/rolling-date.txt';
     1.8 +                $rol_date_file = '../cache/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 +                        $rol_date = file_get_contents("../cache/rolling-date.txt");
    1.12                          print $rol_date;
    1.13                  } ?></span></li>
    1.14  
     2.1 --- a/cn/index.php	Sun May 28 17:23:45 2017 +0100
     2.2 +++ b/cn/index.php	Sat Jun 10 14:35:05 2017 +0300
     2.3 @@ -63,9 +63,9 @@
     2.4  
     2.5          <li><strong><a href="http://mirror.slitaz.org/iso/rolling/">SliTaz 5.0 Rolling release</a></strong> (weekly)  
     2.6      <span>- <?php
     2.7 -    $rol_date_file = '/var/cache/slitaz/website/rolling-date.txt';
     2.8 +    $rol_date_file = '../cache/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 +            $rol_date = file_get_contents("../cache/rolling-date.txt");
    2.12              print $rol_date;
    2.13      } ?></span></li>
    2.14  
     3.1 --- a/da/index.php	Sun May 28 17:23:45 2017 +0100
     3.2 +++ b/da/index.php	Sat Jun 10 14:35:05 2017 +0300
     3.3 @@ -76,9 +76,9 @@
     3.4  	</li> -->
     3.5          <li><strong><a href="http://mirror.slitaz.org/iso/rolling/">SliTaz 5.0 Rolling release</a></strong> (weekly)  
     3.6                  <span>- <?php
     3.7 -                $rol_date_file = '/var/cache/slitaz/website/rolling-date.txt';
     3.8 +                $rol_date_file = '../cache/rolling-date.txt';
     3.9                  if (file_exists("$rol_date_file")) {
    3.10 -                        $rol_date = file_get_contents("/var/cache/slitaz/website/rolling-date.txt");
    3.11 +                        $rol_date = file_get_contents("../cache/rolling-date.txt");
    3.12                          print $rol_date;
    3.13                  } ?></span></li>
    3.14  	<li>
     4.1 --- a/de/index.php	Sun May 28 17:23:45 2017 +0100
     4.2 +++ b/de/index.php	Sat Jun 10 14:35:05 2017 +0300
     4.3 @@ -46,9 +46,9 @@
     4.4  <ul>
     4.5  	<li><strong><a href="http://mirror.slitaz.org/iso/rolling/">SliTaz 5.0 wöchentliche Freigabe</a></strong>
     4.6              <span>- <?php
     4.7 -            $rol_date_file = '/var/cache/slitaz/website/rolling-date.txt';
     4.8 +            $rol_date_file = '../cache/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 +                    $rol_date = file_get_contents("../cache/rolling-date.txt");
    4.12                      print $rol_date;
    4.13              } ?></span></li>
    4.14  	<li><strong><a href="news/#d20150520">SliTaz 5.0 RC-3 Freigabe</a></strong>
     5.1 --- a/en/index.php	Sun May 28 17:23:45 2017 +0100
     5.2 +++ b/en/index.php	Sat Jun 10 14:35:05 2017 +0300
     5.3 @@ -53,9 +53,9 @@
     5.4  <ul>
     5.5  	<li><strong><a href="http://mirror.slitaz.org/iso/rolling/">SliTaz 5.0 Rolling release</a></strong> (weekly)
     5.6  		<span>- <?php
     5.7 -		$rol_date_file = '/var/cache/slitaz/website/rolling-date.txt';
     5.8 +		$rol_date_file = '../cache/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 +			$rol_date = file_get_contents("../cache/rolling-date.txt");
    5.12  			print $rol_date;
    5.13  		} ?></span></li>
    5.14  	<li><strong><a href="news/#d20150520">SliTaz 5.0 RC-3 release</a></strong>
     6.1 --- a/es/index.php	Sun May 28 17:23:45 2017 +0100
     6.2 +++ b/es/index.php	Sat Jun 10 14:35:05 2017 +0300
     6.3 @@ -61,9 +61,9 @@
     6.4  
     6.5          <li><strong><a href="http://mirror.slitaz.org/iso/rolling/">SliTaz 5.0 Rolling release</a></strong> (weekly)  
     6.6                  <span>- <?php
     6.7 -                $rol_date_file = '/var/cache/slitaz/website/rolling-date.txt';
     6.8 +                $rol_date_file = '../cache/rolling-date.txt';
     6.9                  if (file_exists("$rol_date_file")) {
    6.10 -                        $rol_date = file_get_contents("/var/cache/slitaz/website/rolling-date.txt");
    6.11 +                        $rol_date = file_get_contents("../cache/rolling-date.txt");
    6.12                          print $rol_date;
    6.13                  } ?></span></li>
    6.14  
     7.1 --- a/fr/index.php	Sun May 28 17:23:45 2017 +0100
     7.2 +++ b/fr/index.php	Sat Jun 10 14:35:05 2017 +0300
     7.3 @@ -53,9 +53,9 @@
     7.4  <ul>
     7.5  	<li><strong><a href="http://mirror.slitaz.org/iso/rolling/">Publication de SliTaz 5.0 Rolling</a></strong> (hebdo) 
     7.6  		<span>- <?php
     7.7 -		$rol_date_file = '/var/cache/slitaz/website/rolling-date.txt';
     7.8 +		$rol_date_file = '../cache/rolling-date.txt';
     7.9  		if (file_exists("$rol_date_file")) {
    7.10 -			$rol_date = file_get_contents("/var/cache/slitaz/website/rolling-date.txt");
    7.11 +			$rol_date = file_get_contents("../cache/rolling-date.txt");
    7.12  			print $rol_date;
    7.13  		} ?></span></li>
    7.14  	<li><strong><a href="/en/news/#d20150520">Publication de SliTaz 5.0 RC-3</a></strong>
     8.1 --- a/id/index.php	Sun May 28 17:23:45 2017 +0100
     8.2 +++ b/id/index.php	Sat Jun 10 14:35:05 2017 +0300
     8.3 @@ -65,9 +65,9 @@
     8.4  	</li> -->
     8.5  	        <li><strong><a href="http://mirror.slitaz.org/iso/rolling/">SliTaz 5.0 Rolling release</a></strong> (weekly)  
     8.6                  <span>- <?php
     8.7 -                $rol_date_file = '/var/cache/slitaz/website/rolling-date.txt';
     8.8 +                $rol_date_file = '../cache/rolling-date.txt';
     8.9                  if (file_exists("$rol_date_file")) {
    8.10 -                        $rol_date = file_get_contents("/var/cache/slitaz/website/rolling-date.txt");
    8.11 +                        $rol_date = file_get_contents("../cache/rolling-date.txt");
    8.12                          print $rol_date;
    8.13                  } ?></span></li>
    8.14  
     9.1 --- a/it/index.php	Sun May 28 17:23:45 2017 +0100
     9.2 +++ b/it/index.php	Sat Jun 10 14:35:05 2017 +0300
     9.3 @@ -72,9 +72,9 @@
     9.4  	</li> -->
     9.5  	        <li><strong><a href="http://mirror.slitaz.org/iso/rolling/">SliTaz 5.0 Rolling release</a></strong> (weekly) 
     9.6                  <span>- <?php
     9.7 -                $rol_date_file = '/var/cache/slitaz/website/rolling-date.txt';
     9.8 +                $rol_date_file = '../cache/rolling-date.txt';
     9.9                  if (file_exists("$rol_date_file")) {
    9.10 -                        $rol_date = file_get_contents("/var/cache/slitaz/website/rolling-date.txt");
    9.11 +                        $rol_date = file_get_contents("../cache/rolling-date.txt");
    9.12                          print $rol_date;
    9.13                  } ?></span></li>
    9.14  
    10.1 --- a/ja/index.php	Sun May 28 17:23:45 2017 +0100
    10.2 +++ b/ja/index.php	Sat Jun 10 14:35:05 2017 +0300
    10.3 @@ -52,9 +52,9 @@
    10.4  <ul>
    10.5  	<li><strong><a href="http://mirror.slitaz.org/iso/rolling/">SliTaz 5.0 Rolling 公開</a></strong> (毎週)
    10.6  		<span>- <?php
    10.7 -		$rol_date_file = '/var/cache/slitaz/website/rolling-date.txt';
    10.8 +		$rol_date_file = '../cache/rolling-date.txt';
    10.9  		if (file_exists("$rol_date_file")) {
   10.10 -			$rol_date = file_get_contents("/var/cache/slitaz/website/rolling-date.txt");
   10.11 +			$rol_date = file_get_contents("../cache/rolling-date.txt");
   10.12  			print $rol_date;
   10.13  		} ?></span></li>
   10.14  	<li><strong><a href="news/#d20150520">SliTaz 5.0 RC-3 公開</a></strong>
    11.1 --- a/pt/index.php	Sun May 28 17:23:45 2017 +0100
    11.2 +++ b/pt/index.php	Sat Jun 10 14:35:05 2017 +0300
    11.3 @@ -50,9 +50,9 @@
    11.4  
    11.5          <li><strong><a href="http://mirror.slitaz.org/iso/rolling/">Lançamento do SliTaz 5.0 Rolling</a></strong> (weekly)
    11.6                  <span>- <?php
    11.7 -		$rol_date_file = '/var/cache/slitaz/website/rolling-date.txt';
    11.8 +		$rol_date_file = '../cache/rolling-date.txt';
    11.9  		if (file_exists("$rol_date_file")) {
   11.10 -			$rol_date = file_get_contents("/var/cache/slitaz/website/rolling-date.txt");
   11.11 +			$rol_date = file_get_contents("../cache/rolling-date.txt");
   11.12  			print $rol_date;
   11.13  		} ?></span></li>
   11.14      <li><strong><a href="news/#d20150520">Lançamento do SliTaz 5.0 RC-3</a></strong>
    12.1 --- a/ru/index.php	Sun May 28 17:23:45 2017 +0100
    12.2 +++ b/ru/index.php	Sat Jun 10 14:35:05 2017 +0300
    12.3 @@ -53,9 +53,9 @@
    12.4  <ul>
    12.5  	<li><strong><a href="http://mirror.slitaz.org/iso/rolling/">Выпуск SliTaz 5.0 Rolling</a></strong> (weekly) (еженедельный)
    12.6  	     <span>— <?php
    12.7 -		$rol_date_file = '/var/cache/slitaz/website/rolling-date.txt';
    12.8 +		$rol_date_file = '../cache/rolling-date.txt';
    12.9  		if (file_exists("$rol_date_file")) {
   12.10 -			$rol_date = file_get_contents("/var/cache/slitaz/website/rolling-date.txt");
   12.11 +			$rol_date = file_get_contents("../cache/rolling-date.txt");
   12.12  			print $rol_date;
   12.13  		} ?></span></li>
   12.14  <li>