[% PROCESS "opac/parts/header.tt2"; PROCESS "opac/parts/org_selector.tt2"; WRAPPER "opac/parts/myopac/prefs_base.tt2"; myopac_page = "prefs"; prefs_page = 'prefs_settings' %]

[% l('Search and History Preferences') %]

[% IF ctx.confirm_history_delete %] [% ELSIF ctx.updated_user_settings OR ctx.updated_waiver_entries %] [% END %] [%- setting = 'opac.hits_per_page' -%] [%- setting = 'opac.default_search_location'; -%] [%- setting = 'opac.default_pickup_location'; -%] [%- setting = 'history.circ.retention_start' -%] [% circ_name = l('Keep history of checked out items?') %] [%- setting = 'history.hold.retention_start' -%] [% hold_name = l('Keep history of holds?') %] [%- setting = 'opac.temporary_list_no_warn' -%] [% skip_warn = l('Skip warning when adding to temporary book list?') %] [%- setting = 'circ.holds_behind_desk'; IF ctx.behind_desk_supported -%] [% behind_desk = l('Pickup holds from behind the desk when possible?') %] [% END %] [%- IF ctx.get_org_setting(ctx.user.home_ou.id, 'circ.privacy_waiver'); %] [% END %]
[% l('Disabling checkout or holds history will permanently remove all items from your history.') %]
[% l('Are you sure you wish to continue?') %]
[% l('Cancel') %]
[% l('Account Successfully Updated') %]
[% l('Search Hits Help') %]
[%- thang = ctx.user.home_ou.id; IF ctx.user_setting_map.$setting; thang = ctx.user_setting_map.$setting; END; id = setting; INCLUDE build_org_selector name=setting value=thang; %]
[%- thang = ctx.user.home_ou.id; IF ctx.user_setting_map.$setting; thang = ctx.user_setting_map.$setting; END; id = setting; INCLUDE build_org_selector name=setting value=thang can_have_vols_only=1; %]
[% l('Allow others to use my account') %] [% FOR waiver IN ctx.user.waiver_entries %]
[% l('Name:') %]
[% END %]
[% l('Name:') %]
[% IF !ctx.confirm_history_delete %] [% END %]
[% INCLUDE "opac/parts/myopac/prefs_hints.tt2" %] [% END %]