mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[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:
parent
d612041cd1
commit
2ae6f216f6
2 changed files with 8 additions and 2 deletions
|
@ -124,12 +124,16 @@ overall_header_head_append
|
||||||
|
|
||||||
overall_header_navigation_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
|
* Purpose: Add links after the navigation links in the header
|
||||||
|
|
||||||
overall_header_navigation_prepend
|
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
|
* Purpose: Add links before the navigation links in the header
|
||||||
|
|
||||||
posting_editor_options_prepend
|
posting_editor_options_prepend
|
||||||
|
|
|
@ -198,12 +198,14 @@ function marklist(id, name, state)
|
||||||
<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> <span class="error">{L_BOARD_DISABLED}</span><!-- ENDIF -->
|
<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> <span class="error">{L_BOARD_DISABLED}</span><!-- ENDIF -->
|
||||||
</td>
|
</td>
|
||||||
<td class="genmed" align="{S_CONTENT_FLOW_END}">
|
<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>
|
<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 --> <a href="{U_SEARCH}"><img src="{T_THEME_PATH}/images/icon_mini_search.gif" width="12" height="13" alt="*" /> {L_SEARCH}</a><!-- ENDIF -->
|
<!-- IF S_DISPLAY_SEARCH --> <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 not S_IS_BOT -->
|
||||||
<!-- IF S_DISPLAY_MEMBERLIST --> <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_DISPLAY_MEMBERLIST --> <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 --> <a href="{U_PROFILE}"><img src="{T_THEME_PATH}/images/icon_mini_profile.gif" width="12" height="13" alt="*" /> {L_PROFILE}</a><!-- ENDIF -->
|
<!-- IF S_USER_LOGGED_IN --> <a href="{U_PROFILE}"><img src="{T_THEME_PATH}/images/icon_mini_profile.gif" width="12" height="13" alt="*" /> {L_PROFILE}</a><!-- ENDIF -->
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
<!-- EVENT overall_header_navigation_append -->
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Add table
Reference in a new issue