diff options
| author | rxu <rxu@mail.ru> | 2015-07-12 20:41:28 +0700 |
|---|---|---|
| committer | rxu <rxu@mail.ru> | 2015-07-12 20:41:28 +0700 |
| commit | 9ab4b3073948ac488a7486f7201efe92bd77f447 (patch) | |
| tree | 0cd4f85818a4224f722d8bf30cc46f2dc8951b41 /phpBB/styles/prosilver | |
| parent | 05f1476fc99e1c3c5142cf228b00b48b4e0e133e (diff) | |
| download | forums-9ab4b3073948ac488a7486f7201efe92bd77f447.tar forums-9ab4b3073948ac488a7486f7201efe92bd77f447.tar.gz forums-9ab4b3073948ac488a7486f7201efe92bd77f447.tar.bz2 forums-9ab4b3073948ac488a7486f7201efe92bd77f447.tar.xz forums-9ab4b3073948ac488a7486f7201efe92bd77f447.zip | |
[ticket/14005] Allow extensions control post buttons displaying
PHPBB3-14005
Diffstat (limited to 'phpBB/styles/prosilver')
| -rw-r--r-- | phpBB/styles/prosilver/template/viewtopic_body.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html index e976c36f7b..3d3cd13905 100644 --- a/phpBB/styles/prosilver/template/viewtopic_body.html +++ b/phpBB/styles/prosilver/template/viewtopic_body.html @@ -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 --> |
