Merge pull request #193 from margau/master

AuthDB Download Check improvements
This commit is contained in:
Tuxis B.V 2020-11-26 09:47:28 +01:00 committed by GitHub
commit 888e7bad42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,9 +36,12 @@ if (is_logged_in() and isset($_POST['formname']) and $_POST['formname'] === "cha
<html>
<head>
<title>NSEdit!</title>
<?php
if (is_logged_in()) {
?>
<script type="text/javascript">
var reader = new XMLHttpRequest();
var checkFor = "<?php echo $testurl; ?>";
var checkFor = "<?php echo $testpath; ?>";
reader.open('get', checkFor, true);
reader.onreadystatechange = checkReadyState;
function checkReadyState() {
@ -54,6 +57,9 @@ if (is_logged_in() and isset($_POST['formname']) and $_POST['formname'] === "cha
}
reader.send(null);
</script>
<?php
}
?>
<link href="jquery-ui/themes/base/all.css" rel="stylesheet" type="text/css"/>
<link href="jtable/lib/themes/metro/blue/jtable.min.css" rel="stylesheet" type="text/css"/>
<link href="css/base.css" rel="stylesheet" type="text/css"/>