mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
* cache $db->hasTable and $db->hasColumn functions
* changed tableExist and fieldExist to $db->hasTable(table) + $db->hasColumn(table, column) * new configurable: database_log - can log database queries and show in website source when logged as super admin * removed debug_level configurable, enabled by default when logged on super admin * added OTS_Account:getCountry() * added posibility to load OTS_Player partially, and without skills * (internal) changed depracated $ots->createObject() functions with their OTS_ equivalents * (internal) removed unused code
This commit is contained in:
@@ -315,7 +315,7 @@
|
||||
<!-- SIGNATURE_END -->
|
||||
{% endif %}
|
||||
{{ hook(constant('HOOK_CHARACTERS_AFTER_SIGNATURE')) }}
|
||||
{% if hidden != 1 %}
|
||||
{% if not hidden %}
|
||||
{% set rows = 0 %}
|
||||
<!-- ACCOUNT_INFORMATION -->
|
||||
<br/><br/>
|
||||
@@ -324,7 +324,7 @@
|
||||
<td colspan="2" class="white"><b>Account Information</b></td>
|
||||
</tr>
|
||||
|
||||
{% set realName = account.getCustomField('rlname') %}
|
||||
{% set realName = account.getRLName() %}
|
||||
{% if realName is not empty %}
|
||||
{% set rows = rows + 1 %}
|
||||
<tr bgcolor="{{ getStyle(rows) }}">
|
||||
@@ -342,7 +342,7 @@
|
||||
</tr>
|
||||
{% endif %}
|
||||
|
||||
{% set realLocation = account.getCustomField('location') %}
|
||||
{% set realLocation = account.getLocation() %}
|
||||
{% if realLocation is not empty %}
|
||||
{% set rows = rows + 1 %}
|
||||
<tr bgcolor="{{ getStyle(rows) }}">
|
||||
@@ -354,7 +354,7 @@
|
||||
{% set rows = rows + 1 %}
|
||||
<tr bgcolor="{{ getStyle(rows) }}">
|
||||
<td width="20%">Created:</td>
|
||||
<td>{{ account.getCustomField("created")|date("j F Y, g:i a") }}
|
||||
<td>{{ account.getCreated()|date("j F Y, g:i a") }}
|
||||
{% if bannedUntil matches '/^\\d+$/' or bannedUntil == '-1' %}
|
||||
<font color="red">[Banished {% if bannedUntil == '-1' %}forever{% else %}until {{ bannedUntil|date('d F Y, h:s') }}{% endif %}]</font>
|
||||
{% else %}
|
||||
|
Reference in New Issue
Block a user