changeset 1694:0d61c668962c

Sync.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 29 Jun 2017 17:08:40 +0300
parents 9685febcbd87
children 76b95f35c0a9
files www/loc.php www/menu.inc.php
diffstat 2 files changed, 19 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/www/loc.php	Fri Jun 16 15:06:49 2017 +0300
+++ b/www/loc.php	Thu Jun 29 17:08:40 2017 +0300
@@ -188,8 +188,8 @@
 }
 
 mpPrintPageHeader($pageTitle." - Locations",
-  "<script type=\"text/javascript\" src=\"tooltip.js\"></script>\n".
-  "<meta name=\"robots\" content=\"nofollow\" />\n");
+  "  <script type=\"text/javascript\" src=\"tooltip.js\"></script>\n".
+  "  <meta name=\"robots\" content=\"nofollow\" />\n");
 
 echo
   "<h1>".$mtitle."BatMUD".(isset($coderName) ? " by ".chentities($coderName) : "")."</h1>\n".
@@ -197,19 +197,19 @@
   "<div class=\"controls\">\n";
 
 if (isset($setName))
-  echo "<input type=\"hidden\" name=\"n\" value=\"".chentities($setName)."\" />\n";
+  echo "  <input type=\"hidden\" name=\"n\" value=\"".chentities($setName)."\" />\n";
 
-echo "<select class=\"control dropdown\" name=\"f\" onChange=\"this.form.submit();\">\n";
+echo "  <select class=\"control dropdown\" name=\"f\" onChange=\"this.form.submit();\">\n";
 foreach ($locationTypes as $id => $type)
 {
   echo
-    "   <option value=\"".$id."\"".
+    "    <option value=\"".$id."\"".
     (($applyFilter && $filter == $id) ? " selected=\"selected\"" : "").
     ">".$type[3]."</option>\n";
 }
 echo
-  "</select>\n".
-  "<noscript><input type=\"submit\" value=\" Update \" class=\"control submit\" /></noscript>\n";
+  "  </select>\n".
+  "  <noscript><input type=\"submit\" value=\" Update \" class=\"control submit\" /></noscript>\n";
 
 
 printTitleLink($applyFilter, $filter, $showCoders, "All&nbsp;continents", "", "all");
--- a/www/menu.inc.php	Fri Jun 16 15:06:49 2017 +0300
+++ b/www/menu.inc.php	Thu Jun 29 17:08:40 2017 +0300
@@ -1,15 +1,14 @@
 <div id="mainMenu">
- <?php echo "<h1><a href=\"".$pageMapURL."\">".$pageTitle."</a></h1>" ?>
- <a class="menuItem" href="loc.php">All locations</a>
- <a class="menuItem" href="latest.php">Latest added locations</a>
- <a class="menuItem" href="level.php">Restricted areas</a>
- <a class="menuItem" href="quests.php">Quests information</a>
- <a class="menuItem" href="loc.php?c">Player cities</a>
- <a class="menuItem" href="ss.php">Secret societies</a>
- <a class="menuItem" href="loc.php?c&amp;n=limbo">Pcities in "limbo"</a>
- <a class="menuItem" href="info.php">List of Wizards</a>
- <a class="menuItem" href="simple.php">Simple location list</a>
- <a class="menuItem" href="faq.php">FAQ</a>
-
- <div class="batmud"><a href="http://www.bat.org/play"><img src="/luk/img/batmud.png" alt="BatMUD - 25 Years of Adventure" /></a></div>
+  <?php echo "<h1><a href=\"".$pageMapURL."\">".$pageTitle."</a></h1>" ?>
+  <a class="menuItem" href="loc.php">All locations</a>
+  <a class="menuItem" href="latest.php">Latest added locations</a>
+  <a class="menuItem" href="level.php">Restricted areas</a>
+  <a class="menuItem" href="quests.php">Quests information</a>
+  <a class="menuItem" href="loc.php?c">Player cities</a>
+  <a class="menuItem" href="ss.php">Secret societies</a>
+  <a class="menuItem" href="loc.php?c&amp;n=limbo">Pcities in "limbo"</a>
+  <a class="menuItem" href="info.php">List of Wizards</a>
+  <a class="menuItem" href="simple.php">Simple location list</a>
+  <a class="menuItem" href="faq.php">FAQ</a>
+  <div class="batmud"><a href="http://www.bat.org/play"><img src="/luk/img/batmud.png" alt="BatMUD - 25 Years of Adventure" /></a></div>
 </div>