changeset 1902:5458d75dad67

Various fixes.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 06 Nov 2017 09:59:29 +0200
parents 55392a6feead
children 953c9a2c55f5
files www/config.inc.php www/faq.xml www/search.css www/search.php
diffstat 4 files changed, 14 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/www/config.inc.php	Mon Nov 06 09:12:51 2017 +0200
+++ b/www/config.inc.php	Mon Nov 06 09:59:29 2017 +0200
@@ -2,6 +2,7 @@
 $pageAuthor = "Matti H&auml;m&auml;l&auml;inen aka Ggr Pupunen";
 $pageTitle = "Pupunen BatMUD Maps";
 $pageLang = "en";
+$pageCharset = "utf-8";
 $wizImageURL = "wiz/";
 
 //
--- a/www/faq.xml	Mon Nov 06 09:12:51 2017 +0200
+++ b/www/faq.xml	Mon Nov 06 09:59:29 2017 +0200
@@ -320,6 +320,7 @@
 <p>
 Bat Ry provides the raw ASCII map data for the BatMUD continents, which
 is updated at every game reboot:
+</p>
 <ul>
  <li><a href="http://www.bat.org/maps/raw/laenor.txt">Laenor</a></li>
  <li><a href="http://www.bat.org/maps/raw/rothikgen.txt">Rothikgen</a></li>
@@ -328,7 +329,6 @@
  <li><a href="http://www.bat.org/maps/raw/desolathya.txt">Desolathya</a></li>
  <li><a href="http://www.bat.org/maps/raw/renardy.txt">Renardy</a></li>
 </ul>
-</p>
 </answer>
 </item>
 
--- a/www/search.css	Mon Nov 06 09:12:51 2017 +0200
+++ b/www/search.css	Mon Nov 06 09:59:29 2017 +0200
@@ -1,3 +1,4 @@
+
 #error {
   font-size: 2em;
   text-align: center;
--- a/www/search.php	Mon Nov 06 09:12:51 2017 +0200
+++ b/www/search.php	Mon Nov 06 09:59:29 2017 +0200
@@ -10,7 +10,7 @@
 );
 
 ?>
-<h1>Pupunen BatMUD map search (BETA)</h1>
+<h1>BatMUD map search (BETA)</h1>
 <noscript>
   <div id="error">
   This page requires JavaScript to be enabled to work.
@@ -19,13 +19,7 @@
 
 <div id="searchBox">
   <h2>Search pattern</h2>
-<textarea id="pattern" cols="30" rows="15">
-FFFFHHHFFHHHHHHHHHHHH
-FFHHHHHHHHHHHHHHHHHHH
-HFHHHHHHHH*HHHHHHHHHH
-HFHHHHHHHHHHHHHHHHHHH
-FFHHHHHHHHHHHHHHHHHHH
-</textarea>
+  <textarea id="pattern" cols="30" rows="15"></textarea>
   <div id="controls">
     <div id="mapList">LOADING MAP LIST...</div>
     <button id="btnMaps" type="button">C^</button>
@@ -40,18 +34,15 @@
 </div>
 
 <div id="note">
-The search ignores following characters (they act as wildcards):
-<b>*, @, ?, %, C</b> and
-whitespace, thus searching <b>exact</b> matches for player cities (C), shrine
-(%) and location markers (?) is not possible. "*" and "@" will be used to center the search coordinates
-if they are present in the pattern.
-</div>
-
-<div id="logBox">
-  <h2>Log</h2>
-  <div id="log"></div>
+  <ol>
+    <li>The search ignores following characters (they act as wildcards):
+<b>*, @, ?, %, C</b> and whitespace, thus searching <b>exact</b> matches for player cities (C), shrine
+(%) and location markers (?) is not possible.</li>
+    <li>"*" and "@" will be used to center the search coordinates if they are present in the pattern.</li>
+    <li>Obviously the search pattern must be "clean", e.g. output from 'look' will not work if it has ships/NPCs or such.</li>
+  </ol>
 </div>
 
 <?php
-mpPrintPageFooter(FALSE);
-?>
+mpPrintPageFooter(TRUE);
+?>
\ No newline at end of file