changeset 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 c77a48f6ad75
children 891bd3c93f96
files index.php
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/index.php	Sat Dec 22 14:58:22 2012 +0200
+++ b/index.php	Tue Feb 05 11:18:34 2013 +0200
@@ -24,6 +24,8 @@
 
 $pageTranslations = array(
   "Original" => array("fi" => "Alkuperäinen"),
+
+  "Shown" => array("fi" => "Näkyvillä"),
   "Next period" => array("fi" => "Seuraava periodi"),
   "Current period" => array("fi" => "Nykyinen periodi"),
   "Switch" => array("fi" => "Vaihda"),
@@ -473,7 +475,8 @@
 {
   echo
   "   <th><a id=\"next\" class=\"textctrl\" href=\"".$baseURI.($nextPeriod ? "" : "?next")."\">".
-  ($nextPeriod ? cmQM("Current period") : cmQM("Next period"))."</a></th>\n".
+  cmQM("Shown").": ".($nextPeriod ? cmQM("Next period") : cmQM("Current period")).
+  "</a></th>\n".
   "   <th><a id=\"orig\" class=\"textctrl\" href=\"".$origBaseURI.$luokka.$origBaseExt."\">".cmQM("Original")."</a></th>\n".
   "   <th><a id=\"xml\" class=\"textctrl\" href=\"".$baseURI.$cachePath."/".$luokka.".xml\">XML</a></th>\n".
   "   <th><a class=\"textctrl mobile\" href=\"http://tnsp.org/mluk/\">Mobile</a></th>\n";