mirror of
https://github.com/slawkens/myaac.git
synced 2025-05-02 04:09:21 +02:00
Show First, Second instead of numbers
This commit is contained in:
parent
070b04afa9
commit
6b54ac65ca
@ -634,9 +634,9 @@ else if (isset($_REQUEST['search'])) {
|
|||||||
<label for="look_addons" class="control-label">Addons:</label>
|
<label for="look_addons" class="control-label">Addons:</label>
|
||||||
<select name="look_addons" id="look_addons" class="form-control custom-select">
|
<select name="look_addons" id="look_addons" class="form-control custom-select">
|
||||||
<?php
|
<?php
|
||||||
$addon_type = array(0, 1, 2, 3);
|
$addon_type = array("None", "First", "Second", "Both");
|
||||||
foreach ($addon_type as $id => $s_name) {
|
foreach ($addon_type as $id => $s_name) {
|
||||||
echo '<option value=' . $s_name . ($id == $player->getLookAddons() ? ' selected' : '') . '>' . $s_name . '</option>';
|
echo '<option value=' . $id . ($id == $player->getLookAddons() ? ' selected' : '') . '>' . $s_name . '</option>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</select>
|
</select>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user