[LON-CAPA-cvs] cvs: rat / lonpageflip.pm

raeburn raeburn at source.lon-capa.org
Fri Dec 31 14:51:04 EST 2021


raeburn		Fri Dec 31 19:51:04 2021 EDT

  Modified files:              
    /rat	lonpageflip.pm 
  Log:
  - Bug 6808. Modify logic to show links to go back or display Contents listing,
    when user is not a student taking Placement test (rev. 1.91 change).
  
  
Index: rat/lonpageflip.pm
diff -u rat/lonpageflip.pm:1.110 rat/lonpageflip.pm:1.111
--- rat/lonpageflip.pm:1.110	Sat Aug 21 03:42:02 2021
+++ rat/lonpageflip.pm	Fri Dec 31 19:51:04 2021
@@ -2,7 +2,7 @@
 #
 # Page flip handler
 #
-# $Id: lonpageflip.pm,v 1.110 2021/08/21 03:42:02 raeburn Exp $
+# $Id: lonpageflip.pm,v 1.111 2021/12/31 19:51:04 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -836,8 +836,8 @@
                           }
                       }
 		  }
-                  unless (($env{'course.'.$env{'request.course.id'}.'.type'} eq 'Placement') ||
-                          ($env{'request.role.adv'})) {
+                  unless (($env{'course.'.$env{'request.course.id'}.'.type'} eq 'Placement') &&
+                          (!$env{'request.role.adv'})) {
                       if ($deeplinklevel) {
                           $r->print(
                               &Apache::lonhtmlcommon::actionbox(




More information about the LON-CAPA-cvs mailing list