HTMLArea.replaceAll();
@@ -828,6 +864,13 @@ sub htmlareaactive {
ENDSCRIPT
}
+# --------------------------------------------------------------------- Blocked
+
+sub htmlareablocked {
+ unless (&htmlareabrowser()) { return ''; }
+ return 1;
+}
+
# ---------------------------------------- Browser capable of running HTMLArea?
sub htmlareabrowser {
@@ -895,7 +938,7 @@ returns: nothing
# Make the faq and bug data cascade
my $faq = '';
my $bug = '';
- # The last breadcrumb does not have a link, so handle it seperately.
+ # The last breadcrumb does not have a link, so handle it separately.
my $last = pop(@Crumbs);
#
# The first one should be the course, I guess.
@@ -912,8 +955,8 @@ returns: nothing
map {
$faq = $_->{'faq'} if (exists($_->{'faq'}));
$bug = $_->{'bug'} if (exists($_->{'bug'}));
- ''.
- $_->{'text'}.''
+ ''.
+ &mt($_->{'text'}).''
} @Crumbs
);
$links .= '->' if ($links ne '');
@@ -936,7 +979,7 @@ returns: nothing
#
if (defined($component)) {
$Str .= ''.
- ''.$component.'';
+ ''.&mt($component).'';
if (defined($component_help)) {
$Str .=
&Apache::loncommon::help_open_topic($component_help);
|