diff www/loc.php @ 1900:ed98d2fe4bca

Rename some functions.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 06 Nov 2017 06:12:37 +0200
parents 68b784c7eae2
children 3075415f052e
line wrap: on
line diff
--- a/www/loc.php	Mon Nov 06 04:25:30 2017 +0200
+++ b/www/loc.php	Mon Nov 06 06:12:37 2017 +0200
@@ -66,11 +66,11 @@
   $applyFilter = TRUE;
 }
 else
-if (($filter = stGetRequestItem("f", "", TRUE)) != "")
+if (($filter = mpGetRequestItem("f", "", TRUE)) != "")
 {
   if (!preg_match("/^[\^A-Za-z!]+\$/", $filter))
   {
-    stError("Invalid filter rule '".chentities($filter)."'");
+    mpError("Invalid filter rule '".chentities($filter)."'");
     $filter = "C";
     $applyFilter = FALSE;
   }
@@ -86,7 +86,7 @@
 
 $showCoders = !isset($_GET["s"]);
 
-if (($tmpName = stGetRequestItem("a", FALSE, TRUE)) !== false)
+if (($tmpName = mpGetRequestItem("a", FALSE, TRUE)) !== false)
 {
   if (preg_match("#^([a-z]{1,15})#i", $tmpName, $matches))
   {
@@ -103,7 +103,7 @@
   else
   {
     $coderName = "???";
-    stError("Invalid wizard name.");
+    mpError("Invalid wizard name.");
   }
 }
 
@@ -123,7 +123,7 @@
   }
   else
   {
-    stError("No such continent ID!");
+    mpError("No such continent ID!");
     unset($setName);
   }
 }
@@ -279,7 +279,7 @@
       "</div>\n";
   }
   else
-    stError("No information entry for this wizard.");
+    mpError("No information entry for this wizard.");
 }
 
 
@@ -439,7 +439,7 @@
     "<p><b>No locations known!</b></p>\n".
     "</div>\n"; // end of contents div
 
-  stError("No locations known!");
+  mpError("No locations known!");
 }
 
 mpPrintPageFooter(FALSE);