aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template/intro.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'admin/themes/default/template/intro.tpl')
-rw-r--r--admin/themes/default/template/intro.tpl17
1 files changed, 8 insertions, 9 deletions
diff --git a/admin/themes/default/template/intro.tpl b/admin/themes/default/template/intro.tpl
index a45e581a0..b3dbfbbac 100644
--- a/admin/themes/default/template/intro.tpl
+++ b/admin/themes/default/template/intro.tpl
@@ -1,15 +1,14 @@
-{known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"}
-{known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.cluetip.packed.js"}
+{combine_script id='jquery.cluetip' load='async' require='jquery' path='themes/default/js/plugins/jquery.cluetip.packed.js'}
-<script type="text/javascript">
+{footer_script require='jquery.cluetip'}
jQuery().ready(function(){ldelim}
- jQuery('.cluetip').cluetip({ldelim}
- width: 300,
- splitTitle: '|',
- positionBy: 'bottomTop'
- });
+ jQuery('.cluetip').cluetip({ldelim}
+ width: 300,
+ splitTitle: '|',
+ positionBy: 'bottomTop'
+ });
});
-</script>
+{/footer_script}
<h2>{'Piwigo administration'|@translate}</h2>
<dl style="padding-top: 30px;">