Diff for /loncom/interface/lonblockingmenu.pm between versions 1.22 and 1.23

version 1.22, 2016/10/23 14:35:32 version 1.23, 2016/10/23 16:17:52
Line 116  Outputs: 2 Line 116  Outputs: 2
     $readonly - true if modification of blocking events is prohibited.      $readonly - true if modification of blocking events is prohibited.
   
     $allowed  - true if blocking events information can be shown.      $allowed  - true if blocking events information can be shown.
    
   
 =item &get_timed_items()  =item &get_timed_items()
   
Line 252  Inputs: 8 Line 252  Inputs: 8
       - $blockcount - number of existing blocking events in course        - $blockcount - number of existing blocking events in course
   
       - $readonly - if true, modification not allowed.        - $readonly - if true, modification not allowed.
    
   
 Output: None  Output: None
   
Line 345  Outputs: 1 - $intervalform - web form el Line 345  Outputs: 1 - $intervalform - web form el
 =item &interval_details()  =item &interval_details()
   
 Creates name/scope of current interval and expandable/collapsible  Creates name/scope of current interval and expandable/collapsible
 showing which interval parameters apply to the current folder/resource   showing which interval parameters apply to the current folder/resource
   
 Inputs: 6  Inputs: 6
   
Line 362  Inputs: 6 Line 362  Inputs: 6
     - $parmcount - unique ID for current element.      - $parmcount - unique ID for current element.
   
   
 Outputs: 2   Outputs: 2
   
    - $itemname - name/scope of interval (timer) parameter     - $itemname - name/scope of interval (timer) parameter
   
Line 435  containing details about item with timed Line 435  containing details about item with timed
 Inputs: none  Inputs: none
   
 Output: 1 Javascript (with <script></script> tags) for functions used to:  Output: 1 Javascript (with <script></script> tags) for functions used to:
           toggle visibility of unordered list for display of detailed             toggle visibility of unordered list for display of detailed
           information about intervals.            information about intervals.
    
 =back    =back
   
 =cut  =cut
   
Line 628  sub handler { Line 628  sub handler {
   
 # ------------------------ Choose between modifying existing block or adding new  # ------------------------ Choose between modifying existing block or adding new
     $r->print('<form name="blockform" method="post" action="/adm/setblock?action=store">');      $r->print('<form name="blockform" method="post" action="/adm/setblock?action=store">');
       
     unless ($readonly) {       unless ($readonly) {
         if ($blockcount > 0) {          if ($blockcount > 0) {
             $r->print(<<"END");              $r->print(<<"END");
 <div class="LC_left_float">  <div class="LC_left_float">
Line 1437  sub create_interval_form { Line 1437  sub create_interval_form {
                                 if (ref($resobj)) {                                  if (ref($resobj)) {
                                     $title = $resobj->compTitle();                                      $title = $resobj->compTitle();
                                 }                                  }
                                 if ($title eq '') {                                                        if ($title eq '') {
                                     $title = &Apache::lonnet::gettitle($resource);                                      $title = &Apache::lonnet::gettitle($resource);
                                 }                                  }
                                 $hierarchy = &show_timer_path($type,$resource,$navmap);                                  $hierarchy = &show_timer_path($type,$resource,$navmap);

Removed from v.1.22  
changed lines
  Added in v.1.23


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