<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.board18.org/index.php?action=history&amp;feed=atom&amp;title=Board18Misc1</id>
	<title>Board18Misc1 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.board18.org/index.php?action=history&amp;feed=atom&amp;title=Board18Misc1"/>
	<link rel="alternate" type="text/html" href="https://wiki.board18.org/index.php?title=Board18Misc1&amp;action=history"/>
	<updated>2026-06-19T16:27:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.0</generator>
	<entry>
		<id>https://wiki.board18.org/index.php?title=Board18Misc1&amp;diff=2988&amp;oldid=prev</id>
		<title>Rich: Initial page contents</title>
		<link rel="alternate" type="text/html" href="https://wiki.board18.org/index.php?title=Board18Misc1&amp;diff=2988&amp;oldid=prev"/>
		<updated>2020-08-27T17:35:21Z</updated>

		<summary type="html">&lt;p&gt;Initial page contents&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ReleaseNoticeX|2.6|Design_Document_board18Misc_Page}}&lt;br /&gt;
board18Misc1.js contains all of the setup code for the board18Misc&lt;br /&gt;
page and all of the functions that manipulate the &amp;#039;&amp;#039;&amp;#039;right of page&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
content that displays players for selection.&lt;br /&gt;
&lt;br /&gt;
== Function gamePlayersResult(response)   ==&lt;br /&gt;
Function gamePlayersResult is the call back function for the&lt;br /&gt;
ajax call to gamePlayers.php. It reports any failure and then&lt;br /&gt;
displays the &amp;quot;List of players in game&amp;quot; table at the top of the&lt;br /&gt;
&amp;quot;rightofpage&amp;quot; division.&lt;br /&gt;
&lt;br /&gt;
Input is is the following stringified JSON data structure. &lt;br /&gt;
  {&lt;br /&gt;
    &amp;quot;stat&amp;quot;:&amp;quot;success||&amp;quot;fail&amp;quot;||&amp;quot;noplayers&amp;quot;,&lt;br /&gt;
    &amp;quot;players&amp;quot;:&lt;br /&gt;
    [&lt;br /&gt;
      {&lt;br /&gt;
        &amp;quot;playerid&amp;quot;:&amp;quot;nnnn&amp;quot;,&lt;br /&gt;
        &amp;quot;login&amp;quot;:&amp;quot;pppppp&amp;quot;,&lt;br /&gt;
        &amp;quot;fname&amp;quot;:&amp;quot;fffffff&amp;quot;,&lt;br /&gt;
        &amp;quot;lname&amp;quot;:&amp;quot;ggggggg&amp;quot;&lt;br /&gt;
      },&lt;br /&gt;
      . . . . more players . . . . . &lt;br /&gt;
    ]&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Function playerSortReturn(result) ==&lt;br /&gt;
Function playerSortReturn() is the callback function for&lt;br /&gt;
the playerSort.php AJAX call. It creates a list of plaers&lt;br /&gt;
sorted in the specified order and displays it in one of&lt;br /&gt;
three hidden divisions. It then shows that division.&lt;br /&gt;
&lt;br /&gt;
== Function switchtoid() ==&lt;br /&gt;
Function switchtoid() empties the playerid list.&lt;br /&gt;
It then hides the currently displayed list and&lt;br /&gt;
sets BD18.sort to &amp;quot;ID&amp;quot;.&lt;br /&gt;
Finally it does an AJAX call to playerSort.php&lt;br /&gt;
to load BD18.playerList with a list of players&lt;br /&gt;
sorted by player ID.  &lt;br /&gt;
&lt;br /&gt;
== Function switchtofn() ==&lt;br /&gt;
Function switchtofn() empties the playerid list.&lt;br /&gt;
It then hides the currently displayed list and&lt;br /&gt;
sets BD18.sort to &amp;quot;FN&amp;quot;.&lt;br /&gt;
Finally it does an AJAX call to playerSort.php&lt;br /&gt;
to load BD18.playerList with a list of players&lt;br /&gt;
sorted by first name.  &lt;br /&gt;
&lt;br /&gt;
== Function switchtoln() ==&lt;br /&gt;
Function switchtoln() empties the playerid list.&lt;br /&gt;
It then hides the currently displayed list and&lt;br /&gt;
sets BD18.sort to &amp;quot;LN&amp;quot;.&lt;br /&gt;
Finally it does an AJAX call to playerSort.php&lt;br /&gt;
to load BD18.playerList with a list of players&lt;br /&gt;
sorted by last name.&lt;/div&gt;</summary>
		<author><name>Rich</name></author>
	</entry>
</feed>