+
+ <TR>
+ <TH ALIGN="right">Hide package changes: </TH>
+ <TD COLSPAN=2>
+ <& /elements/select.html,
+ field => 'hide_package_changes',
+ options => [ '', 'location', 'all' ],
+ labels => { '' => 'never',
+ 'location' => 'location changes',
+ 'all' => 'all package changes',
+ },
+ curr_value => ($cgi->param('hide_package_changes')
+ || $curuser->option('hide_package_changes')),
+ &>
+ </TD>
+ </TR>
+
+% my $history_order = $curuser->option('history_order') || 'oldest';
+ <TR>
+ <TH ALIGN="right">Customer history sort order: </TH>
+ <TD COLSPAN=2>
+ <& /elements/select.html,
+ field => 'history_order',
+ curr_value => $history_order,
+ options => [ 'oldest', 'newest' ],
+ labels => { 'oldest' => 'Oldest first',
+ 'newest' => 'Newest first',
+ },
+ &>
+ </TD>
+ </TR>