first commit
This commit is contained in:
28
admin/templates/window/checktimeoutFrame.tpl
Normal file
28
admin/templates/window/checktimeoutFrame.tpl
Normal file
@@ -0,0 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
{if $body.expiry < $body.time+300}
|
||||
<script src="https://code.jquery.com/jquery-1.11.0.js"></script>
|
||||
<script src="./static/js/functions.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (!window.localStorage || window.localStorage['displayedLoggedOut'] != "1")
|
||||
{
|
||||
nw('checktimeout');
|
||||
|
||||
{if $body.expiry < $body.time}
|
||||
window.localStorage['displayedLoggedOut'] = "1";
|
||||
{/if}
|
||||
}
|
||||
</script>
|
||||
{else}
|
||||
<script type="text/javascript">
|
||||
delete window.localStorage['displayedLoggedOut'];
|
||||
</script>
|
||||
{/if}
|
||||
<meta http-equiv="refresh" content="150;URL=launch.php?s=checktimeout.php&frame=1">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user