]> git.mxchange.org Git - friendica.git/commitdiff
Frio: add addon_hooks to head.tpl
authorrabuzarus <trebor@central-unit>
Fri, 15 Jun 2018 20:55:00 +0000 (22:55 +0200)
committerrabuzarus <trebor@central-unit>
Fri, 15 Jun 2018 20:55:00 +0000 (22:55 +0200)
view/theme/frio/templates/head.tpl

index 31b7175baed161bd94ff1c5de153d24ba29b25a0..f4bcabdae8d276be9dbeffec05c80048f27da684 100644 (file)
 <script type="text/javascript" src="view/asset/perfect-scrollbar/js/perfect-scrollbar.jquery.min.js"></script>
 <script type="text/javascript" src="view/js/acl.js"></script>
 <script type="text/javascript" src="view/asset/base64/base64.min.js"></script>
+<script type="text/javascript" src="view/js/addon-hooks.js" ></script>
+{{if is_array($addon_hooks)}}
+{{foreach $addon_hooks as $addon_hook}}
+<script type="text/javascript" src="addon/{{$addon_hook}}/{{$addon_hook}}.js"></script>
+{{/foreach}}
+{{/if}}
 <script type="text/javascript" src="view/js/main.js"></script>
 
 <script type="text/javascript" src="view/theme/frio/frameworks/bootstrap/js/bootstrap.min.js"></script>