Mercurial > hg > lukkari
diff index.php @ 45:d8a1e85b8dda
Change the visual style a tiny bit.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 24 Sep 2012 16:45:40 +0300 |
parents | 57af36f0864e |
children | d41b51cd4ae5 |
line wrap: on
line diff
--- a/index.php Mon Aug 27 18:35:20 2012 +0300 +++ b/index.php Mon Sep 24 16:45:40 2012 +0300 @@ -2,7 +2,7 @@ // // Yes, this is horrible. :| // -$pageCSS = array("http://tnsp.org/docs1.css", "luk.css"); +$pageCSS = array("luk.css"); $pageCharset = "utf-8"; $internalCharset = "utf-8"; $luokkaDefault = "TTE9SNO"; @@ -282,7 +282,7 @@ $out = "<div class=\"content\">\n"; - if ($hour >= 0 && $day >= 0) + if ($hour >= 0 && $day >= 0 && $hour < sizeof($classHourTable)) { $id = $classHourTable[$hour][$day]; $out .= @@ -420,7 +420,7 @@ "<form id=\"controls\" action=\"".$baseURI."\" method=\"get\"> <table> <tr> - <td> + <th> <select name=\"luokka\"> "; @@ -429,19 +429,19 @@ } echo " </select> - </td> - <td><input type=\"submit\" value=\" Vaihda \" /></td> - <td>[<a href=\"".$baseURI."?luokka=".$luokka; + </th> + <th><input class=\"submit\" type=\"submit\" value=\" Vaihda \" /></th> + <th><a href=\"".$baseURI."?luokka=".$luokka; if ($miniMode) echo "\">Normaali"; else echo "&nyt\">Mini-info"; -echo "</a>]</td> - <td>[<a href=\"http://www.oamk.fi/tyojarjestykset/otek/luokat/OR_".$luokka.".htm\">Alkuperäinen</a>]</td> +echo "</a></th> + <th><a href=\"http://www.oamk.fi/tyojarjestykset/otek/luokat/OR_".$luokka.".htm\">Alkuperäinen</a></th> - <td>[<a href=\"".$baseURI.($nextPeriod ? "" : "?next")."\">".($nextPeriod ? "Nykyinen" : "Seuraava")." periodi</a>]</td> + <th><a href=\"".$baseURI.($nextPeriod ? "" : "?next")."\">".($nextPeriod ? "Nykyinen" : "Seuraava")." periodi</a></th> </tr> </table> </form>