4 include_once
'Services/Authentication/classes/class.ilSessionReminder.php';
29 public function getHtml()
39 require_once
'Services/jQuery/classes/class.iljQueryUtil.php';
42 require_once
'Services/YUI/classes/class.ilYuiUtil.php';
43 ilYuiUtil::initCookie();
45 $tpl->addJavaScript(
'./Services/Authentication/js/session_reminder.js');
47 $reminder_tpl =
new ilTemplate(
'tpl.session_reminder.html',
true,
true,
'Services/Authentication');
48 $reminder_tpl->setVariable(
'DEBUG', defined(
'DEVMODE') && DEVMODE ? 1 : 0);
49 $reminder_tpl->setVariable(
'CLIENT_ID', CLIENT_ID);
50 $reminder_tpl->setVariable(
'SESSION_NAME', session_name());
51 $reminder_tpl->setVariable(
'FREQUENCY', 60);
52 $reminder_tpl->setVariable(
'SESSION_ID', session_id());
53 $reminder_tpl->setVariable(
55 './sessioncheck.php?client_id=' . CLIENT_ID .
56 '&lang='.$lng->getLangKey()
59 return $reminder_tpl->get();