Mercurial > hg > lukkari
diff index.php @ 154:4106691d3b25
Add some link titles.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 30 Dec 2014 08:17:44 +0200 |
parents | 9c6290ad087d |
children | 241467521661 |
line wrap: on
line diff
--- a/index.php Tue Dec 09 21:32:25 2014 +0200 +++ b/index.php Tue Dec 30 08:17:44 2014 +0200 @@ -97,8 +97,23 @@ "Style" => array( "fi" => "Tyyli", ), + + "linkToggle" => array( + "fi" => "Vaihda nykyisen ja seuraavan periodin (jos saatavilla) lukujärjestyksen välillä.", + "en" => "Switch view between current and next period (if available) timetable.", + ), + + "linkOrig" => array( + "fi" => "Linkki alkuperäiseen lukujärjestysdataan.", + "en" => "Link to the original time table data.", + ), - "currLukLink" => array( + "linkMobile" => array( + "fi" => "Yksinkertaisempi mobiililaiteversio lukujärjestyksestä.", + "en" => "Simpler mobile device version of the timetable.", + ), + + "linkCurrLuk" => array( "fi" => "Linkki tähän lukujärjestykseen nykyisillä asetuksilla (kieli, jne.)", "en" => "Link to the this timetable with current settings (language, etc.)", ), @@ -587,19 +602,20 @@ if (!$mobileMode) { echo - " <th><a id=\"next\" class=\"textctrl\" href=\"".$baseURI.($nextPeriod ? "" : "?next")."\">". + " <th><a id=\"next\" class=\"textctrl\" href=\"". + $baseURI.($nextPeriod ? "" : "?next")."\" title=\"".cmQM("linkToggle")."\">". cmQM("Shown").": ".($nextPeriod ? cmQM("Next period") : cmQM("Current period")). "</a></th>\n"; if ($haveData) { echo - " <th><a id=\"orig\" class=\"textctrl\" href=\"".$origBaseURI.$classID.$origBaseExt."\">".cmQM("Original")."</a></th>\n"; + " <th><a id=\"orig\" class=\"textctrl\" href=\"".$origBaseURI.$classID.$origBaseExt."\" title=\"".cmQM("linkOrig")."\">".cmQM("Original")."</a></th>\n"; //" <th><a id=\"xml\" class=\"textctrl\" href=\"".$baseURI.$cachePath."/".$luokka.".xml\">XML</a></th>\n"; } echo - " <th><a class=\"textctrl mobile\" href=\"http://tnsp.org/mluk/\">Mobile</a></th>\n"; + " <th><a class=\"textctrl mobile\" href=\"http://tnsp.org/mluk/\" title=\"".cmQM("linkMobile")."\">Mobile</a></th>\n"; } $currURL = $baseURI."?luokka=".$classID."&lang=".$pageLang. @@ -607,9 +623,10 @@ ($nextPeriod ? "&next" : ""); echo - " <th><a href=\"".$currURL."\" class=\"textctrl\" title=\"".cmQM("currLukLink")."\">Link</a></th>\n". -// " <th class=\"advert\"><a href=\"http://tnsp.org/u/HXh\"><img src=\"img/cell.png\" alt=\"Division Cell\" /></a></th>\n". - " <th class=\"advert\"><a href=\"http://tnsp.org/u/G1X\"><img src=\"img/hdd_fi.gif\" alt=\"HDD.fi\" /></a></th>\n". + " <th><a href=\"".$currURL."\" class=\"textctrl\" title=\"".cmQM("linkCurrLuk")."\">Link</a></th>\n". +// " <th class=\"advert\"><a href=\"http://tnsp.org/u/G1X\"><img src=\"img/hdd_fi.gif\" alt=\"HDD.fi\" /></a></th>\n". + " <th class=\"advert\"><a href=\"http://tnsp.org/u/H9w\"><img src=\"img/batmud.png\" alt=\"BatMUD\" /></a></th>\n". +// " <th><a href=\"http://tnsp.org/testluk/\"><img src=\"img/test.png\" alt=\"Lukkari v3\" /></a></th>\n". " </tr>\n". " </table>\n". "</form>\n".