{% INCLUDECSS '@phpbb_boardrules/boardrules_controller.css' %} {% INCLUDE 'overall_header.html' %} {% set boardrules_list_tag = S_LIST_UNORDERED ? 'ul' : 'ol' %} {% set boardrules_root_list_style = S_LIST_UNORDERED ? 'disc' : (S_LIST_COMPOUND ? 'compound' : (S_LIST_UNSTYLED ? 'none' : 'decimal')) %} {% if S_CATEGORIES %}

{{ lang('BOARDRULES_CATEGORIES') }}

    {% for rules in loops.rules %} {% if rules.S_IS_CATEGORY %} 1 %} style="padding-{{ S_CONTENT_FLOW_BEGIN }}:{{ (rules.DEPTH - 1) * 8 }}px"{% endif %}> {{ rules.TITLE }} {% endif %} {% endfor %}
{% endif %}

{{ lang('BOARDRULES_HEADER') }}

{{ BOARDRULES_EXPLAIN }}

<{{ boardrules_list_tag }} class="boardrules-list boardrules-rules br-list-style-{{ boardrules_root_list_style }}"> {% for rules in loops.rules %} {% if rules.S_CLOSE_LIST %} {% elseif rules.S_IS_CATEGORY %}
  • {% if S_LIST_COMPOUND %}{{ rules.COMPOUND_NUMBER }}.{% endif %}

    {{ rules.TITLE }}

    {% set list_style_cycle = rules.DEPTH % 3 %} {% if S_LIST_UNORDERED %} {% set nested_list_style = list_style_cycle == 0 ? 'disc' : (list_style_cycle == 1 ? 'circle' : 'square') %} {% elseif S_LIST_COMPOUND %} {% set nested_list_style = 'compound' %} {% elseif S_LIST_UNSTYLED %} {% set nested_list_style = 'none' %} {% else %} {% set nested_list_style = list_style_cycle == 0 ? 'decimal' : (list_style_cycle == 1 ? 'lower-alpha' : 'lower-roman') %} {% endif %} <{{ boardrules_list_tag }} class="boardrules-list br-list-style-{{ nested_list_style }}{{ rules.DEPTH >= 6 ? ' br-list-depth-capped' }}"> {% else %}
  • {% if S_LIST_COMPOUND %}{{ rules.COMPOUND_NUMBER }}.{% endif %} {{ rules.MESSAGE }} #
  • {% endif %} {% endfor %}
    {% INCLUDEJS '@phpbb_boardrules/boardrules_controller.js' %} {% INCLUDE 'overall_footer.html' %}