mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 09:19:22 +02:00

* edited account.management.html.twig to fit modern templates, tibiacom have its own template * sample characters are now assigned to admin account and have group_id 4 to not be shown on highscores * fixed database pages loading * added require.database plugin option, which will prove if DATABASE_VERSION is enough
27 lines
957 B
Twig
27 lines
957 B
Twig
<table class="table" width="100%" cellspacing="1" cellpadding="4">
|
|
<tr>
|
|
<th><b>Name</b></th>
|
|
<th><b>Title</b></th>
|
|
<th><b>Options</b></th>
|
|
</tr>
|
|
{% for page in pages %}
|
|
<tr>
|
|
<td>{{ page.link|raw }}</td>
|
|
<td><i>{{ page.title }}</i></td>
|
|
<td>
|
|
<a href="?p=pages&action=edit&id={{ page.id }}" class="ico" title="Edit">
|
|
<img src="{{ constant('BASE_URL') }}images/edit.png"/>
|
|
Edit
|
|
</a>
|
|
<a href="?p=pages&action=delete&id={{ page.id }}" class="ico" onclick="return confirm('Are you sure?');" title="Delete">
|
|
<img src="{{ constant('BASE_URL') }}images/del.png"/>
|
|
Delete
|
|
</a>
|
|
<a href="?p=pages&action=hide&id={{ page.id }}" class="ico" title="<?php echo ($_page['hidden'] != 1 ? 'Hide' : 'Show'); ?>">
|
|
<img src="{{ constant('BASE_URL') }}images/{% if page.hidden != 1 %}success{% else %}error{% endif %}.png"/>
|
|
{% if page.hidden != 1 %}Hide{% else %}Show{% endif %}
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table> |