예제 #1
0
     }
 }
 if ($tracking_is_accepted) {
     $tracked_user_info['email'] == '' ? $mail_link = get_lang('NoEmail') : ($mail_link = Display::encrypted_mailto_link($tracked_user_info['email']));
     echo "<tr><td>";
     echo get_lang('informationsAbout') . ' :';
     echo "<ul>\n" . "<li>" . get_lang('FirstName') . " : " . $tracked_user_info['firstname'] . "</li>\n" . "<li>" . get_lang('LastName') . " : " . $tracked_user_info['lastname'] . "</li>\n" . "<li>" . get_lang('Email') . " : " . $mail_link . "</li>\n" . "</ul>";
     echo "</td></tr>\n";
     // show all : number of 1 is equal to or bigger than number of categories
     // show none : number of 0 is equal to or bigger than number of categories
     echo "<tr>\n                    <td>\n                    [<a href='" . api_get_self() . "?uInfo=" . Security::remove_XSS($uInfo) . "&view=1111111'>" . get_lang('ShowAll') . "</a>]\n                    [<a href='" . api_get_self() . "?uInfo=" . Security::remove_XSS($uInfo) . "&view=0000000'>" . get_lang('ShowNone') . "</a>]" . "</td>\n                </tr>\n            ";
     if (!isset($view)) {
         $view = '0000000';
     }
     //Logins
     TrackingUserLog::display_login_tracking_info($view, $uInfo, $courseId);
     //Exercise results
     TrackingUserLog::display_exercise_tracking_info($view, $uInfo, $courseId);
     //Student publications uploaded
     TrackingUserLog::display_student_publications_tracking_info($view, $uInfo, $courseId);
     //Links usage
     TrackingUserLog::display_links_tracking_info($view, $uInfo, $courseId);
     //Documents downloaded
     TrackingUserLog::display_document_tracking_info($view, $uInfo, $courseId);
 } else {
     echo get_lang('ErrorUserNotInGroup');
 }
 /*
  *		Scorm contents and Learning Path
  */
 if (substr($view, 5, 1) == '1') {
예제 #2
0
            // show all : number of 1 is equal to or bigger than number of categories
            // show none : number of 0 is equal to or bigger than number of categories
            echo "<tr>
                    <td>
                    [<a href='".api_get_self()."?uInfo=".Security::remove_XSS($uInfo)."&view=1111111'>".get_lang('ShowAll')."</a>]
                    [<a href='".api_get_self()."?uInfo=".Security::remove_XSS($uInfo)."&view=0000000'>".get_lang('ShowNone')."</a>]".
                    //"||[<a href='".api_get_self()."'>".get_lang('BackToList')."</a>]".
                    "</td>
                </tr>
            ";

            if(!isset($view)) {
                $view ='0000000';
            }
            //Logins
            TrackingUserLog::display_login_tracking_info($view, $uInfo, $_cid);

            //Exercise results
            TrackingUserLog::display_exercise_tracking_info($view, $uInfo, $_cid);

            //Student publications uploaded
            TrackingUserLog::display_student_publications_tracking_info($view, $uInfo, $_cid);

            //Links usage
            TrackingUserLog::display_links_tracking_info($view, $uInfo, $_cid);

            //Documents downloaded
            TrackingUserLog::display_document_tracking_info($view, $uInfo, $_cid);
        } else {
            echo get_lang('ErrorUserNotInGroup');
        }