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.void_item_billing_on_lost_return' : {
150 label : '&staff.server.admin.org_settings.circ.void_item_billing_on_lost_return;',
151 desc : '&staff.server.admin.org_settings.circ.void_item_billing_on_lost_return.desc;',
154 'circ.void_item_billing_on_lost_return_before_interval' : {
155 label : '&staff.server.admin.org_settings.circ.void_item_billing_on_lost_return_before_interval;',
156 desc : '&staff.server.admin.org_settings.circ.void_item_billing_on_lost_return_before_interval.desc;',
161 <body class="tundra tall">
162 <div dojoType="dijit.layout.LayoutContainer" orientation="vertical" class="tall">
163 <div dojoType="dijit.layout.ContentPane" layoutAlign='top'>
164 <h1>&staff.server.admin.org_unit_settings.title;</h1><br/>
165 <span>&staff.server.admin.org_unit_settings.context;</span>
167 <select dojoType="openils.widget.OrgUnitFilteringSelect" jsId='osContextSelector'
168 searchAttr="shortname" autocomplete="true" labelAttr='shortname' onchange='osChangeContext();'>
171 <span>&staff.server.admin.org_unit_settings.uninherited;</span>
173 <div dojoType="dijit.layout.ContentPane" layoutAlign='client' class='tall'>
175 var osGridLayout = [{
176 defaultCell: {styles: 'text-align: center;'},
178 {name: 'Edit', get: osGetEditLink,
179 value: '<a href="javascript:void(0);" onclick="osLaunchEditor(\'SETTING\');">Edit</a>'},
180 {name: 'Setting', get: osGetGridData, field:'label', width:'auto', styles:'text-align:left;'},
181 {name: 'Context', get: osGetGridData, field:'context'},
182 {name: 'Value', get: osGetGridData, field:'value', width:'auto'},
186 <div dojoType='dojox.Grid' jsId='osGrid'> </div>
191 <div dojoType="dijit.Dialog" jsId='osEditDialog' title="&staff.server.admin.org_unit_settings.edit_setting;">
192 <table class='form_table'>
194 <tr><td colspan='2' align='center'><div id='os-edit-name'/></td></tr>
195 <tr><td colspan='2' align='center'><div id='os-edit-desc' style='max-width:600px;'/></td></tr>
201 <select dojoType="openils.widget.OrgUnitFilteringSelect" jsId='osEditContextSelector'
202 searchAttr="shortname" autocomplete="true" labelAttr='shortname'>
209 <input dojoType='dijit.form.TextBox' jsId='osEditTextBox'/>
210 <input dojoType='dijit.form.CurrencyTextBox' jsId='osEditCurrencyTextBox'/>
211 <input dojoType='dijit.form.NumberTextBox' jsId='osEditNumberTextBox'/>
212 <select dojoType='dijit.form.FilteringSelect' jsId='osEditBoolSelect'>
213 <option value='true'>&common.true;</option>
214 <option value='false'>&common.false;</option>
220 <button dojoType='dijit.form.Button' onclick='osEditSetting(true);'>&staff.server.admin.org_unit_settings.delete_setting;</button>
223 <button dojoType='dijit.form.Button' onclick='osEditSetting();'>&staff.server.admin.org_unit_settings.update_setting;</button>
228 </div> <!-- edit dialog -->
229 <span id='os-true' class='hidden'>&common.true;</span>
230 <span id='os-false' class='hidden'>&common.false;</span>