mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 09:44:55 +02:00
* player sex is now configurable
This commit is contained in:
@@ -435,8 +435,8 @@ $account = $player->getAccount();
|
||||
<td>Sex:</td>
|
||||
<td>
|
||||
<select name="sex">
|
||||
<?php foreach(array('female', 'male') as $id => $sex): ?>
|
||||
<option value="<?php echo $id; ?>" <?php echo ($player->getSex() == $id ? 'selected' : ''); ?>><?php echo $sex; ?></option>
|
||||
<?php foreach($config['genders'] as $id => $sex): ?>
|
||||
<option value="<?php echo $id; ?>" <?php echo ($player->getSex() == $id ? 'selected' : ''); ?>><?php echo strtolower($sex); ?></option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
</td>
|
||||
|
Reference in New Issue
Block a user