wok-current rev 5819

tazbb: add stable support (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 15 11:12:24 2010 +0200 (2010-07-15)
parents e3adace590a1
children ce3fc5cd3c68
files tazbb/stuff/web/index.php
line diff
     1.1 --- a/tazbb/stuff/web/index.php	Thu Jul 15 10:25:06 2010 +0200
     1.2 +++ b/tazbb/stuff/web/index.php	Thu Jul 15 11:12:24 2010 +0200
     1.3 @@ -1,8 +1,10 @@
     1.4  <?php
     1.5  $version='cooking';
     1.6 +$notversion='stable';
     1.7  $wok='wok';
     1.8  if (isset($_GET['stable'])) {
     1.9  	$version='stable';
    1.10 +	$notversion='cooking';
    1.11  	$wok='wok-stable';
    1.12  }
    1.13  include("conf.php");
    1.14 @@ -27,7 +29,7 @@
    1.15  <div id="access">
    1.16      <a href="/<?php if ($version != 'stable')
    1.17  echo "?stable"; ?>" title="Slitaz <?php
    1.18 -echo $version ?> packages"><?php echo $version ?></a>                          
    1.19 +echo $notversion ?> packages"><?php echo $notversion ?></a>                          
    1.20  </div>                                                                         
    1.21      <?php } ?>
    1.22      <a href="http://bb.slitaz.org/"><img id="logo"