Diff for /loncom/xml/lonxml.pm between versions 1.531.2.25 and 1.531.2.26

version 1.531.2.25, 2024/07/04 15:50:20 version 1.531.2.26, 2024/07/07 21:43:24
Line 1633  sub renderingoptions { Line 1633  sub renderingoptions {
     return $output;      return $output;
 }  }
   
   sub setmode_javascript {
       return <<"ENDSCRIPT";
   <script type="text/javascript">
   // <![CDATA[
   function setmode(form,probmode) {
       var initial = form.problemmode.value;
       form.problemmode.value = probmode;
       form.submit();
       form.problemmode.value = initial;
   }
   // ]]>
   </script>
   ENDSCRIPT
   }
   
 sub inserteditinfo {  sub inserteditinfo {
       my ($filecontents,$filetype,$filename,$symb,$itemtitle,$folderpath,$uri,$action) = @_;        my ($filecontents,$filetype,$filename,$symb,$itemtitle,$folderpath,$uri,$action) = @_;
       $filecontents = &HTML::Entities::encode($filecontents,'<>&"');        $filecontents = &HTML::Entities::encode($filecontents,'<>&"');

Removed from v.1.531.2.25  
changed lines
  Added in v.1.531.2.26


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>