--- loncom/interface/lonpreferences.pm 2004/07/09 21:05:14 1.46
+++ loncom/interface/lonpreferences.pm 2004/07/26 21:57:27 1.48
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Preferences
#
-# $Id: lonpreferences.pm,v 1.46 2004/07/09 21:05:14 raeburn Exp $
+# $Id: lonpreferences.pm,v 1.48 2004/07/26 21:57:27 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -967,6 +967,7 @@ sub handler {
ENDHEADER
my $call = undef;
+ my $help = undef;
my $printmenu = 'yes';
foreach my $option (@Options) {
if ($option->{'action'} eq $ENV{'form.action'}) {
@@ -976,11 +977,12 @@ ENDHEADER
&Apache::lonhtmlcommon::add_breadcrumb
($option->{'breadcrumb'});
}
+ $help=$option->{'help'};
}
}
$r->print(&Apache::loncommon::bodytag('Change Preferences'));
$r->print(&Apache::lonhtmlcommon::breadcrumbs
- (undef,'Change Preferences'));
+ (undef,'Change Preferences',$help));
if (defined($call)) {
$call->($r);
}
@@ -1004,10 +1006,10 @@ ENDHEADER
$optiontext .=
''.
- $option->{'linktext'}.'';
+ &mt($option->{'linktext'}).'';
}
if (exists($option->{'text'})) {
- $optiontext .= ' '.$option->{'text'};
+ $optiontext .= ' '.&mt($option->{'text'});
}
if ($optiontext ne '') {
$optiontext = ''.$optiontext.'';