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

raeburn raeburn at source.lon-capa.org
Mon Feb 6 21:07:28 EST 2017


raeburn		Tue Feb  7 02:07:28 2017 EDT

  Modified files:              
    /rat	lonwrapper.pm 
  Log:
  - Support "only_body" in query string when displaying syllabus item set to
    external URL.
  
  
Index: rat/lonwrapper.pm
diff -u rat/lonwrapper.pm:1.55 rat/lonwrapper.pm:1.56
--- rat/lonwrapper.pm:1.55	Wed Nov 30 16:02:27 2016
+++ rat/lonwrapper.pm	Tue Feb  7 02:07:28 2017
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Wrapper for external and binary files as standalone resources
 #
-# $Id: lonwrapper.pm,v 1.55 2016/11/30 16:02:27 raeburn Exp $
+# $Id: lonwrapper.pm,v 1.56 2017/02/07 02:07:28 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -76,6 +76,9 @@
     if ($absolute) {
         $args->{'use_absolute'} = $absolute; 
     }
+    if ($env{'form.only_body'}) {
+        $args->{'only_body'} = $env{'form.only_body'};
+    }
 
     my $startpage = &Apache::loncommon::start_page('Menu',undef,$args);
     my $endpage = &Apache::loncommon::end_page();




More information about the LON-CAPA-cvs mailing list