move characters link to twig

This commit is contained in:
slawkens 2020-10-27 07:24:21 +01:00
parent 2ba702df21
commit 42a628731d
2 changed files with 1 additions and 2 deletions

View File

@ -412,7 +412,6 @@ WHERE killers.death_id = '".$death['id']."' ORDER BY killers.final_hit DESC, kil
'player_link' => getPlayerLink($player->getName(), false),
'hidden' => $hidden,
'bannedUntil' => isset($bannedUntil) ? $bannedUntil : null,
'characters_link' => getLink('characters'),
'account_players' => isset($account_players) ? $account_players : null,
'search_form' => generate_search_form(),
'canEdit' => hasFlag(FLAG_CONTENT_PLAYERS) || superAdmin()

View File

@ -400,7 +400,7 @@
<td>{% if player.isOnline() %}<b><span style="color: green">Online</span></b>{% endif %}</td>
<td>
<table border="0" cellspacing="0" cellpadding="0">
<form action="{{ characters_link }}" method=post>
<form action="{{ getLink('characters') }}" method=post>
<tr>
<td>
<input type="hidden" name="name" value="{{ player.getName() }}"/>