X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fhtml%2FUser%2FPrefs.html;fp=rt%2Fhtml%2FUser%2FPrefs.html;h=f1c75582687a687463ce2d1c83e7ff30b82cb71e;hp=8c6d5f18efc2bd15e333ca518d3b78f153623840;hb=9c68254528b6f2c7d8c1921b452fa56064783782;hpb=ef20b2b6b1feb47ad02b5ff7525f1a0fd11d0fa4 diff --git a/rt/html/User/Prefs.html b/rt/html/User/Prefs.html index 8c6d5f18e..f1c755826 100644 --- a/rt/html/User/Prefs.html +++ b/rt/html/User/Prefs.html @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -22,9 +22,7 @@ %# %# You should have received a copy of the GNU General Public License %# along with this program; if not, write to the Free Software -%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -%# 02110-1301 or visit their web page on the internet at -%# http://www.gnu.org/copyleft/gpl.html. +%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. %# %# %# CONTRIBUTION SUBMISSION POLICY: @@ -52,133 +50,131 @@ <& /Elements/ListActions, actions => \@results &> -
- + + - - +
+ - - + - - +<& /Elements/TitleBoxEnd &> + + + - + - -
-<&| /Widgets/TitleBox, title => loc('Identity'), id => "user-prefs-identity" &> + +<& /Elements/TitleBoxStart, title => loc('Identity') &> - - + +
- - + + - - + + - - + + - - + +
<&|/l&>Email: <&|/l&>Email:
<&|/l&>Real Name:
<&|/l&>Real Name:
<&|/l&>Nickname:<&|/l&>Nickname:
<&|/l&>Language:<& /Elements/SelectLang, Name => 'Lang', Default => $UserObj->Lang &><&|/l&>Language:<& /Elements/SelectLang, Name => 'Lang', Default => $UserObj->Lang &>
- -<&| /Widgets/TitleBox, title => loc('Phone numbers'), id => "user-prefs-phone" &> - +<& /Elements/TitleBoxEnd &> +
+<& /Elements/TitleBoxStart, title => loc('Phone numbers') &> +
- - + + - - + + - - + + - - + +
<&|/l&>Residence:<&|/l&>Residence:
<&|/l&>Work:<&|/l&>Work:
<&|/l&>Mobile:<&|/l&>Mobile:
<&|/l&>Pager:<&|/l&>Pager:
- -<& /Elements/Callback, _CallbackName => 'FormLeftColumn', UserObj => $UserObj, %ARGS &> -
+<& /Elements/TitleBoxEnd &> + % unless ($RT::WebExternalAuth and !$RT::WebFallbackToInternalAuth) { -<&| /Widgets/TitleBox, title => loc('Password'), id => "user-prefs-password" &> - - - + + +
+<& /Elements/TitleBoxStart, title => loc('Password') &> + + + - - - + + + - - -
<&|/l&>New Password: - - -
+ + +
<&|/l&>Retype Password: - - -
- +
+ +
+<& /Elements/TitleBoxEnd &> % } -<&| /Widgets/TitleBox, title => loc('Location'), id => "user-prefs-location" &> - +<& /Elements/TitleBoxStart, title => loc('Location') &> +
- - + + - - + + - - + + - - + + - - + + - - + + - - + +
<&|/l&>Organization:<&|/l&>Organization:
<&|/l&>Address1:<&|/l&>Address1:
<&|/l&>Address2:<&|/l&>Address2:
<&|/l&>City:<&|/l&>City:
<&|/l&>State:<&|/l&>State:
<&|/l&>Zip:<&|/l&>Zip:
<&|/l&>Country:<&|/l&>Country:
- -<& /Elements/Callback, _CallbackName => 'FormRightColumn', UserObj => $UserObj, %ARGS &> -
+ %if ($UserObj->Privileged) { -
-<&| /Widgets/TitleBox, title => loc('Signature') &> - - +
+<& /Elements/TitleBoxStart, title => loc('Signature') &> + +<& /Elements/TitleBoxEnd &> % } -
+ + -<& /Elements/Callback, _CallbackName => 'FormEnd', UserObj => $UserObj, %ARGS &> <& /Elements/Submit, Label => loc('Save Preferences') &>
@@ -209,12 +205,6 @@ if ($UserObj->Id) { AuthSystem HomePhone WorkPhone MobilePhone PagerPhone Address1 Address2 City State Zip Country Lang ); - - $m->comp('/Elements/Callback', _CallbackName => 'UpdateLogic', - fields => \@fields, - results => \@results, - UserObj => $UserObj, - ARGSRef => \%ARGS); my @fieldresults = UpdateRecordObject ( AttributesRef => \@fields, Object => $UserObj,