[ticket/14041] Add viewtopic_dropdown_*_custom template event

Allows an extension to create a custom dropdown menu.

PHPBB3-14041
PHPBB3-14042
This commit is contained in:
Zoddo 2015-07-21 16:22:37 +02:00
parent 3768f7f2b8
commit 7e21d1dab5
2 changed files with 17 additions and 0 deletions

View file

@ -1523,6 +1523,20 @@ viewtopic_buttons_top_after
* Since: 3.1.0-RC5 * Since: 3.1.0-RC5
* Purpose: Add buttons after Post Reply button on the top of the posts's list * 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 viewforum_forum_name_append
=== ===
* Locations: * Locations:

View file

@ -40,6 +40,7 @@
</div> </div>
<!-- INCLUDE viewtopic_topic_tools.html --> <!-- INCLUDE viewtopic_topic_tools.html -->
<!-- EVENT viewtopic_dropdown_top_custom -->
<!-- IF S_DISPLAY_SEARCHBOX --> <!-- IF S_DISPLAY_SEARCHBOX -->
<div class="search-box" role="search"> <div class="search-box" role="search">
@ -375,6 +376,8 @@
</div> </div>
</div> </div>
<!-- ENDIF --> <!-- ENDIF -->
<!-- EVENT viewtopic_dropdown_bottom_custom -->
<!-- IF .pagination or TOTAL_POSTS --> <!-- IF .pagination or TOTAL_POSTS -->
<div class="pagination"> <div class="pagination">