[ticket/11966] Add header navigation template events to Subsilver2

Add the overall_header_navigation_append / prepend template events
used in Prosilver to subsilver2 as well. This will allow extensions to
add Nav Links to Subsilver2.
http://tracker.phpbb.com/browse/PHPBB3-11966

PHPBB3-11966
This commit is contained in:
Matt Friedman 2013-10-23 11:52:32 -07:00
parent d612041cd1
commit 2ae6f216f6
2 changed files with 8 additions and 2 deletions

View file

@ -124,12 +124,16 @@ overall_header_head_append
overall_header_navigation_append
===
* Location: styles/prosilver/template/overall_header.html
* Locations:
+ styles/prosilver/template/overall_header.html
+ styles/subsilver2/template/overall_header.html
* Purpose: Add links after the navigation links in the header
overall_header_navigation_prepend
===
* Location: styles/prosilver/template/overall_header.html
* Locations:
+ styles/prosilver/template/overall_header.html
+ styles/subsilver2/template/overall_header.html
* Purpose: Add links before the navigation links in the header
posting_editor_options_prepend

View file

@ -198,12 +198,14 @@ function marklist(id, name, state)
<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> &nbsp;<span class="error">{L_BOARD_DISABLED}</span><!-- ENDIF -->
</td>
<td class="genmed" align="{S_CONTENT_FLOW_END}">
<!-- EVENT overall_header_navigation_prepend -->
<a href="{U_FAQ}"><img src="{T_THEME_PATH}/images/icon_mini_faq.gif" width="12" height="13" alt="*" /> {L_FAQ}</a>
<!-- IF S_DISPLAY_SEARCH -->&nbsp; &nbsp;<a href="{U_SEARCH}"><img src="{T_THEME_PATH}/images/icon_mini_search.gif" width="12" height="13" alt="*" /> {L_SEARCH}</a><!-- ENDIF -->
<!-- IF not S_IS_BOT -->
<!-- IF S_DISPLAY_MEMBERLIST -->&nbsp; &nbsp;<a href="{U_MEMBERLIST}"><img src="{T_THEME_PATH}/images/icon_mini_members.gif" width="12" height="13" alt="*" /> {L_MEMBERLIST}</a><!-- ENDIF -->
<!-- IF S_USER_LOGGED_IN -->&nbsp; &nbsp;<a href="{U_PROFILE}"><img src="{T_THEME_PATH}/images/icon_mini_profile.gif" width="12" height="13" alt="*" /> {L_PROFILE}</a><!-- ENDIF -->
<!-- ENDIF -->
<!-- EVENT overall_header_navigation_append -->
</td>
</tr>
</table>