Disabling for now the sniffing code (sorry) there should be an option in platform or somewhere

skala
Julio Montoya 13 years ago
parent 814a14b1a5
commit 0d61f42cf4
  1. 13
      user_portal.php

@ -200,13 +200,8 @@ if($_SESSION['sniff_navigator']!="checked") {
$controller = new IndexManager(get_lang('MyCourses'));
//if (!$$controllerl->tpl->isCached($tpl, api_get_user_id())) {
//@todo all this could be moved in the IndexManager
$courses_list = $controller->return_courses_main_plugin();
// Main courses and session list
ob_start();
$controller->return_courses_and_sessions($personal_course_list);
@ -215,12 +210,14 @@ ob_get_clean();
$controller->tpl->assign('content', $courses_and_sessions);
if($_SESSION['sniff_navigator']!="checked") {
/*
*
if ($_SESSION['sniff_navigator']!="checked") {
$controller->tpl->assign('show_sniff', 1);
}
else{
} else{
$controller->tpl->assign('show_sniff', 0);
}
*/
//check for flash and message

Loading…
Cancel
Save