website diff index.php @ rev 913

main index use config.php to set downlad link and slitaz version
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 08 13:33:43 2012 +0100 (2012-03-08)
parents b3d83d7647d0
children 0d0e852f2585
line diff
     1.1 --- a/index.php	Thu Mar 08 11:47:03 2012 +0100
     1.2 +++ b/index.php	Thu Mar 08 13:33:43 2012 +0100
     1.3 @@ -18,7 +18,10 @@
     1.4  </head>
     1.5  <body>
     1.6  
     1.7 -<?php include("lib/html/header.html"); ?>
     1.8 +<?php
     1.9 +include("config.php");
    1.10 +include("lib/html/header.html");
    1.11 +?>
    1.12  
    1.13  <!-- Block -->
    1.14  <div id="block">
    1.15 @@ -31,15 +34,15 @@
    1.16  		<h4>About SliTaz</h4>
    1.17  		<p>
    1.18  			SliTaz is an open source and free operating system providing
    1.19 -			a fully featured desktop or server in less than 30 MB. SliTaz
    1.20 +			a fully featured desktop or server in less than 35 MB. SliTaz
    1.21  			is simple to use, fast and stable. We have an active community
    1.22  			and contributors from all over the world making SliTaz finer
    1.23  			every day. 
    1.24  		</p>
    1.25  		<div class="button" style="text-align: left;">
    1.26  			Download:
    1.27 -			<a href="http://mirror.slitaz.org/iso/3.0/slitaz-3.0.iso">SliTaz 3.0</a>
    1.28 -			<a href="http://mirror.slitaz.org/iso/cooking/slitaz-4.0-RC2.iso">SliTaz 4.0-RC2</a>
    1.29 +			<?php echo "<a href='$mirror/$stable/slitaz-$stable.iso'>SliTaz $stable</a>
    1.30 +				<a href='$mirror/cooking/slitaz-$cooking.iso'>SliTaz $cooking</a>"; ?>
    1.31  		</div>
    1.32  	</div>
    1.33  </div>