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

@@ -110,8 +110,13 @@ if(isset($_POST['start']) && isset($_POST['end']) && isset($_POST['day']) && iss
}
xhtml_head(T_("Appointment"),true,array("css/respondent.css"),array("js/window.js"));
$js = array("js/window.js");
if (AUTO_LOGOUT_MINUTES !== false)
{
$js[] = "include/jquery-ui/js/jquery-1.4.2.min.js";
$js[] = "js/childnap.js";
}
xhtml_head(T_("Appointment"),true,array("css/respondent.css"),$js);
//select a respondent from a list or create a new one
print("<p>" . T_("Select a respondent") . "</p>");