fix js names of bots

This commit is contained in:
gnieark 2015-12-11 13:16:40 +01:00
parent 89b2149045
commit 4bc10371a7

View File

@ -27,11 +27,11 @@ if(!$postParams){
<?php
for($i=0;$i<count($bots);$i++){
if($i==$bot1)
$selected='selected="selected"';
$selected='selected="selected"';
else
$selected='';
$selected='';
echo '<option value="'.$i.'" '.$selected.'>'.$bots[$i]['name'].'</option>';
echo '<option value="'.$i."-".$bots[$i]['name'].'" '.$selected.'>'.$bots[$i]['name'].'</option>';
}
?>
</select>
@ -40,9 +40,10 @@ if(!$postParams){
<?php
for($i=0;$i<count($bots);$i++){
if($i==$bot2)
$selected='selected="selected"';
$selected='selected="selected"';
else
$selected='';
$selected='';
echo '<option value="'.$i."-".$bots[$i]['name'].'" '.$selected.'>'.$bots[$i]['name'].'</option>';
}
?>