diff options
author | Matt Friedman <maf675@gmail.com> | 2013-10-23 11:52:32 -0700 |
---|---|---|
committer | Matt Friedman <maf675@gmail.com> | 2013-10-23 11:52:32 -0700 |
commit | 2ae6f216f66466a1851f52cbc9839e3405525981 (patch) | |
tree | 3e4c2764571b3ea5c75f436cc98a2366cfa5782c /phpBB | |
parent | d612041cd19d5bea7d08f80a2d952123699aa30e (diff) | |
download | forums-2ae6f216f66466a1851f52cbc9839e3405525981.tar forums-2ae6f216f66466a1851f52cbc9839e3405525981.tar.gz forums-2ae6f216f66466a1851f52cbc9839e3405525981.tar.bz2 forums-2ae6f216f66466a1851f52cbc9839e3405525981.tar.xz forums-2ae6f216f66466a1851f52cbc9839e3405525981.zip |
[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
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/docs/events.md | 8 | ||||
-rw-r--r-- | phpBB/styles/subsilver2/template/overall_header.html | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index bef4727149..075aecf3b7 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -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 diff --git a/phpBB/styles/subsilver2/template/overall_header.html b/phpBB/styles/subsilver2/template/overall_header.html index a82a640447..702c8ff0c1 100644 --- a/phpBB/styles/subsilver2/template/overall_header.html +++ b/phpBB/styles/subsilver2/template/overall_header.html @@ -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 --> </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 --> <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 --> <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 --> <!-- ENDIF --> + <!-- EVENT overall_header_navigation_append --> </td> </tr> </table> |