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