--- loncom/interface/lonrss.pm 2021/11/30 15:55:37 1.59
+++ loncom/interface/lonrss.pm 2025/02/28 01:38:28 1.63
@@ -1,7 +1,7 @@
# The LearningOnline Network
# RSS Feeder
#
-# $Id: lonrss.pm,v 1.59 2021/11/30 15:55:37 raeburn Exp $
+# $Id: lonrss.pm,v 1.63 2025/02/28 01:38:28 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -127,9 +127,9 @@ sub advertisefeeds {
}
}
if ($feeds) {
- return '
'.&mt('Available RSS Feeds and Blogs').'
';
+ return ''.&mt('Available RSS Feeds and Blogs').'
';
} elsif (!$edit) {
- return ''.&mt('No available RSS Feeds and Blogs').'
';
+ return ''.&mt('No available RSS Feeds and Blogs').'
';
}
}
@@ -258,7 +258,7 @@ sub blocking_blogdisplay {
if ($startblock && $endblock) {
$blockcause = 'user';
} elsif ($by_ip) {
- $blockcause = 'ip';
+ $blockcause = 'ip';
} else {
if (($uname ne $env{'user.name'}) || ($udom ne $env{'user.domain'})) {
($startblock,$endblock) =
@@ -289,9 +289,9 @@ sub blocking_blogdisplay {
} elsif ($blockcause eq 'ip') {
my $showdom = &Apache::lonnet::domain($blockdom);
if ($showdom eq '') {
- $showdom = $blockdom
+ $showdom = $blockdom;
}
- $output .= &mt('This restriction was set by an administrator in the [_1] LON-CAPA domain',$showdom);
+ $output .= &mt('This restriction was set by an administrator in the [_1] LON-CAPA domain.',$showdom);
} else {
$output .= &mt('This is because the blog owner is a student in one or more courses in which communication is being blocked.');
}