1 <?xml version='1.0' encoding="UTF-8"?>
3 # Copyright (C) 2008 Georgia Public Library Service
4 # Bill Erickson <erickson@esilibrary.com>
5 # This program is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU General Public License
7 # as published by the Free Software Foundation; either version 2
8 # of the License, or (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
17 "-//W3C//DTD XHTML 1.0 Transitional//EN"
18 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" [
19 <!--#include virtual="/opac/locale/${locale}/lang.dtd"-->
22 <html xmlns='http://www.w3.org/1999/xhtml'>
24 <title>&staff.server.admin.org_unit_settings.title;</title>
25 <link type='text/css' rel='stylesheet' href='admin.css'/>
26 <script type="text/javascript" djConfig="parseOnLoad: true,isDebug:false" src="/js/dojo/dojo/dojo.js"></script>
27 <script type="text/javascript" src='org_unit_settings.js'></script>
29 // Configure the different settings
31 'circ.lost_materials_processing_fee' : {
32 label : '&staff.server.admin.org_settings.lost_fee;',
35 'cat.default_item_price' : {
36 label : '&staff.server.admin.org_settings.default_price;',
39 'auth.opac_timeout' : {
40 label : '&staff.server.admin.org_settings.opac_timeout;',
43 'auth.staff_timeout' : {
44 label : '&staff.server.admin.org_settings.staff_timeout;',
47 'org.bounced_emails' : {
48 label : '&staff.server.admin.org_settings.from_address;',
49 desc : '&staff.server.admin.org_settings.bounce_note;'
51 'circ.hold_expire_alert_interval' : {
52 label : '&staff.server.admin.org_settings.circ.hold_expire_alert_interval;',
53 desc : '&staff.server.admin.org_settings.circ.hold_expire_alert_interval.desc;',
55 'circ.hold_expire_interval' : {
56 label : '&staff.server.admin.org_settings.circ.hold_expire_interval;',
57 desc : '&staff.server.admin.org_settings.circ.hold_expire_interval.desc;',
59 'global.credit.allow' : {
60 label : '&staff.server.admin.org_settings.global.credit.allow;',
61 desc : '&staff.server.admin.org_settings.global.credit.allow.desc;',
64 'global.default_locale' : {
65 label : '&staff.server.admin.org_settings.global.default_locale;',
67 'circ.void_overdue_on_lost' : {
68 label : '&staff.server.admin.org_settings.circ.void_overdue_on_lost;',
71 'circ.hold_stalling.soft' : {
72 label : '&staff.server.admin.org_settings.circ.hold_stalling.soft;',
73 desc : '&staff.server.admin.org_settings.circ.hold_stalling.soft.desc;',
75 'circ.hold_boundary.hard' : {
76 label : '&staff.server.admin.org_settings.circ.hold_boundary.hard;',
79 'circ.hold_boundary.soft' : {
80 label : '&staff.server.admin.org_settings.circ.hold_boundary.soft;',
83 'opac.barcode_regex' : {
84 label : '&staff.server.admin.org_settings.opac.barcode_regex;',
85 desc : '&staff.server.admin.org_settings.opac.barcode_regex.desc;'
87 'global.password_regex' : {
88 label : '&staff.server.admin.org_settings.global.password_regex;',
89 desc : '&staff.server.admin.org_settings.global.password_regex.desc;'
91 'circ.item_checkout_history.max' : {
92 label : '&staff.server.admin.org_settings.circ.item_checkout_history.max;',
93 desc : '&staff.server.admin.org_settings.circ.item_checkout_history.max.desc;'
95 'circ.reshelving_complete.interval' : {
96 label : '&staff.server.admin.org_settings.circ.reshelving_complete.interval;',
97 desc : '&staff.server.admin.org_settings.circ.reshelving_complete.interval.desc;',
100 'circ.hold_estimate_wait_interval' : {
101 label : '&staff.server.admin.org_settings.circ.hold_estimate_wait_interval;',
102 desc : '&staff.server.admin.org_settings.circ.hold_estimate_wait_interval.desc;',
105 'circ.selfcheck.patron_login_timeout' : {
106 label : '&staff.server.admin.org_settings.circ.selfcheck.patron_login_timeout;',
107 desc : '&staff.server.admin.org_settings.circ.selfcheck.patron_login_timeout.desc;',
110 'circ.selfcheck.alert_on_checkout_event' : {
111 label : '&staff.server.admin.org_settings.circ.selfcheck.alert_on_checkout_event;',
112 desc : '&staff.server.admin.org_settings.circ.selfcheck.alert_on_checkout_event.desc;',
115 'circ.selfcheck.require_patron_password' : {
116 label : '&staff.server.admin.org_settings.circ.selfcheck.require_patron_password;',
117 desc : '&staff.server.admin.org_settings.circ.selfcheck.require_patron_password.desc;',
120 'global.juvenile_age_threshold' : {
121 label : '&staff.server.admin.org_settings.global.juvenile_age_threshold;',
122 desc : '&staff.server.admin.org_settings.global.juvenile_age_threshold.desc;',
124 'cat.bib.keep_on_empty' : {
125 label : '&staff.server.admin.org_settings.cat.bib.keep_on_empty;',
126 desc : '&staff.server.admin.org_settings.cat.bib.keep_on_empty.desc;',
129 'cat.bib.alert_on_empty' : {
130 label : '&staff.server.admin.org_settings.cat.bib.alert_on_empty;',
131 desc : '&staff.server.admin.org_settings.cat.bib.alert_on_empty.desc;',
134 'patron.password.use_phone' : {
135 label : '&staff.server.admin.org_settings.patron.password.use_phone;',
136 desc : '&staff.server.admin.org_settings.patron.password.use_phone.desc;',
139 'ui.circ.patron_summary.horizontal' : {
140 label : '&ui.circ.patron_summary.horizontal;',
141 desc : '&ui.circ.patron_summary.horizontal.desc;',
144 'ui.general.button_bar' : {
145 label : '&ui.general.button_bar;',
146 desc : '&ui.general.button_bar.desc;',
149 'circ.charge_on_damaged' : {
150 label : '&staff.server.admin.org_settings.circ.charge_on_damaged;',
151 desc : '&staff.server.admin.org_settings.circ.charge_on_damaged.desc;',
154 'circ.damaged_item_processing_fee' : {
155 label : '&staff.server.admin.org_settings.circ.damaged_item_processing_fee;',
156 desc : '&staff.server.admin.org_settings.circ.damaged_item_processing_fee.desc;',
159 'circ.void_lost_on_checkin' : {
160 label : '&staff.server.admin.org_settings.circ.void_lost_on_checkin;',
161 desc : '&staff.server.admin.org_settings.circ.void_lost_on_checkin.desc;',
164 'circ.max_accept_return_of_lost' : {
165 label : '&staff.server.admin.org_settings.circ.max_accept_return_of_lost;',
166 desc : '&staff.server.admin.org_settings.circ.max_accept_return_of_lost.desc;',
168 'circ.void_lost_proc_fee_on_checkin' : {
169 label : '&staff.server.admin.org_settings.circ.void_lost_proc_fee_on_checkin;',
170 desc : '&staff.server.admin.org_settings.circ.void_lost_proc_fee_on_checkin.desc;',
173 'circ.restore_overdue_on_lost_return' : {
174 label : '&staff.server.admin.org_settings.circ.restore_overdue_on_lost_return;',
175 desc : '&staff.server.admin.org_settings.circ.restore_overdue_on_lost_return.desc;',
178 'circ.lost_immediately_available' : {
179 label : '&staff.server.admin.org_settings.circ.lost_immediately_available;',
180 desc : '&staff.server.admin.org_settings.circ.lost_immediately_available.desc;',
186 <body class="tundra tall">
187 <div dojoType="dijit.layout.LayoutContainer" orientation="vertical" class="tall">
188 <div dojoType="dijit.layout.ContentPane" layoutAlign='top'>
189 <h1>&staff.server.admin.org_unit_settings.title;</h1><br/>
190 <span>&staff.server.admin.org_unit_settings.context;</span>
192 <select dojoType="openils.widget.OrgUnitFilteringSelect" jsId='osContextSelector'
193 searchAttr="shortname" autocomplete="true" labelAttr='shortname' onchange='osChangeContext();'>
196 <span>&staff.server.admin.org_unit_settings.uninherited;</span>
198 <div dojoType="dijit.layout.ContentPane" layoutAlign='client' class='tall'>
200 var osGridLayout = [{
201 defaultCell: {styles: 'text-align: center;'},
203 {name: 'Edit', get: osGetEditLink,
204 value: '<a href="javascript:void(0);" onclick="osLaunchEditor(\'SETTING\');">Edit</a>'},
205 {name: 'Setting', get: osGetGridData, field:'label', width:'auto', styles:'text-align:left;'},
206 {name: 'Context', get: osGetGridData, field:'context'},
207 {name: 'Value', get: osGetGridData, field:'value', width:'auto'},
211 <div dojoType='dojox.Grid' jsId='osGrid'> </div>
216 <div dojoType="dijit.Dialog" jsId='osEditDialog' title="&staff.server.admin.org_unit_settings.edit_setting;">
217 <table class='form_table'>
219 <tr><td colspan='2' align='center'><div id='os-edit-name'/></td></tr>
220 <tr><td colspan='2' align='center'><div id='os-edit-desc' style='max-width:600px;'/></td></tr>
226 <select dojoType="openils.widget.OrgUnitFilteringSelect" jsId='osEditContextSelector'
227 searchAttr="shortname" autocomplete="true" labelAttr='shortname'>
234 <input dojoType='dijit.form.TextBox' jsId='osEditTextBox'/>
235 <input dojoType='dijit.form.CurrencyTextBox' jsId='osEditCurrencyTextBox'/>
236 <input dojoType='dijit.form.NumberTextBox' jsId='osEditNumberTextBox'/>
237 <select dojoType='dijit.form.FilteringSelect' jsId='osEditBoolSelect'>
238 <option value='true'>&common.true;</option>
239 <option value='false'>&common.false;</option>
245 <button dojoType='dijit.form.Button' onclick='osEditSetting(true);'>&staff.server.admin.org_unit_settings.delete_setting;</button>
248 <button dojoType='dijit.form.Button' onclick='osEditSetting();'>&staff.server.admin.org_unit_settings.update_setting;</button>
253 </div> <!-- edit dialog -->
254 <span id='os-true' class='hidden'>&common.true;</span>
255 <span id='os-false' class='hidden'>&common.false;</span>