aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZoddo <zoddo.ino@gmail.com>2015-07-21 16:22:37 +0200
committerZoddo <zoddo.ino@gmail.com>2015-07-21 16:33:45 +0200
commit7e21d1dab5a34932f1405db4e836dcdf708f8ff8 (patch)
treec323b8a823ec0f3e13798cca02e046ebed79bfd4
parent3768f7f2b8ff9dc5915385047e6b195d46de7503 (diff)
downloadforums-7e21d1dab5a34932f1405db4e836dcdf708f8ff8.tar
forums-7e21d1dab5a34932f1405db4e836dcdf708f8ff8.tar.gz
forums-7e21d1dab5a34932f1405db4e836dcdf708f8ff8.tar.bz2
forums-7e21d1dab5a34932f1405db4e836dcdf708f8ff8.tar.xz
forums-7e21d1dab5a34932f1405db4e836dcdf708f8ff8.zip
[ticket/14041] Add viewtopic_dropdown_*_custom template event
Allows an extension to create a custom dropdown menu. PHPBB3-14041 PHPBB3-14042
-rw-r--r--phpBB/docs/events.md14
-rw-r--r--phpBB/styles/prosilver/template/viewtopic_body.html3
2 files changed, 17 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md
index 46bd85a3bc..f73a03056f 100644
--- a/phpBB/docs/events.md
+++ b/phpBB/docs/events.md
@@ -1523,6 +1523,20 @@ viewtopic_buttons_top_after
* Since: 3.1.0-RC5
* Purpose: Add buttons after Post Reply button on the top of the posts's list
+viewtopic_dropdown_bottom_custom
+===
+* Locations:
+ + styles/prosilver/template/viewtopic_body.html
+* Since: 3.1.6-RC1
+* Purpose: Create a custom dropdown menu
+
+viewtopic_dropdown_top_custom
+===
+* Locations:
+ + styles/prosilver/template/viewtopic_body.html
+* Since: 3.1.6-RC1
+* Purpose: Create a custom dropdown menu
+
viewforum_forum_name_append
===
* Locations:
diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html
index e976c36f7b..c69b9cfd1c 100644
--- a/phpBB/styles/prosilver/template/viewtopic_body.html
+++ b/phpBB/styles/prosilver/template/viewtopic_body.html
@@ -40,6 +40,7 @@
</div>
<!-- INCLUDE viewtopic_topic_tools.html -->
+ <!-- EVENT viewtopic_dropdown_top_custom -->
<!-- IF S_DISPLAY_SEARCHBOX -->
<div class="search-box" role="search">
@@ -375,6 +376,8 @@
</div>
</div>
<!-- ENDIF -->
+
+ <!-- EVENT viewtopic_dropdown_bottom_custom -->
<!-- IF .pagination or TOTAL_POSTS -->
<div class="pagination">