website diff lib/rand-sponsor.php @ rev 996

pt: some fixes on get & flavors pages
author Claudinei Pereira <claudinei@slitaz.org>
date Fri Mar 23 01:00:13 2012 -0300 (2012-03-23)
parents 304b3f1894f7
children 7f4e78f7e0cc
line diff
     1.1 --- a/lib/rand-sponsor.php	Tue Mar 13 19:14:50 2012 +0100
     1.2 +++ b/lib/rand-sponsor.php	Fri Mar 23 01:00:13 2012 -0300
     1.3 @@ -3,7 +3,7 @@
     1.4  // Display random sponsor. Only main sponsor are featured on main page.
     1.5  //
     1.6  
     1.7 -$total  = "2";
     1.8 +$total  = "3";
     1.9  $folder = "/images/sponsor";
    1.10  $random = mt_rand(1, $total);
    1.11  
    1.12 @@ -18,6 +18,11 @@
    1.13  	$img  = "ddg.png";
    1.14  	$url  = "https://duckduckgo.com/";
    1.15  	break;
    1.16 +case 3:
    1.17 +	$name = "Clarkson Open Source Institute";
    1.18 +	$img  = "cosi.png";
    1.19 +	$url  = "http://cosi.clarkson.edu/";
    1.20 +	break;
    1.21  }
    1.22  
    1.23  echo "<a href='$url'><img src='$folder/$img' title='$name' alt='[ $name ]' /></a>";