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

raeburn raeburn at source.lon-capa.org
Tue Jun 17 19:01:22 EDT 2014


raeburn		Tue Jun 17 23:01:22 2014 EDT

  Modified files:              
    /rat	lonwrapper.pm 
  Log:
  - Correction to rev. 1.47.  Adding missing single quotes. Remove duplicated 
    HTML.
  
  
Index: rat/lonwrapper.pm
diff -u rat/lonwrapper.pm:1.47 rat/lonwrapper.pm:1.48
--- rat/lonwrapper.pm:1.47	Tue May 20 11:47:06 2014
+++ rat/lonwrapper.pm	Tue Jun 17 23:01:21 2014
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Wrapper for external and binary files as standalone resources
 #
-# $Id: lonwrapper.pm,v 1.47 2014/05/20 11:47:06 raeburn Exp $
+# $Id: lonwrapper.pm,v 1.48 2014/06/17 23:01:21 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -83,13 +83,10 @@
             $output .= '<a href="'.$url.'">'.&mt('Link to PDF (for mobile devices)').'</a>';
         } else {
             $output .= '<div style="overflow:scroll; -webkit-overflow-scrolling:touch;">'."\n".
-                       '<iframe src="$url" height="100%" width="100%" frameborder="0">'."\n".
+                       '<iframe src="'.$url.'" height="100%" width="100%" frameborder="0">'."\n".
                        "$lt{'noif'} $noiframe\n".
                        "</iframe>\n".
                        "</div>\n";
-            $output .= '<iframe src="$url" height="100%" width="100%" frameborder="0">'."\n".
-                       "$lt{'noif'} $noiframe\n".
-                       '</iframe>';
         }
         $output .= $endpage;
         return $output;




More information about the LON-CAPA-cvs mailing list