summaryrefslogtreecommitdiffstats
path: root/includes/maps.php
diff options
context:
space:
mode:
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