--- loncom/interface/lonpreferences.pm 2007/04/13 13:39:32 1.98
+++ loncom/interface/lonpreferences.pm 2007/04/28 23:13:56 1.100
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Preferences
#
-# $Id: lonpreferences.pm,v 1.98 2007/04/13 13:39:32 www Exp $
+# $Id: lonpreferences.pm,v 1.100 2007/04/28 23:13:56 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -526,18 +526,25 @@ sub iconchanger {
('environment',['icons']);
my $iconic='checked="checked"';
my $classic='';
+ my $onlyicon='';
if ($userenv{'icons'} eq 'classic') {
$classic='checked="checked"';
$iconic='';
}
- my $useicons=&mt('Use icons');
- my $usebuttons=&mt('Use classic buttons');
+ if ($userenv{'icons'} eq 'iconsonly') {
+ $onlyicon='checked="checked"';
+ $iconic='';
+ }
+ my $useicons=&mt('Use icons and text');
+ my $usebuttons=&mt('Use buttons and text');
+ my $useicononly=&mt('Use icons only');
my $change=&mt('Change');
$r->print(<
+
ENDSCREEN
@@ -884,20 +891,29 @@ sub jscript_send {
sub client_form {
my ($caller,$hexkey,$currentpass,$defdom) = @_;
+ my %lt=&Apache::lonlocal::texthash(
+ 'email' => 'EMail Address',
+ 'username' => 'Username',
+ 'domain' => 'Domain',
+ 'currentpass' => 'Current Password',
+ 'newpass' => 'New Password',
+ 'confirmpass' => 'Confirm Password',
+ 'changepass' => 'Change Password');
+
my $output = qq|
!"\#$%&\'()*+,-./0123456789:;<=>?\@ ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ -+ ENDERROR &passwordchanger($r,$errormessage,$caller,$mailtoken); return 1; @@ -1082,15 +1100,11 @@ ENDERROR ($user,$domain,$currentpass,$newpass1,$homeserver,$caller); # Inform the user the password has (not?) been changed if ($result =~ /^ok$/) { - $r->print(<<"ENDTEXT"); -