{% extends 'site.html' %} {% block title %}{{ LANG.STAFF_SETTINGS }}{% endblock %} {% block content %} {% if error_msg != '' %}{{ error_message(error_msg) }}{% endif %} {% if params.1 == 'account_created' %}{{ success_message(LANG.NEW_ACCOUNT_CREATED) }} {% elseif params.1 == 'account_updated' %}{{ success_message(LANG.ACCOUNT_UPDATED) }} {% elseif params.1 == 'account_removed' %}{{ success_message(LANG.ACCOUNT_REMOVED) }} {% endif %}


{% for r in accounts %} {% set tdclass = (tdclass == 'trzebra'?'':'trzebra') %} {% endfor %}
{{ LANG.NAME }} {{ LANG.EMAIL }} {{ LANG.USERNAME }} {{ LANG.ADMINISTRATOR }} {{ LANG.LAST_LOGIN }} {{ LANG.STATUS }}
{{ r.fullname }} {{ r.email }} {{ r.username }} {% if r.admin == 1 %}{{ LANG.YES }}{% else %}{{ LANG.NO }}{% endif %} {% if r.login == 0 %}-{% else %}{{ displayDate(r.login) }}{% endif %} {% if r.status == 'Enable' %}{{ LANG.ACTIVE }}{% else %}{{ LANG.LOCKED }}{% endif %} {% if r.id != staff.id %}{% endif %}
{% endblock %}