--- loncom/interface/lonsyllabus.pm 2013/09/17 15:04:30 1.133 +++ loncom/interface/lonsyllabus.pm 2014/01/09 15:18:40 1.136 @@ -1,7 +1,7 @@ # The LearningOnline Network # Syllabus # -# $Id: lonsyllabus.pm,v 1.133 2013/09/17 15:04:30 raeburn Exp $ +# $Id: lonsyllabus.pm,v 1.136 2014/01/09 15:18:40 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -410,7 +410,7 @@ sub handler { } $rsslinktext = &mt('Manage Course RSS Feeds/Blogs'); if ($crstype eq 'Community') { - $rsslinktext = &mt('Manage Communiity RSS Feeds/Blogs'); + $rsslinktext = &mt('Manage Community RSS Feeds/Blogs'); } } my $editurl= &Apache::lonnet::absolute_url().'/adm/'.$cdom.'/'.$cnum.'/_rss.html'; @@ -1271,7 +1271,7 @@ sub save_changes { ($url,$needlink) = &process_upload(\$output,$cnum,$cdom, \%allfiles,\%codebase); } else { - $output = '
'; + $output = '
'. &mt('No file uploaded'). '
'; } @@ -1503,7 +1503,7 @@ sub home_http_host { if ($home ne 'no_host') { my $protocol = $Apache::lonnet::protocol{$home}; $protocol = 'http' if ($protocol ne 'https'); - return $protocol.'://'.$home; + return $protocol.'://'.&Apache::lonnet::hostname($home); } return; }