mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 12:03:21 +01:00
[feature/twig] Put $SCRIPTS below overall_footer_after, use includejs for core
Moved below overall_footer_after so events can add JS files in that event. PHPBB3-11598
This commit is contained in:
parent
8d11a147f5
commit
921d44aa4d
@ -56,8 +56,10 @@
|
||||
<!-- INCLUDEJS forum_fn.js -->
|
||||
<!-- INCLUDEJS {T_ASSETS_PATH}/javascript/core.js -->
|
||||
<!-- INCLUDEJS ajax.js -->
|
||||
{$SCRIPTS}
|
||||
|
||||
<!-- EVENT overall_footer_after -->
|
||||
|
||||
{$SCRIPTS}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
@ -13,9 +13,11 @@
|
||||
|
||||
<script type="text/javascript" src="{T_JQUERY_LINK}"></script>
|
||||
<!-- IF S_JQUERY_FALLBACK --><script type="text/javascript">window.jQuery || document.write(unescape('%3Cscript src="{T_ASSETS_PATH}/javascript/jquery.js?assets_version={T_ASSETS_VERSION}" type="text/javascript"%3E%3C/script%3E'));</script><!-- ENDIF -->
|
||||
<script type="text/javascript" src="{T_ASSETS_PATH}/javascript/core.js?assets_version={T_ASSETS_VERSION}"></script>
|
||||
{$SCRIPTS}
|
||||
<!-- INCLUDEJS {T_ASSETS_PATH}/javascript/core.js -->
|
||||
|
||||
<!-- EVENT overall_footer_after -->
|
||||
|
||||
{$SCRIPTS}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
x
Reference in New Issue
Block a user