--- loncom/interface/lonpreferences.pm 2003/09/17 01:45:14 1.29
+++ loncom/interface/lonpreferences.pm 2003/11/07 23:22:21 1.32
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Preferences
#
-# $Id: lonpreferences.pm,v 1.29 2003/09/17 01:45:14 www Exp $
+# $Id: lonpreferences.pm,v 1.32 2003/11/07 23:22:21 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -51,6 +51,7 @@ use Crypt::DES;
use DynaLoader; # for Crypt::DES version
use Apache::loncommon();
use Apache::lonhtmlcommon();
+use Apache::lonlocal;
#
# Write lonnet::passwd to do the call below.
@@ -108,9 +109,9 @@ sub languagechanger {
my $user = $ENV{'user.name'};
my $domain = $ENV{'user.domain'};
my %userenv = &Apache::lonnet::get
- ('environment',['languages','translator']);
+ ('environment',['languages']);
my $language=$userenv{'languages'};
- my $translator=$userenv{'translator'};
+
my $bodytag=&Apache::loncommon::bodytag(
'Change Your Language Preferences');
$r->print(<Preferred language:
ENDLSCREEN
- if ($ENV{'user.adv'}) {
- $r->print (<Willing to translate for language:
-
-ENDTRSC
- }
- $r->print('