[LON-CAPA-cvs] cvs: loncom /interface lonblockingstatus.pm
raeburn
raeburn at source.lon-capa.org
Sat Mar 31 11:08:37 EDT 2012
raeburn Sat Mar 31 15:08:37 2012 EDT
Modified files:
/loncom/interface lonblockingstatus.pm
Log:
- Fix typos: missing quote, extra brace, replace $url with $origurl.
Index: loncom/interface/lonblockingstatus.pm
diff -u loncom/interface/lonblockingstatus.pm:1.8 loncom/interface/lonblockingstatus.pm:1.9
--- loncom/interface/lonblockingstatus.pm:1.8 Sat Mar 31 14:19:24 2012
+++ loncom/interface/lonblockingstatus.pm Sat Mar 31 15:08:37 2012
@@ -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 @@
# 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 @@
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'
More information about the LON-CAPA-cvs
mailing list