diff options
author | Matt Friedman <maf675@gmail.com> | 2013-12-03 17:20:32 -0800 |
---|---|---|
committer | Matt Friedman <maf675@gmail.com> | 2013-12-03 17:20:32 -0800 |
commit | 186f3ecb7e8747f09facd96f47a89faa003d25a3 (patch) | |
tree | ea4d4a89f19e8d2ec205070ebc1ac07e7216180a | |
parent | 8a6d01591bfb07e3ffb17572609cb5a507c7fa7a (diff) | |
download | forums-186f3ecb7e8747f09facd96f47a89faa003d25a3.tar forums-186f3ecb7e8747f09facd96f47a89faa003d25a3.tar.gz forums-186f3ecb7e8747f09facd96f47a89faa003d25a3.tar.bz2 forums-186f3ecb7e8747f09facd96f47a89faa003d25a3.tar.xz forums-186f3ecb7e8747f09facd96f47a89faa003d25a3.zip |
[ticket/12054] Update index_body_linklist_before/after template events
PHPBB3-12054
-rw-r--r-- | phpBB/docs/events.md | 12 | ||||
-rw-r--r-- | phpBB/styles/prosilver/template/index_body.html | 4 | ||||
-rw-r--r-- | phpBB/styles/subsilver2/template/index_body.html | 4 |
3 files changed, 16 insertions, 4 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 288ebb933e..1468e86bc3 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -54,13 +54,21 @@ forumlist_body_last_post_title_prepend * Since: 3.1.0-a1 * Purpose: Add content before the post title of the latest post in a forum on the forum list. -index_body_forumlist_before +index_body_linklist_before === * Locations: + styles/prosilver/template/index_body.html + styles/subsilver2/template/index_body.html * Since: 3.1.0-a3 -* Purpose: Add content above the forums list (on forum index only) +* Purpose: Add content above the forums list (on forum index only, before linklist) + +index_body_linklist_after +=== +* Locations: + + styles/prosilver/template/index_body.html + + styles/subsilver2/template/index_body.html +* Since: 3.1.0-a3 +* Purpose: Add content above the forums list (on forum index only, after linklist) index_body_stat_blocks_before === diff --git a/phpBB/styles/prosilver/template/index_body.html b/phpBB/styles/prosilver/template/index_body.html index bd640fd63f..58a5420db3 100644 --- a/phpBB/styles/prosilver/template/index_body.html +++ b/phpBB/styles/prosilver/template/index_body.html @@ -3,6 +3,8 @@ <p class="{S_CONTENT_FLOW_END} responsive-center<!-- IF S_USER_LOGGED_IN --> rightside<!-- ENDIF -->"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ELSE -->{CURRENT_TIME}<!-- ENDIF --></p> <!-- IF S_USER_LOGGED_IN --><p class="responsive-center">{CURRENT_TIME}<!-- IF U_MCP or U_ACP --> <br />[ <!-- IF U_ACP --><a href="{U_ACP}" title="{L_ACP}" data-responsive-text="{L_ACP_SHORT}">{L_ACP}</a><!-- IF U_MCP --> | <!-- ENDIF --><!-- ENDIF --><!-- IF U_MCP --><a href="{U_MCP}" title="{L_MCP}" data-responsive-text="{L_MCP_SHORT}">{L_MCP}</a><!-- ENDIF --> ]<!-- ENDIF --></p><!-- ENDIF --> +<!-- EVENT index_body_linklist_before --> + <!-- IF S_DISPLAY_SEARCH or (S_USER_LOGGED_IN and not S_IS_BOT) --> <ul class="linklist bulletin"> <!-- IF S_DISPLAY_SEARCH --> @@ -19,7 +21,7 @@ </ul> <!-- ENDIF --> -<!-- EVENT index_body_forumlist_before --> +<!-- EVENT index_body_linklist_after --> <!-- INCLUDE forumlist_body.html --> diff --git a/phpBB/styles/subsilver2/template/index_body.html b/phpBB/styles/subsilver2/template/index_body.html index 00c328e994..763028966f 100644 --- a/phpBB/styles/subsilver2/template/index_body.html +++ b/phpBB/styles/subsilver2/template/index_body.html @@ -1,5 +1,7 @@ <!-- INCLUDE overall_header.html --> +<!-- EVENT index_body_linklist_before --> + <!-- IF U_MCP or U_ACP --> <div id="pageheader"> <p class="linkmcp">[ <!-- IF U_ACP --><a href="{U_ACP}">{L_ACP}</a><!-- IF U_MCP --> | <!-- ENDIF --><!-- ENDIF --><!-- IF U_MCP --><a href="{U_MCP}">{L_MCP}</a><!-- ENDIF --> ]</p> @@ -8,7 +10,7 @@ <br clear="all" /><br /> <!-- ENDIF --> -<!-- EVENT index_body_forumlist_before --> +<!-- EVENT index_body_linklist_after --> <!-- INCLUDE forumlist_body.html --> |