X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fpref%2Fpref.html;h=069f914ed646546334ca0d57a808b299693f37b1;hb=8591b5a157a2ee24c1467718eb0ce731a388f5c1;hp=259523941a839f5366bebee83d916c582bd8d8d3;hpb=3758ad3cb13752bbbebb2c42fcc398bdb1ffdc6a;p=freeside.git diff --git a/httemplate/pref/pref.html b/httemplate/pref/pref.html index 259523941..069f914ed 100644 --- a/httemplate/pref/pref.html +++ b/httemplate/pref/pref.html @@ -1,28 +1,102 @@ <% include('/elements/header.html', 'Preferences for '. getotaker ) %> -
+ <% include('/elements/error.html') %> + +Change password (leave blank for no change) <% ntable("#cccccc",2) %> - - Current password: - - + + Current password: + + + + + New password: + + - - New password: - - + + Re-enter new password: + + + + +
+ + +Interface +<% ntable("#cccccc",2) %> + + + Menu location: + + > Left
+ > Top
+ + + + + +
+ + +Email Address +<% ntable("#cccccc",2) %> - - Re-enter new password: - - + + Email Address(es) (comma separated) + + + + +
- + +Vonage integration (see Click2Call) +<% ntable("#cccccc",2) %> + + + Vonage phone number + + + + + Vonage username + + + + + Vonage password + + + + +
+ + +% foreach my $prop (qw( height width availHeight availWidth colorDepth )) { + + +% } + + <% include('/elements/footer.html') %> +<%init> + +# XSS via your own preferences? seems unlikely, but nice try anyway... +( $FS::CurrentUser::CurrentUser->option('menu_position') || 'left' ) + =~ /^(\w+)$/ or die "illegal menu_position"; +my $menu_position = $1; +( $FS::CurrentUser::CurrentUser->option('email_address') ) + =~ /^([,\w\@.]*)$/ or die "illegal email_address"; #too late +my $email_address = $1; + +