{% include 'overall_header.html' %} {% INCLUDECSS '@phpbbstudio_dice/css/dice_acp.css' %} {% INCLUDEJS '@phpbbstudio_dice/js/dice_acp.js' %} {% from '@phpbbstudio_dice/dice_input.html' import input as input %}

{{ lang('ACP_DICE_SKINS_INSTALLED') }}

{{ SKINS_INSTALLED }}/{{ skins|length }} {{ lang('ACP_DICE_SKINS_SHORT')|lower }}

{{ lang('ACP_DICE_SIDES_AVAILABLE') }}

{{ sides|length }} {{ lang('ACP_DICE_SIDES_SHORT')|lower }}

{{ lang('ACP_DICE_MAX_ROLLS') }}

{{ DICE_MAX_ROLLS }} {{ lang('ACP_DICE_ROLLS_SHORT') }}

{{ lang('ACP_DICE_ROLLS_DB') }}

{{ ROLLS_TOTAL }} {{ lang('ACP_DICE_ROLLS_SHORT') }}

{{ lang('ACP_DICE_TOP_USERS_DESC') }}

{{ lang('ACP_DICE_TOP_USERS') }}

{% if users|length %} {% for users_batch in users|batch(4) %}
{% for user in users_batch %}
{% if user.AVATAR %}{{ user.AVATAR }}{% else %}{% endif %}
{{ user.NAME }}
{% endfor %}
{% endfor %} {% else %}
{{ lang('ACP_DICE_ROLLS_NONE') }}
{% endif %}

{{ lang('ACP_DICE_TOP_TOPICS_DESC') }}

{{ lang('ACP_DICE_TOP_TOPICS') }}

{% if topics|length %} {% for topics_batch in topics|batch(4) %}
{% for topic in topics_batch %} {% endfor %}
{% endfor %} {% else %}
{{ lang('ACP_DICE_ROLLS_NONE') }}
{% endif %}

{{ lang('ACP_DICE_SKINS') }}

{{ lang('ACP_DICE_SKINS_EXPLAIN') }}

{% if SKINS_DIR_ERROR %}

{{ lang('ERROR') }}

{{ lang('DIRECTORY_DOES_NOT_EXIST', SKINS_DIR) }}

{% else %} {% for skin in skins %} {% else %} {% endfor %}
{{ skin.NAME }} {% if skin.S_VALID %}{{ lang('ACP_DICE_VALID') }}{% else %}{{ lang('ACP_DICE_INVALID') }}{% endif %} {% if skin.S_INSTALLED %}{{ lang('ACP_DICE_INSTALLED') }}{% else %}{{ lang('ACP_DICE_INSTALLED_NOT') }}{% endif %} {% if skin.S_INSTALLED %} {% else %} {% endif %}
{{ lang('ACP_DICE_SKINS_NONE') }}
{% endif %}

{{ lang('ACP_DICE_SIDES') }}

{{ lang('ACP_DICE_SIDES_EXPLAIN') }}

{% for row in sides|batch(2) %} {% for side in row %} {% endfor %} {% else %} {% endfor %}
{{ side.NUMBER }}
{{ lang('ACP_DICE_SIDES_NONE') }}

{{ lang('SETTINGS') }}

{{ lang('ACP_DICE_SETTINGS_EXPLAIN') }}
{{ lang('ACP_DICE_SETTINGS_EXAMPLE') }}

{% if S_ERRORS %}

{{ lang('ERROR') }}

{{ ERROR_MSG }}
{% endif %}
{{ lang('ACP_DICE_LOCATIONS') ~ lang('COLON') }}
{{ lang('ACP_DICE_LOCATIONS_DESC') }}
{{ lang('EDIT') }}

{{ input('dice_skins_dir', false, SKINS_DIR, 'folder-open-o', 'text', 0, 255, 'medium') }} {{ input('dice_skins_img_width', false, SKINS_IMG_WIDTH, 'arrows-h', 'number', 16, 80) }} {{ input('dice_skins_img_height', false, SKINS_IMG_HEIGHT, 'arrows-v', 'number', 16, 80) }}

{{ lang('ACP_DICE_SIDES_ONLY_DESC') }}

{{ input('dice_max_rolls', true, DICE_MAX_ROLLS, 'file-text-o', 'number', 0) }} {{ input('dice_per_notation', true, DICE_PER_NOTATION, 'cubes', 'number', 0) }} {{ input('dice_qty_per_dice', true, DICE_QTY_PER_DICE, 'cube', 'number', 0) }} {{ input('dice_qty_dice_per_notation', true, DICE_QTY_DICE_PER_NOTATION, 'cubes', 'number', 0) }} {{ input('dice_sides_per_dice', true, DICE_SIDES_PER_DICE, 'cube', 'number', 0) }} {{ input('dice_pc_dice_per_notation', true, DICE_PC_DICE_PER_NOTATION, 'percent', 'number', 0) }} {{ input('dice_fudge_dice_per_notation', true, DICE_FUDGE_DICE_PER_NOTATION, 'sort', 'number', 0) }} {{ input('dice_exploding_dice_per_notation', true, DICE_EXPLODING_DICE_PER_NOTATION, 'bomb', 'number', 0) }} {{ input('dice_penetration_dice_per_notation', true, DICE_PENETRATION_DICE_PER_NOTATION, 'long-arrow-right', 'number', 0) }} {{ input('dice_compound_dice_per_notation', true, DICE_COMPOUND_DICE_PER_NOTATION, 'exchange', 'number', 0) }}
{{ S_FORM_TOKEN }}
{% include 'overall_footer.html' %}