changeset 126:d954c4d34a3f

Message adjustments.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 19 Aug 2014 16:34:49 +0300
parents 22872b46eee9
children 1e44468dbbd8
files index.php
diffstat 1 files changed, 12 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/index.php	Sun Apr 20 14:28:07 2014 +0300
+++ b/index.php	Tue Aug 19 16:34:49 2014 +0300
@@ -1,6 +1,6 @@
 <?php
 //
-// Lukkari v2.1
+// OAMK Lukkari v2.1
 // (C) Copyright 2010 - 2014 Matti 'ccr' Hämäläinen <ccr@tnsp.org>
 // Yes, this code is rather horrible. :|
 //
@@ -32,8 +32,8 @@
   "Switch" => array("fi" => "Vaihda"),
 
   "contact" => array(
-    "en" => "Contact <b>%1</b> tai <b>%2</b>. The author can't be held responsible for any errors in the data!",
-    "fi" => "Yhteydenotot <b>%1</b> tai <b>%2</b>. En vastaa mahdollisista virheistä tiedoissa!",
+    "en" => "Contact <b>%1</b> or <b>%2</b>. The author can't be held responsible for any errors or inaccuracies in the data!",
+    "fi" => "Yhteydenotot <b>%1</b> tai <b>%2</b>. En vastaa mahdollisista virheistä tai epätarkkuuksista tiedoissa!",
   ),
   
   "updated" => array(
@@ -42,8 +42,8 @@
   ),
   
   "beta" => array(
-    "en" => " NOTICE! Lukkari v%1 is still under development. There may be bugs.",
-    "fi" => " HUOM! Lukkari v%1 on vielä kehityksen alla. Bugeja voi löytyä.",
+    "en" => " NOTICE! OAMK Lukkari v%1 is still under development. There may be bugs.",
+    "fi" => " HUOM! OAMK Lukkari v%1 on vielä kehityksen alla. Bugeja voi löytyä.",
   ),
 
   "viikossa" => array(
@@ -395,7 +395,9 @@
   else
   {
     $out =
-    "<p>".join("; ", $classInfo["general"])." [".cmQM("viikossa", $classInfo["totalHours"])."]</p>\n".
+    "<p>".join("; ", $classInfo["general"]).
+    //" [".cmQM("viikossa", $classInfo["totalHours"])."]".
+    "</p>\n".
     "<table class=\"timetable\">".
     " <tr>\n  <th></th>\n";
     
@@ -524,8 +526,9 @@
   ($nextPeriod ? "&amp;next" : "");
 
 echo
-  "   <th class=\"advert\"><a href=\"http://tnsp.org/u/HXh\"><img src=\"img/cell.png\" alt=\"Division Cell\" /></a></th>\n".
-  "   <th><a href=\"".$currURL."\" title=\"".cmQM("currLukLink")."\">Link</a></th>\n".
+  "   <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".
   "  </tr>\n".
   " </table>\n".
   "</form>\n".
@@ -557,7 +560,7 @@
 {
   echo
     "<div id=\"csssel\">\n".
-    " <div id=\"ctitle\">Lukkari v".$pageVersion."</div>\n".
+    " <div id=\"ctitle\">OAMK Lukkari v".$pageVersion."</div>\n".
     " <div>".cmQM("Style").": ";
 
   foreach ($pageCSSAlts as $name => $id)