[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /auth switchserver.pm

raeburn raeburn at source.lon-capa.org
Mon Oct 7 22:46:19 EDT 2024


raeburn		Tue Oct  8 02:46:19 2024 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/auth	switchserver.pm 
  Log:
  - For 2.11
    Backport 1.66, and if Remote Control on, no "Switch to Inline Menu Mode"
  
  
Index: loncom/auth/switchserver.pm
diff -u loncom/auth/switchserver.pm:1.35.2.7 loncom/auth/switchserver.pm:1.35.2.8
--- loncom/auth/switchserver.pm:1.35.2.7	Tue Jul  2 19:42:06 2024
+++ loncom/auth/switchserver.pm	Tue Oct  8 02:46:19 2024
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Switch Servers Handler
 #
-# $Id: switchserver.pm,v 1.35.2.7 2024/07/02 19:42:06 raeburn Exp $
+# $Id: switchserver.pm,v 1.35.2.8 2024/10/08 02:46:19 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -63,7 +63,10 @@
     my $start_page = 
 	&Apache::loncommon::start_page('Switching Server ...',undef,
 				       {'redirect'       => [$delay,$url,'',1],
-					'only_body'      => $only_body,});
+					'only_body'      => $only_body,
+                                        'switchserver'   => 1,
+                                        'links_disabled' => 1,
+                                        'no_inline_link' => 1,});
     my $end_page   = &Apache::loncommon::end_page();
     $r->print($start_page.$extra_text.$end_page);
     unless ($env{'user.name'} eq 'public' && ($env{'user.domain'} eq 'public')) {




More information about the LON-CAPA-cvs mailing list