Extensions

This commit is contained in:
Gauvain Boiché
2020-04-04 23:28:30 +02:00
parent 3a964fe237
commit 155e626426
286 changed files with 10757 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
{% if DICE_ROLLS_OUTLINE|length %}
<dl class="attachbox dice-box">
<dt>
<i class="icon fa-cube fa-fw" aria-hidden="true"></i>
{{ lang('DICE_ROLLS') }}
</dt>
{% for roll in DICE_ROLLS_OUTLINE %}
<dd>{{ roll }}</dd>
{% endfor %}
</dl>
{% endif %}

View File

@@ -0,0 +1,12 @@
{% if postrow.DICE_ROLLS_OUTLINE|length %}
<dl class="attachbox dice-box">
<dt>
<i class="icon fa-cube fa-fw" aria-hidden="true"></i>
{{ lang('DICE_ROLLS') }}
</dt>
{% for roll in postrow.DICE_ROLLS_OUTLINE %}
<dd>{{ roll }}</dd>
{% endfor %}
</dl>
{% endif %}

View File

@@ -0,0 +1,8 @@
{# Use same if statement as logged in #}
{% if S_DICE_NAVBAR_HEADER_USER_PROFILE_APPEND %}
<li class="rightside" data-skip-responsive="true">
<a href="{{ path('phpbbstudio_dice') }}" title="{{ lang('DICE_DICE') }}" role="menuitem">
<i class="icon fa-cube fa-fw" aria-hidden="true"></i><span>{{ lang('DICE_DICE') }}</span>
</a>
</li>
{% endif %}

View File

@@ -0,0 +1,7 @@
{% if S_DICE_NAVBAR_HEADER_QUICK_LINKS_AFTER %}
<li>
<a href="{{ path('phpbbstudio_dice') }}" title="{{ lang('DICE_DICE') }}" role="menuitem">
<i class="icon fa-cube fa-fw" aria-hidden="true"></i><span>{{ lang('DICE_DICE') }}</span>
</a>
</li>
{% endif %}

View File

@@ -0,0 +1,7 @@
{% if S_DICE_NAVBAR_HEADER_QUICK_LINKS_BEFORE %}
<li>
<a href="{{ path('phpbbstudio_dice') }}" title="{{ lang('DICE_DICE') }}" role="menuitem">
<i class="icon fa-cube fa-fw" aria-hidden="true"></i><span>{{ lang('DICE_DICE') }}</span>
</a>
</li>
{% endif %}

View File

@@ -0,0 +1,7 @@
{% if S_DICE_NAVBAR_HEADER_USER_PROFILE_APPEND %}
<li class="rightside" data-skip-responsive="true">
<a href="{{ path('phpbbstudio_dice') }}" title="{{ lang('DICE_DICE') }}" role="menuitem">
<i class="icon fa-cube fa-fw" aria-hidden="true"></i><span>{{ lang('DICE_DICE') }}</span>
</a>
</li>
{% endif %}

View File

@@ -0,0 +1,7 @@
{% if S_DICE_OVERALL_FOOTER_BREADCRUMB_APPEND %}
<span class="crumb">
<a href="{{ path('phpbbstudio_dice') }}" title="{{ lang('DICE_DICE') }}" role="menuitem">
<i class="icon fa-cube fa-fw" aria-hidden="true"></i><span>{{ lang('DICE_DICE') }}</span>
</a>
</span>
{% endif %}

View File

@@ -0,0 +1,7 @@
{% if S_DICE_OVERALL_FOOTER_TEAMLINK_AFTER %}
<li class="rightside" data-last-responsive="true">
<a href="{{ path('phpbbstudio_dice') }}" title="{{ lang('DICE_DICE') }}" role="menuitem">
<i class="icon fa-cube fa-fw" aria-hidden="true"></i><span>{{ lang('DICE_DICE') }}</span>
</a>
</li>
{% endif %}

View File

@@ -0,0 +1,7 @@
{% if S_DICE_OVERALL_FOOTER_TEAMLINK_BEFORE %}
<li class="rightside" data-last-responsive="true">
<a href="{{ path('phpbbstudio_dice') }}" title="{{ lang('DICE_DICE') }}" role="menuitem">
<i class="icon fa-cube fa-fw" aria-hidden="true"></i><span>{{ lang('DICE_DICE') }}</span>
</a>
</li>
{% endif %}

View File

@@ -0,0 +1,7 @@
{% if S_DICE_OVERALL_FOOTER_TIMEZONE_AFTER %}
<li class="rightside">
<a href="{{ path('phpbbstudio_dice') }}" title="{{ lang('DICE_DICE') }}" role="menuitem">
<i class="icon fa-cube fa-fw" aria-hidden="true"></i><span>{{ lang('DICE_DICE') }}</span>
</a>
</li>
{% endif %}

View File

@@ -0,0 +1,7 @@
{% if S_DICE_OVERALL_FOOTER_TIMEZONE_BEFORE %}
<li class="rightside">
<a href="{{ path('phpbbstudio_dice') }}" title="{{ lang('DICE_DICE') }}" role="menuitem">
<i class="icon fa-cube fa-fw" aria-hidden="true"></i><span>{{ lang('DICE_DICE') }}</span>
</a>
</li>
{% endif %}

View File

@@ -0,0 +1,11 @@
{% if S_DICE_MCP_DISPLAY %}
{% if not definition.INCLUDED_DICEDISPLAYCSS %}
{% INCLUDECSS '@phpbbstudio_dice/dice_display.css' %}
{% DEFINE INCLUDED_DICEDISPLAYCSS = true %}
{% endif %}
{% if not definition.INCLUDED_DICEDISPLAYJS %}
{% INCLUDEJS '@phpbbstudio_dice/js/dice_display.js' %}
{% DEFINE INCLUDED_DICEDISPLAYJS = true %}
{% endif %}
{% endif %}

View File

@@ -0,0 +1,7 @@
{% if S_DICE_OVERALL_HEADER_NAVIGATION_APPEND %}
<li data-last-responsive="true">
<a href="{{ path('phpbbstudio_dice') }}" title="{{ lang('DICE_DICE') }}" role="menuitem">
<i class="icon fa-cube fa-fw" aria-hidden="true"></i><span>{{ lang('DICE_DICE') }}</span>
</a>
</li>
{% endif %}

View File

@@ -0,0 +1,7 @@
{% if S_DICE_OVERALL_HEADER_NAVIGATION_PREPEND %}
<li data-last-responsive="true">
<a href="{{ path('phpbbstudio_dice') }}" title="{{ lang('DICE_DICE') }}" role="menuitem">
<i class="icon fa-cube fa-fw" aria-hidden="true"></i><span>{{ lang('DICE_DICE') }}</span>
</a>
</li>
{% endif %}

View File

@@ -0,0 +1,6 @@
{% if S_DICE_ENABLED and (S_ROLL_ADD or S_ROLL_DELETE or S_ROLL_EDIT) %}
{# The Dice Rolls tab below the posting editor #}
<li id="dice-panel-tab" class="tab">
<a href="#dice" data-subpanel="dice-panel" role="tab" aria-controls="dice-panel">{{ lang('DICE_ROLLS') }}</a>
</li>
{% endif %}

View File

@@ -0,0 +1,3 @@
{% if S_DICE_ENABLED and (S_ROLL_ADD or S_ROLL_DELETE or S_ROLL_EDIT) %}
{% include '@phpbbstudio_dice/dice_posting.html' %}
{% endif %}

View File

@@ -0,0 +1,12 @@
{% if topic_review_row.DICE_ROLLS_OUTLINE|length %}
<dl class="attachbox dice-box">
<dt>
<i class="icon fa-cube fa-fw" aria-hidden="true"></i>
{{ lang('DICE_ROLLS') }}
</dt>
{% for roll in topic_review_row.DICE_ROLLS_OUTLINE %}
<dd>{{ roll }}</dd>
{% endfor %}
</dl>
{% endif %}

View File

@@ -0,0 +1,12 @@
{% if postrow.DICE_ROLLS_OUTLINE|length %}
<dl class="attachbox dice-box">
<dt>
<i class="icon fa-cube fa-fw" aria-hidden="true"></i>
{{ lang('DICE_ROLLS') }}
</dt>
{% for roll in postrow.DICE_ROLLS_OUTLINE %}
<dd>{{ roll }}</dd>
{% endfor %}
</dl>
{% endif %}

View File

@@ -0,0 +1,5 @@
{% if S_DICE_DISPLAY %}
{% INCLUDECSS '@phpbbstudio_dice/dice_display.css' %}
{% INCLUDEJS '@phpbbstudio_dice/js/dice_display.js' %}
{% endif %}