* configurable if deleted characters from account should be listed (this closes #49)

This commit is contained in:
slawkens 2018-06-06 21:17:41 +02:00
parent 915e9409dc
commit 2333180c50
2 changed files with 3 additions and 2 deletions

View File

@ -212,7 +212,8 @@ $config = array(
'quests' => true,
'skills' => true,
'equipment' => true,
'frags' => false
'frags' => false,
'deleted' => false, // should deleted characters from same account be still listed on the list of characters? When enabled it will show that character is "[DELETED]"
),
'quests' => array(), // quests list (displayed in character view), name => storage
'signature_enabled' => true,

View File

@ -380,7 +380,7 @@
</tr>
{% set i = 0 %}
{% for player in account_players %}
{% if not player.isHidden() %}
{% if not player.isHidden() and (config('characters')['deleted'] or not player.isDeleted()) %}
{% set i = i + 1 %}
<tr bgcolor="{{ getStyle(i) }}">
<td>