|
|
@ -194,7 +194,7 @@ if (empty($courseAndSessions['html']) && !isset($_GET['history'])) { |
|
|
|
$controller->tpl->assign('content', $courseAndSessions['html']); |
|
|
|
$controller->tpl->assign('content', $courseAndSessions['html']); |
|
|
|
|
|
|
|
|
|
|
|
if (api_get_setting('allow_browser_sniffer') == 'true') { |
|
|
|
if (api_get_setting('allow_browser_sniffer') == 'true') { |
|
|
|
if ($_SESSION['sniff_navigator'] != "checked") { |
|
|
|
if (isset($_SESSION['sniff_navigator']) && $_SESSION['sniff_navigator'] != "checked") { |
|
|
|
$controller->tpl->assign('show_sniff', 1); |
|
|
|
$controller->tpl->assign('show_sniff', 1); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
$controller->tpl->assign('show_sniff', 0); |
|
|
|
$controller->tpl->assign('show_sniff', 0); |
|
|
|