{% include 'mcp_header.html' %} {% INCLUDECSS '@phpbb_cannedmessages/cannedmessages.css' %}

{{ lang('MCP_CANNEDMESSAGES_MANAGE') }}

{% if S_CANNEDMESSAGE_ADD_OR_EDIT %}

{{ lang('CANNEDMESSAGES_EXPLAIN_ADD_EDIT') }}

{% if S_ERROR %} {% endif %}
{% if CANNEDMESSAGE_CONTENT_PREVIEW %}
{{ CANNEDMESSAGE_CONTENT_PREVIEW }}
{% endif %}
{{ S_FORM_TOKEN }}
{% else %}

{{ lang('CANNEDMESSAGES_EXPLAIN_MANAGE') }}

{% if loops.parents %} {% endif %}
{% for cannedmessage in loops.cannedmessages %} {% else %} {% endfor %}
{{ lang('CANNEDMESSAGE_NAME') }} {{ lang('ACTIONS') }}
{{ lang('CANNEDMESSAGE_NAME') }}
{% if cannedmessage.U_CANNEDMESSAGE %}{{ cannedmessage.CANNEDMESSAGE_NAME }}{% else %}{{ cannedmessage.CANNEDMESSAGE_NAME }}{% endif %}
{{ lang('ACTIONS') }}
{{ lang('NO_CANNEDMESSAGES') }}
{{ S_FORM_TOKEN }}
{% endif %} {% include 'mcp_footer.html' %} {# include our JS after the footer ensure it is loaded after core ajax.js, which we overrule #} {% INCLUDEJS '@phpbb_cannedmessages/js/cannedmessages_mcp.js' %}