[Web] Fix JS pathes, fixes #1845
This commit is contained in:
parent
c08149adef
commit
1893dae2d9
@ -790,8 +790,8 @@ echo "var pagination_size = '". $PAGINATION_SIZE . "';\n";
|
||||
echo "var log_pagination_size = '". $LOG_PAGINATION_SIZE . "';\n";
|
||||
?>
|
||||
</script>
|
||||
<script src="js/footable.min.js"></script>
|
||||
<script src="js/admin.js"></script>
|
||||
<script src="/js/footable.min.js"></script>
|
||||
<script src="/js/admin.js"></script>
|
||||
<?php
|
||||
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/footer.inc.php';
|
||||
} else {
|
||||
|
@ -288,8 +288,8 @@ echo "var log_pagination_size = '". $LOG_PAGINATION_SIZE . "';\n";
|
||||
|
||||
?>
|
||||
</script>
|
||||
<script src="js/footable.min.js"></script>
|
||||
<script src="js/debug.js"></script>
|
||||
<script src="/js/footable.min.js"></script>
|
||||
<script src="/js/debug.js"></script>
|
||||
<?php
|
||||
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/footer.inc.php';
|
||||
}
|
||||
|
@ -1082,8 +1082,8 @@ echo "var csrf_token = '". $_SESSION['CSRF']['TOKEN'] . "';\n";
|
||||
echo "var pagination_size = '". $PAGINATION_SIZE . "';\n";
|
||||
?>
|
||||
</script>
|
||||
<script src="js/footable.min.js"></script>
|
||||
<script src="js/edit.js"></script>
|
||||
<script src="/js/footable.min.js"></script>
|
||||
<script src="/js/edit.js"></script>
|
||||
<?php
|
||||
require_once("inc/footer.inc.php");
|
||||
?>
|
||||
|
@ -107,6 +107,6 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI'];
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.container -->
|
||||
<script src="js/index.js"></script>
|
||||
<script src="/js/index.js"></script>
|
||||
<?php
|
||||
require_once 'inc/footer.inc.php';
|
||||
|
@ -336,8 +336,8 @@ echo "var is_dual = " . $is_dual . ";\n";
|
||||
echo "var pagination_size = '". $PAGINATION_SIZE . "';\n";
|
||||
?>
|
||||
</script>
|
||||
<script src="js/footable.min.js"></script>
|
||||
<script src="js/mailbox.js"></script>
|
||||
<script src="/js/footable.min.js"></script>
|
||||
<script src="/js/mailbox.js"></script>
|
||||
<?php
|
||||
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/footer.inc.php';
|
||||
} else {
|
||||
|
@ -47,8 +47,8 @@ echo "var role = '". $role . "';\n";
|
||||
echo "var pagination_size = '". $PAGINATION_SIZE . "';\n";
|
||||
?>
|
||||
</script>
|
||||
<script src="js/footable.min.js"></script>
|
||||
<script src="js/quarantine.js"></script>
|
||||
<script src="/js/footable.min.js"></script>
|
||||
<script src="/js/quarantine.js"></script>
|
||||
<?php
|
||||
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/footer.inc.php';
|
||||
} else {
|
||||
|
@ -407,8 +407,8 @@ echo "var mailcow_cc_username = '". $_SESSION['mailcow_cc_username'] . "';\n";
|
||||
echo "var pagination_size = '". $PAGINATION_SIZE . "';\n";
|
||||
?>
|
||||
</script>
|
||||
<script src="js/footable.min.js"></script>
|
||||
<script src="js/user.js"></script>
|
||||
<script src="/js/footable.min.js"></script>
|
||||
<script src="/js/user.js"></script>
|
||||
<?php
|
||||
require_once("inc/footer.inc.php");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user