1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-06 23:55:26 +02:00

[ticket/16944] Unify footer code and clean up code

PHPBB3-16944
This commit is contained in:
Marc Alexander 2023-11-12 20:09:42 +01:00
parent fdb28d1d06
commit 09cc08ea74
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995
5 changed files with 5 additions and 4 deletions

View File

@ -26,6 +26,8 @@ installLang = {
<!-- IF S_ALLOW_CDN --><script>window.jQuery || document.write('\x3Cscript src="{T_ASSETS_PATH}/javascript/jquery-3.6.0.min.js">\x3C/script>');</script><!-- ENDIF -->
<script src="{T_ASSETS_PATH}/javascript/core.js?assets_version={T_ASSETS_VERSION}"></script>
<!-- INCLUDEJS admin.js -->
{% INCLUDEJS T_ASSETS_PATH ~ '/iconify/iconify.min.js' %}
{$ICONIFY_ICONS}
{$SCRIPTS}

View File

@ -45,6 +45,7 @@
<script src="{T_ASSETS_PATH}/javascript/core.js?assets_version={T_ASSETS_VERSION}"></script>
<!-- INCLUDEJS ajax.js -->
<!-- INCLUDEJS admin.js -->
{% INCLUDEJS T_ASSETS_PATH ~ '/iconify/iconify.min.js' %}
<!-- EVENT acp_overall_footer_after -->
{$ICONIFY_ICONS}

View File

@ -19,6 +19,7 @@
<script src="{T_JQUERY_LINK}"></script>
<!-- IF S_ALLOW_CDN --><script>window.jQuery || document.write('\x3Cscript src="{T_ASSETS_PATH}/javascript/jquery-3.6.0.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 T_ASSETS_PATH ~ '/iconify/iconify.min.js' %}
<!-- EVENT acp_simple_footer_after -->
{$ICONIFY_ICONS}

View File

@ -367,9 +367,6 @@ class acp_styles
// Clear cache
$this->cache->purge();
// Force rebuild of iconify bundle
//$this->iconify_bundler->get_bundle(true);
// Show message
trigger_error(implode('<br />', $messages) . adm_back_link($this->u_action), E_USER_NOTICE);
}

View File

@ -46,7 +46,7 @@
<script src="{T_ASSETS_PATH}/javascript/core.js?assets_version={T_ASSETS_VERSION}"></script>
<!-- INCLUDEJS forum_fn.js -->
<!-- INCLUDEJS ajax.js -->
<script src="https://code.iconify.design/1/1.0.0-rc7/iconify.min.js"></script>
{% INCLUDEJS T_ASSETS_PATH ~ '/iconify/iconify.min.js' %}
<!-- EVENT simple_footer_after -->
{$ICONIFY_ICONS}