From 289340780927b5bac2c7604d7317c3063c6dd8cc Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 11 Mar 2004 02:05:38 +0000 Subject: import of rt 3.0.9 --- rt/html/User/Prefs.html | 106 ++++++++++++++++++++++++++++++++---------------- 1 file changed, 72 insertions(+), 34 deletions(-) (limited to 'rt/html/User/Prefs.html') diff --git a/rt/html/User/Prefs.html b/rt/html/User/Prefs.html index b89fc40ae..c2746a38c 100644 --- a/rt/html/User/Prefs.html +++ b/rt/html/User/Prefs.html @@ -38,21 +38,44 @@ <& /Elements/TitleBoxStart, title => loc('Identity') &> -<&|/l&>Email: -
-<&|/l&>Real Name: -
-<&|/l&>Nickname: + + + + + + + + + + + + + + + + +
<&|/l&>Email:
<&|/l&>Real Name:
<&|/l&>Nickname:
<&|/l&>Language:<& /Elements/SelectLang, Name => 'Lang', Default => $UserObj->Lang &>
<& /Elements/TitleBoxEnd &>
<& /Elements/TitleBoxStart, title => loc('Phone numbers') &> -<&|/l&>Residence: -
-<&|/l&>Work: -
-<&|/l&>Mobile: -
-<&|/l&>Pager: + + + + + + + + + + + + + + + + + +
<&|/l&>Residence:
<&|/l&>Work:
<&|/l&>Mobile:
<&|/l&>Pager:
<& /Elements/TitleBoxEnd &> @@ -60,44 +83,58 @@ <& /Elements/TitleBoxStart, title => loc('Password') &> - - - -
+ <&|/l&>New Password: +
+
<&|/l&>Retype Password: +
-% } <& /Elements/TitleBoxEnd &> +% } <& /Elements/TitleBoxStart, title => loc('Location') &> -<&|/l&>Organization: -
-<&|/l&>Address1: -
-<&|/l&>Address2: -
-<&|/l&>City: - -<&|/l&>State: - -<&|/l&>Zip: -
-<&|/l&>Country: -
- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
<&|/l&>Organization:
<&|/l&>Address1:
<&|/l&>Address2:
<&|/l&>City:
<&|/l&>State:
<&|/l&>Zip:
<&|/l&>Country:
<& /Elements/TitleBoxEnd &> @@ -147,12 +184,13 @@ if ($UserObj->Id) { Organization RealName NickName Lang EmailEncoding WebEncoding ExternalContactInfoId ContactInfoSystem Gecos ExternalAuthId AuthSystem HomePhone WorkPhone MobilePhone PagerPhone Address1 - Address2 City State Zip Country + Address2 City State Zip Country Lang ); my @fieldresults = UpdateRecordObject ( AttributesRef => \@fields, Object => $UserObj, ARGSRef => \%ARGS ); + $session{'CurrentUser'}->LanguageHandle($Lang) if $Lang; push (@results,@fieldresults); -- cgit v1.2.1