Diff for /loncom/interface/lonblockingstatus.pm between versions 1.8 and 1.9

version 1.8, 2012/03/31 14:19:24 version 1.9, 2012/03/31 15:08:37
Line 95  sub blockpage { Line 95  sub blockpage {
     # retrieve start/end of possible active blocking      # retrieve start/end of possible active blocking
     my %setters;      my %setters;
     my ($startblock,$endblock,$triggerblock) =       my ($startblock,$endblock,$triggerblock) = 
         &Apache::loncommon::blockcheck(\%setters,$activity,$uname,$udom,$url);          &Apache::loncommon::blockcheck(\%setters,$activity,$uname,$udom,$origurl);
   
     # nothing to do if there's no active blocking      # nothing to do if there's no active blocking
     unless ($startblock && $endblock) { return ''; }      unless ($startblock && $endblock) { return ''; }
Line 135  sub blockpage { Line 135  sub blockpage {
     if ( ref($description) ne 'ARRAY' ) {      if ( ref($description) ne 'ARRAY' ) {
         #default: $description is one of the above descriptions          #default: $description is one of the above descriptions
         if ($activity eq 'docs') {          if ($activity eq 'docs') {
             $output=&mt( 'Access to the content page you are attempting to               $output=&mt( 'Access to the content page you are attempting to' 
                          . ' view will be unavailable between [_1] and [_2] because'                           . ' view will be unavailable between [_1] and [_2] because'
                          . ' access to selected $description is being blocked.'                           . ' access to selected $description is being blocked.'
                          ,$showstart, $showend);                           ,$showstart, $showend);
             }  
         } else {          } else {
             $output = mt( $description              $output = mt( $description
                           . ' will be inaccessible between [_1] and [_2] because'                            . ' will be inaccessible between [_1] and [_2] because'

Removed from v.1.8  
changed lines
  Added in v.1.9


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