[LON-CAPA-cvs] cvs: loncom(GCI_3) /interface lontrackstudent.pm

raeburn raeburn@source.lon-capa.org
Wed, 06 Jan 2010 18:23:28 -0000


raeburn		Wed Jan  6 18:23:28 2010 EDT

  Modified files:              (Branch: GCI_3)
    /loncom/interface	lontrackstudent.pm 
  Log:
  - Customization for GCI_3
   - No access to activity log data for CCs in courses in gcitest domain. 
  
  
Index: loncom/interface/lontrackstudent.pm
diff -u loncom/interface/lontrackstudent.pm:1.30 loncom/interface/lontrackstudent.pm:1.30.2.1
--- loncom/interface/lontrackstudent.pm:1.30	Fri Aug 28 22:47:07 2009
+++ loncom/interface/lontrackstudent.pm	Wed Jan  6 18:23:27 2010
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lontrackstudent.pm,v 1.30 2009/08/28 22:47:07 raeburn Exp $
+# $Id: lontrackstudent.pm,v 1.30.2.1 2010/01/06 18:23:27 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -553,6 +553,16 @@
     &Apache::loncommon::content_type($r,'text/html');
     $r->send_http_header;
     if ($r->header_only) { return OK; }
+
+    if (&Apache::loncommon::needs_gci_custom()) {
+        $r->print(&Apache::loncommon::start_page("Student Activity"));
+        $r->print('<h3>'.
+                  &mt('No student activity display available for Concept Tests') .
+                  '</h3>');
+        $r->print(&Apache::loncommon::end_page());
+        return OK;
+    }
+
     #
     # Extract form elements from query string
     &Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'},