Mercurial > hg > lukkari
comparison 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 |
comparison
equal
deleted
inserted
replaced
153:9c6290ad087d | 154:4106691d3b25 |
---|---|
95 ), | 95 ), |
96 | 96 |
97 "Style" => array( | 97 "Style" => array( |
98 "fi" => "Tyyli", | 98 "fi" => "Tyyli", |
99 ), | 99 ), |
100 | 100 |
101 "currLukLink" => array( | 101 "linkToggle" => array( |
102 "fi" => "Vaihda nykyisen ja seuraavan periodin (jos saatavilla) lukujärjestyksen välillä.", | |
103 "en" => "Switch view between current and next period (if available) timetable.", | |
104 ), | |
105 | |
106 "linkOrig" => array( | |
107 "fi" => "Linkki alkuperäiseen lukujärjestysdataan.", | |
108 "en" => "Link to the original time table data.", | |
109 ), | |
110 | |
111 "linkMobile" => array( | |
112 "fi" => "Yksinkertaisempi mobiililaiteversio lukujärjestyksestä.", | |
113 "en" => "Simpler mobile device version of the timetable.", | |
114 ), | |
115 | |
116 "linkCurrLuk" => array( | |
102 "fi" => "Linkki tähän lukujärjestykseen nykyisillä asetuksilla (kieli, jne.)", | 117 "fi" => "Linkki tähän lukujärjestykseen nykyisillä asetuksilla (kieli, jne.)", |
103 "en" => "Link to the this timetable with current settings (language, etc.)", | 118 "en" => "Link to the this timetable with current settings (language, etc.)", |
104 ), | 119 ), |
105 // "" => array("fi" => ), | 120 // "" => array("fi" => ), |
106 ); | 121 ); |
585 " <th><input class=\"submit\" type=\"submit\" value=\"".cmQM("Switch")."\" /></th>\n"; | 600 " <th><input class=\"submit\" type=\"submit\" value=\"".cmQM("Switch")."\" /></th>\n"; |
586 | 601 |
587 if (!$mobileMode) | 602 if (!$mobileMode) |
588 { | 603 { |
589 echo | 604 echo |
590 " <th><a id=\"next\" class=\"textctrl\" href=\"".$baseURI.($nextPeriod ? "" : "?next")."\">". | 605 " <th><a id=\"next\" class=\"textctrl\" href=\"". |
606 $baseURI.($nextPeriod ? "" : "?next")."\" title=\"".cmQM("linkToggle")."\">". | |
591 cmQM("Shown").": ".($nextPeriod ? cmQM("Next period") : cmQM("Current period")). | 607 cmQM("Shown").": ".($nextPeriod ? cmQM("Next period") : cmQM("Current period")). |
592 "</a></th>\n"; | 608 "</a></th>\n"; |
593 | 609 |
594 if ($haveData) | 610 if ($haveData) |
595 { | 611 { |
596 echo | 612 echo |
597 " <th><a id=\"orig\" class=\"textctrl\" href=\"".$origBaseURI.$classID.$origBaseExt."\">".cmQM("Original")."</a></th>\n"; | 613 " <th><a id=\"orig\" class=\"textctrl\" href=\"".$origBaseURI.$classID.$origBaseExt."\" title=\"".cmQM("linkOrig")."\">".cmQM("Original")."</a></th>\n"; |
598 //" <th><a id=\"xml\" class=\"textctrl\" href=\"".$baseURI.$cachePath."/".$luokka.".xml\">XML</a></th>\n"; | 614 //" <th><a id=\"xml\" class=\"textctrl\" href=\"".$baseURI.$cachePath."/".$luokka.".xml\">XML</a></th>\n"; |
599 } | 615 } |
600 | 616 |
601 echo | 617 echo |
602 " <th><a class=\"textctrl mobile\" href=\"http://tnsp.org/mluk/\">Mobile</a></th>\n"; | 618 " <th><a class=\"textctrl mobile\" href=\"http://tnsp.org/mluk/\" title=\"".cmQM("linkMobile")."\">Mobile</a></th>\n"; |
603 } | 619 } |
604 | 620 |
605 $currURL = $baseURI."?luokka=".$classID."&lang=".$pageLang. | 621 $currURL = $baseURI."?luokka=".$classID."&lang=".$pageLang. |
606 (isset($pageCSSIndex) ? "&css=".$pageCSSIndex : ""). | 622 (isset($pageCSSIndex) ? "&css=".$pageCSSIndex : ""). |
607 ($nextPeriod ? "&next" : ""); | 623 ($nextPeriod ? "&next" : ""); |
608 | 624 |
609 echo | 625 echo |
610 " <th><a href=\"".$currURL."\" class=\"textctrl\" title=\"".cmQM("currLukLink")."\">Link</a></th>\n". | 626 " <th><a href=\"".$currURL."\" class=\"textctrl\" title=\"".cmQM("linkCurrLuk")."\">Link</a></th>\n". |
611 // " <th class=\"advert\"><a href=\"http://tnsp.org/u/HXh\"><img src=\"img/cell.png\" alt=\"Division Cell\" /></a></th>\n". | 627 // " <th class=\"advert\"><a href=\"http://tnsp.org/u/G1X\"><img src=\"img/hdd_fi.gif\" alt=\"HDD.fi\" /></a></th>\n". |
612 " <th class=\"advert\"><a href=\"http://tnsp.org/u/G1X\"><img src=\"img/hdd_fi.gif\" alt=\"HDD.fi\" /></a></th>\n". | 628 " <th class=\"advert\"><a href=\"http://tnsp.org/u/H9w\"><img src=\"img/batmud.png\" alt=\"BatMUD\" /></a></th>\n". |
629 // " <th><a href=\"http://tnsp.org/testluk/\"><img src=\"img/test.png\" alt=\"Lukkari v3\" /></a></th>\n". | |
613 " </tr>\n". | 630 " </tr>\n". |
614 " </table>\n". | 631 " </table>\n". |
615 "</form>\n". | 632 "</form>\n". |
616 "<h1>".$pageTitle."</h1>\n"; | 633 "<h1>".$pageTitle."</h1>\n"; |
617 | 634 |