Commit 1af75a82 authored by Ad Schellevis's avatar Ad Schellevis

(theme) add support for custom theme.js hook (3), login page missing jQuery...

parent c34ac4df
......@@ -408,6 +408,9 @@ function display_login_form($Login_Error = '')
<link href="/ui/themes/<?= $themename ?>/build/css/main.css" rel="stylesheet">
<link href="/ui/themes/<?= $themename ?>/build/images/favicon.png" rel="shortcut icon">
<!-- JQuery -->
<script type="text/javascript" src="/ui/js/jquery-1.12.0.min.js"></script>
<?php
if (file_exists("/usr/local/opnsense/www/themes/".$themename."/build/js/theme.js")):?>
<script type="text/javascript" src="/ui/themes/<?=$themename?>/build/js/theme.js"></script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment