X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fpref%2Fpref.html;h=57e22b3459c3b9b51b4d09a4edb046c7ed4f2a9e;hb=4b98dc4f89496db2ecf56ac8b968baff6cc3f774;hp=229ac0e62d36c665e5f301202b05aac3c8cdceb7;hpb=7b3d074cbb694330334469510548d98eebe196ed;p=freeside.git diff --git a/httemplate/pref/pref.html b/httemplate/pref/pref.html index 229ac0e62..57e22b345 100644 --- a/httemplate/pref/pref.html +++ b/httemplate/pref/pref.html @@ -43,22 +43,56 @@ Interface
+Email Address +<% ntable("#cccccc",2) %> + + + Email Address(es) (comma separated) + + + + + + +
+ + +Development +<% ntable("#cccccc",2) %> + + + Show internal package numbers: + option('show_pkgnum') ? 'CHECKED' : '' %>> + + + Show database profiling (when available): + option('show_db_profile') ? 'CHECKED' : '' %>> + + + Save database profiling logs (when available): + option('save_db_profile') ? 'CHECKED' : '' %>> + + + +
+ + Vonage integration (see Click2Call) <% ntable("#cccccc",2) %> Vonage phone number - + Vonage username - + Vonage password - + @@ -77,9 +111,14 @@ Vonage integration (see Click2Call <% include('/elements/footer.html') %> <%init> +my $curuser = $FS::CurrentUser::CurrentUser; + # XSS via your own preferences? seems unlikely, but nice try anyway... -( $FS::CurrentUser::CurrentUser->option('menu_position') || 'left' ) +( $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;