summaryrefslogtreecommitdiffstats
path: root/includes/maps.php
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2011-12-12 23:40:18 -0800
committerPatrick Davison <snapwilliam@gmail.com>2011-12-12 23:40:18 -0800
commitfba0211254059e3fedfb32054c118026c5f2ed3e (patch)
tree6ac330c1473af07aeb5e3438a03797310f0c9384 /includes/maps.php
parenta8360b3f44022d2dfbff9a6a47838cdb52c5dd99 (diff)
downloadpathery-fba0211254059e3fedfb32054c118026c5f2ed3e.tar.xz
Admin page now shows memberlist. Sound volume reduced to 50%. Social networks added to about. Minor adjustments.
Diffstat (limited to 'includes/maps.php')
-rw-r--r--includes/maps.php30
1 files changed, 19 insertions, 11 deletions
diff --git a/includes/maps.php b/includes/maps.php
index 2e80eb1..1f350ad 100644
--- a/includes/maps.php
+++ b/includes/maps.php
@@ -141,13 +141,25 @@ function DisplayMap($mapMatrix, $idprefix = 1, $style = 'normal', $speed = NULL)
if ($example) {
$output = $maptable;
- $output .= "<input id='$idprefix,btn' type='button' onclick='doSend($idprefix)' value='Test' />";
$output .= "
- <div style='display:none;'>
- <input type='checkbox' id='$idprefix,mute' checked='checked' />
- <select id='$idprefix,speed'>
- $rOption
- </select>
+ <div style='display:none'>
+ <select id='$idprefix,speed'>
+ $rOption
+ </select>
+ </div>
+
+ <div class='grid_dsp_left dsp_16'>
+ <input id='$idprefix,btn' type='button' onclick='doSend($idprefix)' value='Test' />
+ </div>
+
+ <div class='grid_dsp_mid dsp_16'>
+ $mutebutton
+ </div>
+
+ <div id='$idprefix,dspbr' class='grid_dsp_right dsp_60'>
+ <div id='$idprefix,dspCount' class='grid_dsp_data'>
+ 0 moves
+ </div>
</div>
";
$output .= $mapdatadiv;
@@ -167,23 +179,19 @@ function DisplayMap($mapMatrix, $idprefix = 1, $style = 'normal', $speed = NULL)
<div style='display:none;'>
<div id='$idprefix,dspID' title='MapID: $idprefix'>
</div>
-
-
</div>
-
<div id='$idprefix,dspbr' class='grid_dsp_left dsp_60'>
<div id='$idprefix,dspCount' class='grid_dsp_data'>
0 moves
</div>
</div>
-
+
<div id='$idprefix,dsptr' class='grid_dsp_right dsp_32'>
<span id='$idprefix,dspWalls' class='grid_dsp_data'>
".$mapdata['walls']." walls
</span>
</div>
-
$maptable