comparison index.php @ 100:055c33cba66e

Make the current/next period button a bit clearer ..
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 05 Feb 2013 11:18:34 +0200
parents 6a7172b3a841
children 38e9772901f1
comparison
equal deleted inserted replaced
99:c77a48f6ad75 100:055c33cba66e
22 "en" => array("Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"), 22 "en" => array("Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"),
23 ); 23 );
24 24
25 $pageTranslations = array( 25 $pageTranslations = array(
26 "Original" => array("fi" => "Alkuperäinen"), 26 "Original" => array("fi" => "Alkuperäinen"),
27
28 "Shown" => array("fi" => "Näkyvillä"),
27 "Next period" => array("fi" => "Seuraava periodi"), 29 "Next period" => array("fi" => "Seuraava periodi"),
28 "Current period" => array("fi" => "Nykyinen periodi"), 30 "Current period" => array("fi" => "Nykyinen periodi"),
29 "Switch" => array("fi" => "Vaihda"), 31 "Switch" => array("fi" => "Vaihda"),
30 32
31 "contact" => array( 33 "contact" => array(
471 473
472 if (!$mobileMode) 474 if (!$mobileMode)
473 { 475 {
474 echo 476 echo
475 " <th><a id=\"next\" class=\"textctrl\" href=\"".$baseURI.($nextPeriod ? "" : "?next")."\">". 477 " <th><a id=\"next\" class=\"textctrl\" href=\"".$baseURI.($nextPeriod ? "" : "?next")."\">".
476 ($nextPeriod ? cmQM("Current period") : cmQM("Next period"))."</a></th>\n". 478 cmQM("Shown").": ".($nextPeriod ? cmQM("Next period") : cmQM("Current period")).
479 "</a></th>\n".
477 " <th><a id=\"orig\" class=\"textctrl\" href=\"".$origBaseURI.$luokka.$origBaseExt."\">".cmQM("Original")."</a></th>\n". 480 " <th><a id=\"orig\" class=\"textctrl\" href=\"".$origBaseURI.$luokka.$origBaseExt."\">".cmQM("Original")."</a></th>\n".
478 " <th><a id=\"xml\" class=\"textctrl\" href=\"".$baseURI.$cachePath."/".$luokka.".xml\">XML</a></th>\n". 481 " <th><a id=\"xml\" class=\"textctrl\" href=\"".$baseURI.$cachePath."/".$luokka.".xml\">XML</a></th>\n".
479 " <th><a class=\"textctrl mobile\" href=\"http://tnsp.org/mluk/\">Mobile</a></th>\n"; 482 " <th><a class=\"textctrl mobile\" href=\"http://tnsp.org/mluk/\">Mobile</a></th>\n";
480 } 483 }
481 484