changeset 1115:3dc58d67b7b4

Sync.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 02 Jul 2011 19:47:28 +0300
parents 74395a317eb5
children 64b6e9d1118a
files www/common.inc.php www/info.php www/loc.php www/wizards.txt
diffstat 4 files changed, 20 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/www/common.inc.php	Sat Jul 02 18:35:25 2011 +0300
+++ b/www/common.inc.php	Sat Jul 02 19:47:28 2011 +0300
@@ -11,6 +11,7 @@
 
   "renardy"     => array("Renardy",      2068 , -910  , TRUE  , TRUE  , 168   , 86    , TRUE  ),
   "limbo"       => array("Limbo",           0 ,  0    , TRUE  , FALSE , 0     , 0     , FALSE ),
+  "special"     => array("Special",         0 ,  0    , TRUE  , FALSE , 0     , 0     , TRUE ),
   "hcbat"       => array("HCBat",           0 ,  0    , TRUE  , TRUE  , 0     , 0     , FALSE ),
 );
 
--- a/www/info.php	Sat Jul 02 18:35:25 2011 +0300
+++ b/www/info.php	Sat Jul 02 19:47:28 2011 +0300
@@ -44,6 +44,12 @@
 }
 
 
+function wizardSort($a, $b)
+{
+  return strcmp($a["name"], $b["name"]);
+}
+
+
 /* Print table of wizards
  */
 foreach ($locTable as $location) {
@@ -70,7 +76,8 @@
   $maxRow = 6;
   foreach ($alphaTable as $alpha => $data) {
     if (count($data) > 0) {
-      asort($data);
+      usort($data, "wizardSort");
+      
       echo "<h3><a name=\"".strtolower($alpha)."\"></a>".$alpha."</h3>\n";
       echo "<table class=\"loc\" width=\"95%\">\n";
       $n = 0;
--- a/www/loc.php	Sat Jul 02 18:35:25 2011 +0300
+++ b/www/loc.php	Sat Jul 02 19:47:28 2011 +0300
@@ -138,13 +138,14 @@
    </td>
    <td></td>
 <?
-printTitleLink($applyFilter, $filter, $showCoders, "All continents", "", "");
+printTitleLink($applyFilter, $filter, $showCoders, "All&nbsp;continents", "", "");
 foreach ($continentList as $continent => $data) {
   if ($data[4])
     printTitleLink($applyFilter, $filter, $showCoders, $data[0], $continent, $continent);
 }
+printTitleLink($applyFilter, $filter, $showCoders, "Special", "special", "special");
 ?>
-   <td><a href="<? echo $pageIndex ?>">Back to main page</a></td>
+   <td><a href="<? echo $pageIndex ?>">Main&nbsp;page</a></td>
   </tr>
  </table>
  </form>
--- a/www/wizards.txt	Sat Jul 02 18:35:25 2011 +0300
+++ b/www/wizards.txt	Sat Jul 02 19:47:28 2011 +0300
@@ -37,7 +37,7 @@
 	He ascended to archwizardhood in May 2007.$
 
 Shinarae;;img/shinarae.jpg;
-	Archwizard with several areas [i](many of them, like Wildspace and
+	Archwizard with several areas [i](some of them, like Wildspace and
 	Drow Tower, are not directly accessible from outworld)[/i], of which
 	some are interconnected thematically, or at least loosely through
 	the master thief Trilloch's story. His areas and monsters are rich
@@ -99,6 +99,8 @@
 	(coded with ~Tormac~). His current work mainly involves
 	system maintenance of BatMUD servers. Sometimes he
 	fixes bugs and codes nice things like BatURL.
+	[p]
+	Chairman of the <a href="http://www.bat.org/batry">B.A.T. Ry board</a>.
 	$
 
 Dino;bat;img/dino.jpg;
@@ -107,7 +109,7 @@
 	as a leading architect in creation of Valley of the Kings,
 	one of the biggest areas in game.
 	[p]
-	He also personally claims to have coded Durand.
+	He personally claims to have coded ~Durand~.
 	$
 
 Gore;bat;img/gore.jpg;
@@ -360,7 +362,8 @@
 Freld;;;
 	Established leader of parties and well-known player in general,
 	immorted in September 2010 and has since worked on game-balance issues,
-	minor tunes and improvements.$
+	various tunes and gameplay improvements.
+	$
 
 Grizzt;bat;;
 	One of the quiet codeslaves who work in the shadows, Grizzt's
@@ -385,7 +388,7 @@
 
 Duke;;;
 	American archwizard. Has coded a lots of stuff, including the
-	legendary Narcuul (and his shards). Famous for his sudden
+	legendary Narcuul (and his shards). Infamous for his sudden
 	tunes, often ad-libbed as "duketunes".$
 
 ################################## WIP ######################################
@@ -489,7 +492,7 @@
 	Coded the player quests system.$
 
 
-Capula;;;
+Capula;;img/capula.jpg;
 	Master of Kepustan, lord of the beer immorted on 29 Jan 2009.
 	$