mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-21 16:22:22 +02:00
[ticket/14146] Add viewtopic_body_post_subject_before event
PHPBB3-14146
This commit is contained in:
parent
8cab2374f9
commit
d507bce98a
@ -2030,6 +2030,14 @@ viewtopic_body_post_buttons_list_before
|
||||
* Purpose: Add post button custom list to posts (next to edit, quote etc),
|
||||
before the original list.
|
||||
|
||||
viewtopic_body_post_subject_before
|
||||
===
|
||||
* Locations:
|
||||
+ styles/prosilver/template/viewtopic_body.html
|
||||
+ styles/subsilver2/template/viewtopic_body.html
|
||||
* Since: 3.1.7-RC1
|
||||
* Purpose: Add data before post icon and subject
|
||||
|
||||
viewtopic_body_postrow_custom_fields_after
|
||||
===
|
||||
* Locations:
|
||||
|
@ -216,6 +216,7 @@
|
||||
<!-- ENDIF -->
|
||||
<div id="post_content{postrow.POST_ID}"<!-- IF postrow.S_POST_HIDDEN --> style="display: none;"<!-- ENDIF -->>
|
||||
|
||||
<!-- EVENT viewtopic_body_post_subject_before -->
|
||||
<h3 <!-- IF postrow.S_FIRST_ROW -->class="first"<!-- ENDIF -->><!-- IF postrow.POST_ICON_IMG --><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><a href="#p{postrow.POST_ID}">{postrow.POST_SUBJECT}</a></h3>
|
||||
|
||||
<!-- DEFINE $SHOW_POST_BUTTONS = (postrow.U_EDIT or postrow.U_DELETE or postrow.U_REPORT or postrow.U_WARN or postrow.U_INFO or postrow.U_QUOTE) -->
|
||||
|
@ -171,6 +171,7 @@
|
||||
<!-- EVENT viewtopic_body_post_author_after -->
|
||||
</td>
|
||||
<!-- EVENT viewtopic_body_postrow_post_details_before -->
|
||||
<!-- EVENT viewtopic_body_post_subject_before -->
|
||||
<td width="100%" height="25">
|
||||
<table width="100%" cellspacing="0">
|
||||
<tr>
|
||||
|
Loading…
x
Reference in New Issue
Block a user