1 [% PROCESS "opac/parts/header.tt2";
2 PROCESS "opac/parts/org_selector.tt2";
3 WRAPPER "opac/parts/myopac/prefs_base.tt2";
5 prefs_page = 'settings' %]
10 <table class="full-width data_grid" id="acct_search_main">
13 [% IF ctx.updated_user_settings %]
15 <div class='renew-summary'>
16 [% l('Account Successfully Updated') %]
21 [%- setting = 'opac.hits_per_page' -%]
23 <td width='20%'><label for='[% setting %]'>l("Search hits per page") %]</label></td>
25 <select id='[% setting %]' name='[% setting %]'>
26 [% UNLESS ctx.user_setting_map.$setting;
27 ctx.user_setting_map.$setting = 10;
29 FOR val IN [5, 8, 10, 15, 20, 25, 50] %]
30 <option value='[% val | uri %]'
31 [% IF ctx.user_setting_map.$setting == val %]
32 selected='selected'[% END %]>[% val | html %]</option>
35 <a href="#"><img alt="[% l('Search Hits Help') %]"
36 src="[% ctx.media_prefix %]/images/question-mark.png"
40 [%- setting = 'opac.default_search_location'; -%]
42 <td width='20%'><label for='[% setting %]'>[% l("Preferred search location") %]</label></td>
44 [%- thang = ctx.user.home_ou.id;
45 IF ctx.user_setting_map.$setting;
46 thang = ctx.user_setting_map.$setting;
49 INCLUDE build_org_selector name=setting value=thang;
53 [%- setting = 'opac.default_pickup_location'; -%]
55 <td width='20%'><label for='[% setting %]'>[% l("Preferred pickup location") %]</label></td>
57 [%- thang = ctx.user.home_ou.id;
58 IF ctx.user_setting_map.$setting;
59 thang = ctx.user_setting_map.$setting;
62 INCLUDE build_org_selector name=setting value=thang can_have_vols_only=1;
66 [%- setting = 'history.circ.retention_start' -%]
68 <td><label for='[% setting %]'>[% l('Keep history of checked out items?') %]</label></td>
70 <input id='[% setting %]' name='[% setting %]' type="checkbox"
71 [% IF ctx.user_setting_map.$setting; %] checked='checked' [% END %]/>
74 [%- setting = 'history.hold.retention_start' -%]
76 <td><label for='[% setting %]'>[% l('Keep history of holds?') %]</label></td>
78 <input id='[% setting %]' name='[% setting %]' type="checkbox"
79 [% IF ctx.user_setting_map.$setting; %] checked='checked' [% END %]/>
82 [%- setting = 'opac.temporary_list_no_warn' -%]
84 <td><label for='[% setting %]'>[% l('Skip warning when adding to temporary book list?') %]</label></td>
86 <input id='[% setting %]' name='[% setting %]' type="checkbox"
87 [% IF ctx.user_setting_map.$setting %] checked='checked' [% END %]/>
92 <td><label for='prefs_def_font'>[% l("Default Font Size") %]</label></td>
94 <select id='prefs_def_font'>
95 <option value='regular'>[% l("Regular Font") %]</option>
96 <option value='large'>[% l("Large Font") %]</option>
104 <input type="submit" value="[% l('Save') %]" alt="[% l('Save') %]" class="opac-button"/>
106 [% INCLUDE "opac/parts/myopac/prefs_hints.tt2" %]