changeset 2098:00a10a891ce8

Sync.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 10 Sep 2019 16:06:59 +0300
parents 2a0dd44ccbdd
children f17a1b4bc259
files www/index.php www/latest.php www/maps.css www/menu.inc.php
diffstat 4 files changed, 46 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/www/index.php	Thu Sep 05 16:53:41 2019 +0300
+++ b/www/index.php	Tue Sep 10 16:06:59 2019 +0300
@@ -101,12 +101,28 @@
 
 mpPrintPageHeader($pageTitle);
 
+if (1)
+{
 echo
   "<h1>".$pageTitle."</h1>\n".
   "<div class=\"skrolli\">".
   "<a href=\"http://tnsp.org/u/IqM\"><img src=\"img/skrolli.png\" alt=\"Skrolli magazine\" /></a>".
   "</div>\n".
   mpSpecialDate("index", 1);
+}
+else
+{
+$zuri = "https://juliareda.eu/2019/02/eu-copyright-final-text/";
+echo
+  "<div class=\"filters\">".
+  "<h1>Internet Wars</h1>".
+  "<div style=\"margin: 2em; font-size: 1.5em;\">".
+  "Episode V: Article 13 Strikes Back".
+  "</div>".
+  "<p><a href=\"".$zuri."\">Click here to read more</a></p>".
+  "<a href=\"".$zuri."\"><img src=\"img/keyhole.jpg\" /></a>".
+  "</div>\n";
+}
 
 echo
   "<div id=\"intro\">\n".
--- a/www/latest.php	Thu Sep 05 16:53:41 2019 +0300
+++ b/www/latest.php	Tue Sep 10 16:06:59 2019 +0300
@@ -70,6 +70,12 @@
     return 1;
 }
 
+if ($showAll)
+  echo "<a href=\"?\">Show only notable locations</a> (not including player cities)";
+else
+  echo "<a href=\"?all\">Show all latest added locations</a> (including player cities)";
+echo "<hr />\n";
+
 
 if (count($locTable) > 0)
 {
--- a/www/maps.css	Thu Sep 05 16:53:41 2019 +0300
+++ b/www/maps.css	Tue Sep 10 16:06:59 2019 +0300
@@ -214,6 +214,16 @@
 .all { background: #0af !important; }
 .limbo { background: #342 !important; }
 
+div.controls .active {
+	border-color: black;
+	color: white;
+	position: relative;
+	box-shadow: none;
+	top: 2px;
+	left: 2px;
+}
+
+
 .tooltip {
 	position: absolute;
 	display: none;
@@ -385,3 +395,15 @@
 	margin-bottom: 1em;
 }
 
+
+#contents div.filters {
+	text-align: center;
+	padding-top: 0.5em;
+	padding-bottom: 0.5em;
+	background: #000;
+}
+
+#contents div.filters h1 {
+	color: #fff;
+	background: #f00;
+}
--- a/www/menu.inc.php	Thu Sep 05 16:53:41 2019 +0300
+++ b/www/menu.inc.php	Tue Sep 10 16:06:59 2019 +0300
@@ -11,5 +11,7 @@
   <a class="menuItem" href="simple.php">Simple location list</a>
   <a class="menuItem" href="search.php">Map search</a>
   <a class="menuItem" href="faq.php">FAQ</a>
+<?php if (0) { ?>
   <div class="batmud"><a href="http://www.bat.org/play"><img src="img/batmud.png" alt="BatMUD - 25 Years of Adventure" /></a></div>
+<?php } ?>
 </div>