mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/14005] Allow extensions control post buttons displaying
PHPBB3-14005
This commit is contained in:
parent
05f1476fc9
commit
9ab4b30739
1 changed files with 2 additions and 1 deletions
|
@ -210,9 +210,10 @@
|
|||
|
||||
<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) -->
|
||||
<!-- EVENT viewtopic_body_post_buttons_list_before -->
|
||||
<!-- IF not S_IS_BOT -->
|
||||
<!-- IF postrow.U_EDIT or postrow.U_DELETE or postrow.U_REPORT or postrow.U_WARN or postrow.U_INFO or postrow.U_QUOTE -->
|
||||
<!-- IF $SHOW_POST_BUTTONS -->
|
||||
<ul class="post-buttons">
|
||||
<!-- EVENT viewtopic_body_post_buttons_before -->
|
||||
<!-- IF postrow.U_EDIT -->
|
||||
|
|
Loading…
Add table
Reference in a new issue