changeset 103:38e9772901f1

Add in hdd.fi advertisement.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 03 May 2013 21:55:22 +0300
parents bf7a9f63bd82
children 38cb5b7404da
files index.php luk.css
diffstat 2 files changed, 21 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/index.php	Wed Apr 10 06:35:48 2013 +0300
+++ b/index.php	Fri May 03 21:55:22 2013 +0300
@@ -35,6 +35,11 @@
     "fi" => "Yhteydenotot <b>%1</b> tai <b>%2</b>. En vastaa mahdollisista virheistä tiedoissa!",
   ),
   
+  "advert" => array(
+    "en" => "<a href=\"https://www.hdd.fi/\">hdd.fi - Affordable remote disk space</a>",
+    "fi" => "<a href=\"https://www.hdd.fi/\">hdd.fi - Edullista etälevytilaa</a>",
+  ),
+  
   "beta" => array(
     "en" => " NOTICE! Lukkari v2.0 is still under development. There may be bugs.",
     "fi" => " HUOM! Lukkari v2.0 on vielä kehityksen alla. Bugeja voi löytyä.",
@@ -486,7 +491,8 @@
   "  </tr>\n".
   " </table>\n".
   "</form>\n".
-  "<h1>".$pageTitle."</h1>\n";
+  "<h1>".$pageTitle."</h1>\n".
+  "<div class=\"advert\">".cmQM("advert")."</div>\n";
 
 // Show error messages
 if ($errorSet)
--- a/luk.css	Wed Apr 10 06:35:48 2013 +0300
+++ b/luk.css	Fri May 03 21:55:22 2013 +0300
@@ -44,3 +44,17 @@
 	color: white;
 	background: red;
 }
+
+div.advert {
+	text-align: center;
+	padding: 5pt;
+}
+
+div.advert a {
+	text-decoration: none;
+	padding: 5pt;
+	background: red;
+	-moz-border-radius: 5pt;
+	border-radius: 5pt;
+	box-shadow: 0px 0px 6px rgba(0,0,0,0.7);
+}