[calc] if($CGI->{customer}) { $CGI->{item_id} = $CGI->{customer}; } if(! $CGI->{item_id} and $Session->{arg}) { $CGI->{item_id} = $CGI->{customer} = $Session->{arg}; } $CGI->{customer} = $CGI->{item_id} if ! $CGI->{customer}; return if ! $CGI->{item_id}; if(! $CGI->{mv_data_table}) { $CGI->{ui_hide_key} = 1; $CGI->{mv_data_table} = 'userdb'; } if(! $CGI->{ui_data_fields}) { $CGI->{ui_data_fields} = 'username company fname lname fax_order mv_shipmode dealer price_level project_id credit_limit inactive email_copy mail_list email phone_day phone_night fax db_acl file_acl'; $CGI->{ui_display_only} = 'company fname lname phone_day'; } if(! $CGI->{mv_blob_field}) { $CGI->{mv_blob_title} = 'Profiles'; $CGI->{mv_blob_field} = 'preferences'; $CGI->{mv_blob_label} = 'nothing'; $CGI->{mv_blob_pointer} = 'p_nickname'; } if(! $CGI->{ui_break_before}) { $CGI->{ui_break_before} = 'dealer email_copy email db_acl'; $CGI->{ui_break_before_label} = 'dealer=Dealer status, email_copy=Email preferences, email=Contact info, db_acl=Permissions'; } if(! $CGI->{ui_return_to}) { $CGI->{ui_return_to} = join "\0", '__UI_BASE__/customer_view', "customer=$CGI->{item_id}", ; } return; [/calc] [if !cgi item_id] [bounce page="__UI_BASE__/customer"] [/if] [set ui_class]Customers[/set] [seti page_title]Customer preferences -- [cgi item_id][/seti] [seti page_banner]Customer preferences: [page href="__UI_BASE__/customer_view" form="customer=[cgi customer]"][cgi customer][/seti] [set help_name]customer.edit[/set] [set icon_name]icon_people.gif[/set] @_UI_STD_HEAD_@

[table-editor cgi=1] @_UI_STD_FOOTER_@