--- loncom/interface/lonblockingstatus.pm 2012/03/31 14:19:24 1.8 +++ loncom/interface/lonblockingstatus.pm 2012/03/31 15:08:37 1.9 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # displays the blocking status table # -# $Id: lonblockingstatus.pm,v 1.8 2012/03/31 14:19:24 raeburn Exp $ +# $Id: lonblockingstatus.pm,v 1.9 2012/03/31 15:08:37 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -95,7 +95,7 @@ sub blockpage { # retrieve start/end of possible active blocking my %setters; 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 unless ($startblock && $endblock) { return ''; } @@ -135,11 +135,10 @@ sub blockpage { if ( ref($description) ne 'ARRAY' ) { #default: $description is one of the above descriptions 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' . ' access to selected $description is being blocked.' ,$showstart, $showend); - } } else { $output = mt( $description . ' will be inaccessible between [_1] and [_2] because'