Mercurial > hg > lukkari
diff index.php @ 49:16aea8e5cb71
Improved CSS, added a third stylesheet option.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 17 Oct 2012 15:35:16 +0300 |
parents | d41b51cd4ae5 |
children | aa201ddd33dd |
line wrap: on
line diff
--- a/index.php Wed Oct 17 14:02:24 2012 +0300 +++ b/index.php Wed Oct 17 15:35:16 2012 +0300 @@ -13,7 +13,7 @@ $dayNames = array("Maanantai", "Tiistai", "Keskiviikko", "Torstai", "Perjantai", "Lauantai", "Sunnuntai"); $pageCSSData = array("cookie" => "lukcss", "prefix" => $baseURI."luk"); -$altCSS = array("blue" => "1", "old" => "2"); +$pageCSSAlts = array("blue" => "1", "old" => "2", "purple" => "3"); $hourStamps = array( array( 8, 15), @@ -432,7 +432,7 @@ </div> <div id=\"csssel\"> Style: "; -foreach ($altCSS as $name => $id) +foreach ($pageCSSAlts as $name => $id) echo "<a href=\"?css=".$id."\">".$name."</a>"; echo " </div>