mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-18 19:59:30 +03:00
Merge pull request #193 from margau/master
AuthDB Download Check improvements
This commit is contained in:
commit
888e7bad42
1 changed files with 7 additions and 1 deletions
|
@ -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"/>
|
||||
|
|
Loading…
Add table
Reference in a new issue