diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index cc0d5f7a21..db85aaa8f2 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -3304,6 +3304,13 @@ viewtopic_body_postrow_content_after * Since: 3.2.4-RC1 * Purpose: Add content after the message content in topics views +viewtopic_body_postrow_content_before +=== +* Locations: + + styles/prosilver/template/viewtopic_body.html +* Since: 3.3.11-RC1 +* Purpose: Add content before the message content in topics views + viewtopic_body_postrow_custom_fields_after === * Locations: diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html index dc45a8add0..4be2269cd9 100644 --- a/phpBB/styles/prosilver/template/viewtopic_body.html +++ b/phpBB/styles/prosilver/template/viewtopic_body.html @@ -377,6 +377,8 @@ </p> <!-- ENDIF --> + {% EVENT viewtopic_body_postrow_content_before %} + <div class="content">{postrow.MESSAGE}</div> <!-- EVENT viewtopic_body_postrow_content_after -->