mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00

Its a salut to nginx and other web server nutzer (not apache), as they can now simply redirect all requests with simple rule to index.php, and php will take care of all redirects. .htaccess just now redirects everything to index.php with simple 3 lines. * change accountmanagement links to use friendly_urls * fixed creating new forum thread * some fixes in account changecomment action * show info when account name/number or password is empty on login * fixed showing account login errors * added new twig function getLink that convert link taking into account config.friendly_urls * internalLayoutLink -> getLink
44 lines
1.4 KiB
Twig
44 lines
1.4 KiB
Twig
To change a name of character select player and choose a new name.<br/>
|
|
<font color="red">Change name cost {{ config.account_change_character_name_points }} premium points. You have {{ points }} premium points.</font><br/><br/>
|
|
<form action="{{ getLink('account/character/name') }}" method="post">
|
|
<input type="hidden" name="changenamesave" value="1">
|
|
<h3>Change Name</h3>
|
|
<table style="width:100%;">
|
|
<tr>
|
|
<td><span >Character:</td>
|
|
<td style="width:90%;" >
|
|
<select name="player_id">
|
|
{% for player in account_logged.getPlayersList() %}
|
|
<option value="{{ player.getId() }}">{{ player.getName() }}</option>
|
|
{% endfor %}
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td ><span>New Name:</td>
|
|
<td>
|
|
<input type="text" name="name" id="name" onkeyup="checkName();" size="25" maxlength="25" >
|
|
<font size="1" face="verdana,arial,helvetica">
|
|
<div id="name_check">Please enter your character name.</div>
|
|
</font>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<input type="submit" name="Submit" value="Submit"/>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
<br/>
|
|
<div style="text-align: center; margin: 0 auto;">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<form action="{{ getLink('account/manage') }}" method="post">
|
|
<tr>
|
|
<td style="border:0px; text-align: center;">
|
|
<input type="submit" name="Back" value="Back"/>
|
|
</td>
|
|
</tr>
|
|
</form>
|
|
</table>
|
|
</div> |