{{ SUBJECT }}
{% if U_EMAIL_PM %}
{{ L_EMAIL_PM }}
{% endif %}
{% if U_PRINT_PM %}
{{ L_PRINT_PM }}
{% endif %}
{% set SHOW_PM_POST_BUTTONS = (U_EDIT or U_DELETE or U_REPORT or U_QUOTE) %}
{% EVENT ucp_pm_viewmessage_post_buttons_list_before %}
{% if $SHOW_PM_POST_BUTTONS %}
{% EVENT ucp_pm_viewmessage_post_buttons_before %}
{% if U_EDIT %}
{{ L_POST_EDIT_PM }}
{% endif %}
{% if U_DELETE %}
{{ L_DELETE_MESSAGE }}
{% endif %}
{% if U_REPORT %}
{{ L_REPORT_PM }}
{% endif %}
{% if U_QUOTE %}
{{ L_POST_QUOTE_PM }}
{% endif %}
{% EVENT ucp_pm_viewmessage_post_buttons_after %}
{% endif %}
{% EVENT ucp_pm_viewmessage_post_buttons_list_after %}
{{ SENT_DATE }}
{% if AUTHOR_AVATAR %}
{{ AUTHOR_AVATAR }}
{% else %}
{% endif %}
{{ L_PM_FROM }}{{ L_COLON }} {{ MESSAGE_AUTHOR_FULL }}
{% if S_TO_RECIPIENT %}
{{ L_TO }}{{ L_COLON }}
{% for to_recipient in to_recipient %}
{% if to_recipient.NAME_FULL %}
{{ to_recipient.NAME_FULL }} -
{% else %}
{{ to_recipient.NAME }}
{% endif %}
{% endfor %}
{% endif %}
{% if S_BCC_RECIPIENT %}
{{ L_BCC }}{{ L_COLON }}
{% for bcc_recipient in bcc_recipient %}
{% if bcc_recipient.NAME_FULL %}
{{ bcc_recipient.NAME_FULL }} -
{% else %}
{{ bcc_recipient.NAME }}
{% endif %}
{% endfor %}
{% endif %}
{% if U_PM %}
{{ L_PRIVATE_MESSAGE }}
{% endif %}
{{ L_USER_MINI_PROFILE }}
{% EVENT ucp_pm_viewmessage_avatar_before %}
{% if AUTHOR_AVATAR %}
{{ AUTHOR_AVATAR }}
{% else %}
{% endif %}
{% EVENT ucp_pm_viewmessage_avatar_after %}
{% EVENT ucp_pm_viewmessage_rank_before %}
{% if RANK_IMG %}
{{ RANK_IMG }}
{% endif %}
{% EVENT ucp_pm_viewmessage_rank_after %}
{{ MESSAGE_AUTHOR_FULL }}
-
{% if RANK_TITLE %}
- {{ L_RANK }}{{ L_COLON }} {{ RANK_TITLE }} {% endif %}
- {{ L_POSTS }}{{ L_COLON }} {{ AUTHOR_POSTS }} {% if AUTHOR_JOINED %}
- {{ L_JOINED }}{{ L_COLON }} {{ AUTHOR_JOINED }} {% endif %}
- {{ L_USER_STATUS }}{{ L_COLON }}{% if S_ONLINE %} {{ L_ONLINE }}{% else %} {{ L_OFF_LINE }}{% endif %} {% EVENT ucp_pm_viewmessage_custom_fields_before %} {% for custom_fields in custom_fields %} {% if not custom_fields.S_PROFILE_CONTACT %}
- {{ custom_fields.PROFILE_FIELD_NAME }}{{ L_COLON }} {{ custom_fields.PROFILE_FIELD_VALUE }} {% endif %} {% endfor %} {% EVENT ucp_pm_viewmessage_custom_fields_after %}
-
{% for contact in contact %}
- {{ contact.NAME }} {% endfor %}
{{ MESSAGE }}
{% if S_HAS_ATTACHMENTS %}
{{ L_ATTACHMENTS }}
{% EVENT ss_ucp_pm_viewmessage_attachment_row_before %} {% for attachment in attachment %}{{ attachment.DISPLAY_ATTACHMENT }}{% endfor %} {% EVENT ss_ucp_pm_viewmessage_attachment_row_after %}
{{ L_DOWNLOAD_NOTICE }}
{% endif %}
{% if EDITED_MESSAGE or EDIT_REASON %}
{{ EDITED_MESSAGE }}
{% if EDIT_REASON %}
{% endif %}
{% if SIGNATURE %}
{{ L_REASON }}{{ L_COLON }} {{ EDIT_REASON }}
{% endif %}
{{ SIGNATURE }}
{% endif %}