Skip to content

Commit

Permalink
Update for phpBB 3.1.8
Browse files Browse the repository at this point in the history
[ticket/14289] rename event
[ticket/14374] Update dynamic fallback jquery CDN script tag
[ticket/14356] Add template events to viewtopic around back2top link
  • Loading branch information
Sajaki authored and Sajaki committed Mar 5, 2016
1 parent 5880678 commit c99f592
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ For more information and support, we suggest you visit

### Changes

3.0.7 (05-3-2016)
- updated for phpbb 3.1.8

3.0.6 (05-3-2016)
- updated for phpbb 3.1.7

Expand Down
4 changes: 3 additions & 1 deletion pbtech/template/navbar_header.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
<!-- EVENT overall_header_navigation_append -->

<!-- IF S_REGISTERED_USER -->
<!-- EVENT navbar_header_user_profile_prepend -->
<li id="username_logged_in" class="rightside <!-- IF CURRENT_USER_AVATAR --> no-bulletin<!-- ENDIF -->" data-skip-responsive="true">
<!-- EVENT navbar_header_username_prepend -->
<div class="header-profile dropdown-container">
Expand All @@ -67,8 +68,8 @@
</ul>
</div>
</div>
<!-- EVENT navbar_header_username_append -->
</li>
<!-- EVENT navbar_header_username_append -->
<!-- IF S_DISPLAY_PM -->
<li class="small-icon icon-pm rightside" data-skip-responsive="true">
<a href="{U_PRIVATEMSGS}" role="menuitem"><span>{L_PRIVATE_MESSAGES} [</span><strong>{PRIVATE_MESSAGE_COUNT}</strong><span>]</span></a>
Expand All @@ -80,6 +81,7 @@
<!-- INCLUDE notification_dropdown.html -->
</li>
<!-- ENDIF -->
<!-- EVENT navbar_header_user_profile_append -->
<!-- ELSE -->
<li class="small-icon icon-logout rightside" data-skip-responsive="true"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x" role="menuitem">{L_LOGIN_LOGOUT}</a></li>
<!-- IF S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) -->
Expand Down
3 changes: 2 additions & 1 deletion pbtech/template/overall_footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ <h3 class="alert_title">&nbsp;</h3><p class="alert_text"></p>
</div>

<script src="{T_JQUERY_LINK}"></script>
<!-- IF S_ALLOW_CDN --><script>window.jQuery || document.write(unescape('%3Cscript src="{T_ASSETS_PATH}/javascript/jquery.min.js?assets_version={T_ASSETS_VERSION}" type="text/javascript"%3E%3C/script%3E'));</script><!-- ENDIF -->
<!-- IF S_ALLOW_CDN --><script type="text/javascript">window.jQuery || document.write('\x3Cscript src="{T_ASSETS_PATH}/javascript/jquery.min.js?assets_version={T_ASSETS_VERSION}">\x3C/script>');</script><!-- ENDIF -->

<script src="{T_ASSETS_PATH}/javascript/core.js?assets_version={T_ASSETS_VERSION}"></script>
<!-- INCLUDEJS forum_fn.js -->
<!-- INCLUDEJS ajax.js -->
Expand Down
4 changes: 3 additions & 1 deletion pbtech/template/viewtopic_body.html
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,9 @@ <h3 <!-- IF postrow.S_FIRST_ROW -->class="first"<!-- ENDIF -->><!-- IF postrow.P

</div>

<div class="back2top"><a href="#top" class="top" title="{L_BACK_TO_TOP}">{L_BACK_TO_TOP}</a></div>
<!-- EVENT viewtopic_body_postrow_back2top_before -->
<div class="back2top"><!-- EVENT viewtopic_body_postrow_back2top_prepend --><a href="#top" class="top" title="{L_BACK_TO_TOP}">{L_BACK_TO_TOP}</a><!-- EVENT viewtopic_body_postrow_back2top_append --></div>
<!-- EVENT viewtopic_body_postrow_back2top_after -->

</div>
</div>
Expand Down

0 comments on commit c99f592

Please sign in to comment.