Diff for /loncom/interface/loncourserespicker.pm between versions 1.19 and 1.21

version 1.19, 2024/12/03 23:34:11 version 1.21, 2024/12/26 17:12:36
Line 157  Output: $output is the HTML mark-up for Line 157  Output: $output is the HTML mark-up for
   
 Creates javascript functions for checking/unchecking all items, and  Creates javascript functions for checking/unchecking all items, and
 for recursive checking triggered by checking a folder, or recursive  for recursive checking triggered by checking a folder, or recursive
 (upeards) unchecking of an item within a folder.   (upwards) unchecking of an item within a folder. 
   
 Inputs: 7.   Inputs: 9.
    - $startcount -- Starting offset of form element numbering for items       - $startcount -- Starting offset of form element numbering for items  
   
    - $numcount -- Total numer of folders and resources in course.     - $numcount -- Total number of folders and resources in course.
   
    - $context -- Context in which resources are being displayed     - $context -- Context in which resources are being displayed
                  (imsexport, examblock,  dumpdocs or shorturls).                    (imsexport, examblock, dumpdocs, shorturls, or
                     crsauthored). 
   
    - $formname --  Name of form.     - $formname --  Name of form.
   
Line 175  Inputs: 7. Line 176  Inputs: 7.
   
    - $checked_maps -- Reference to array of folders currently checked.     - $checked_maps -- Reference to array of folders currently checked.
   
      - $numhome -- Number of possible Authoring Spaces on this server 
                    (context is dumpdocs or crsauthored).
    
      - $chkname -- Name of checkboxes used to indicate selection of folder
                    or resource.
   
 Output: 1. Javascript (within <script></script> tags.  Output: 1. Javascript (within <script></script> tags.
   
   
Line 790  function checkResource(form,item) { Line 797  function checkResource(form,item) {
     }      }
 }  }
   
 numitems = $numitems;  numitems = $startcount + $numitems;
 var parents = new Array(numitems);  var parents = new Array(numitems);
 var nesting = new Array(numitems);  var nesting = new Array(numitems);
 var initial = new Array();  var initial = new Array();

Removed from v.1.19  
changed lines
  Added in v.1.21


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