X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fpref%2Fpref.html;h=81800bf26252116c194923126a9e8cb09de070c3;hb=8588f3c0bfbcbeb58dd25a57b5ea375cec00279a;hp=57e22b3459c3b9b51b4d09a4edb046c7ed4f2a9e;hpb=1c051d721533307ff9d1879deb3107e3a51058fa;p=freeside.git diff --git a/httemplate/pref/pref.html b/httemplate/pref/pref.html index 57e22b345..81800bf26 100644 --- a/httemplate/pref/pref.html +++ b/httemplate/pref/pref.html @@ -31,7 +31,7 @@ Interface <% ntable("#cccccc",2) %> - Menu location: + Menu location: > Left
> Top
@@ -39,6 +39,21 @@ Interface + + Default customer view: + + + + +
@@ -109,12 +124,27 @@ Vonage integration (see Click2Call <% include('/elements/footer.html') %> +<%once> + + #false laziness w/view/cust_main.cgi + + tie my %customer_views, 'Tie::IxHash', + 'Basics' => 'basics', + 'Notes' => 'notes', #notes and files? + 'Tickets' => 'tickets', + 'Packages' => 'packages', + 'Payment History' => 'payment_history', + #'Change History' => '', + 'Jumbo' => 'jumbo', + ; + + <%init> my $curuser = $FS::CurrentUser::CurrentUser; # XSS via your own preferences? seems unlikely, but nice try anyway... -( $curuser->option('menu_position') || 'left' ) +( $curuser->option('menu_position') || 'top' ) =~ /^(\w+)$/ or die "illegal menu_position"; my $menu_position = $1; ( $curuser->option('email_address') )