Mercurial > hg > batmud > maputils
diff www/info.php @ 1620:6d620441af7f
Rename various functions, and other cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 08 Mar 2016 16:55:23 +0200 |
parents | 7fcea2fce0be |
children | 2cbce82aa3c3 |
line wrap: on
line diff
--- a/www/info.php Tue Mar 08 16:41:28 2016 +0200 +++ b/www/info.php Tue Mar 08 16:55:23 2016 +0200 @@ -5,7 +5,7 @@ /* Page start */ -printPageHeader($pageTitle." - Wizards of the Realm"); +mpPrintPageHeader($pageTitle." - Wizards of the Realm"); require "menu.inc.php"; ?> @@ -24,7 +24,7 @@ <br /> <b>Notice #3</b>: It is certainly possible, that some of this information is - incorrect. Sorry for that. Please report to <? burl("Ggr") ?>, if you have Knowledge(tm). + incorrect. Sorry for that. Please report to <? echo burl("Ggr") ?>, if you have Knowledge(tm). </div> <hr /> <div style="text-align: center;"> @@ -40,24 +40,17 @@ $locTable = apc_fetch("info_locTable"); if (empty($locTable)) { - $locTable = stReadLocationFiles(); + $locTable = mpReadLocationFiles(); apc_store("info_locTable", $locTable, 3600); } $wizTable = apc_fetch("wizTable"); if (empty($wizTable)) { - $wizTable = stReadWizInfoFiles(); + $wizTable = mpReadWizInfoFiles(); apc_store("wizTable", $wizTable, 3600); } -if (isset($_GET["a"])) -{ - $coderName = basename($_GET["a"]); - $coderName = strtoupper(substr($coderName, 0, 1)).strtolower(substr($coderName, 1)); -} - - function wizardSort($a, $b) { return strcmp($a["name"], $b["name"]); @@ -136,7 +129,7 @@ echo "<p><b>".$totalWiz."</b> wizards.</p>\n"; // Print out the alpha link index - stPrintExtraBoxAlphaList("ch", $alphaTable); + mpPrintExtraBoxAlphaList("ch", $alphaTable); } else {