2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Added support for AUTO_LOGOUT_MINUTES to all child windows of the main frame (added jQuery and childnap.js)

This commit is contained in:
azammitdcarf
2011-01-25 04:32:16 +00:00
parent 09c75bcc7b
commit 2ddc4b811e
13 changed files with 71 additions and 14 deletions

View File

@@ -58,7 +58,14 @@ $btext = false;
if ($state == 4 && AUTO_POPUP)
$btext = "onload=\"poptastic('call.php')\"";
xhtml_head(T_("Status"),true,array("css/status.css"),array("js/popupkeep.js"),$btext,10);
$js = array("js/popupkeep.js");
if (AUTO_LOGOUT_MINUTES !== false)
{
$js[] = "include/jquery-ui/js/jquery-1.4.2.min.js";
$js[] = "js/childnap.js";
}
xhtml_head(T_("Status"),true,array("css/status.css"),$js,$btext,10);
print "<div class='text'>" . get_operator_time($operator_id,"%a %d %b %h:%i%p") ."</div>";