]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml
changed file type to xhtml to match other admin files. added support for choosing...
[Evergreen.git] / Open-ILS / xul / staff_client / server / admin / org_unit_settings.xhtml
1 <?xml version='1.0' encoding="UTF-8"?>
2 <!-- 
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.
9
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.
14 -->
15
16 <!DOCTYPE html PUBLIC 
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"-->
20 ]>
21
22 <html xmlns='http://www.w3.org/1999/xhtml'>
23     <head>
24         <title>Org Unit Settings</title>
25         <link type='text/css' rel='stylesheet' href='admin.css'/>
26         <script type="text/javascript" djConfig="parseOnLoad: true,isDebug:true" src="/js/dojo/dojo/dojo.js"></script>
27         <script type="text/javascript" src='org_unit_settings.js'></script>
28         <script>
29             var osSettings = {
30                 'circ.lost_materials_processing_fee' : {
31                     label : '&staff.server.admin.org_settings.lost_fee;',
32                     type : 'currency',
33                 },
34                 'cat.default_item_price' : {
35                     label : '&staff.server.admin.org_settings.default_price;',
36                     type : 'currency',
37                 },
38                 'auth.opac_timeout' : {
39                     label : '&staff.server.admin.org_settings.opac_timeout;',
40                     type : 'number',
41                 },
42                 'auth.staff_timeout' : {
43                     label : '&staff.server.admin.org_settings.staff_timeout;',
44                     type : 'number',
45                 },
46                 'org.bounced_emails' : {
47                     label : '&staff.server.admin.org_settings.from_address;',
48                 },
49                 'circ.hold_expire_alert_interval' : {
50                     label : 'Hold Expiration Alert Interval',
51                 },
52                 'circ.hold_expire_interval' : {
53                     label : 'Default Hold Expirate Interval',
54                 },
55                 'global.credit.allow' : {
56                     label : 'Allow Credit Card Payments',
57                     type : 'bool'
58                 },
59                 'global.default_locale' : {
60                     label : 'Default Locale',
61                 },
62             };
63         </script>
64     </head>
65     <body class="tundra tall">
66         <div dojoType="dijit.layout.LayoutContainer" orientation="vertical" class="tall">
67             <div dojoType="dijit.layout.ContentPane" layoutAlign='top'>
68                 <h1>Org Unit Settings</h1><br/>
69                 Context Location 
70                 <select dojoType="openils.widget.OrgUnitFilteringSelect" jsId='osContextSelector'
71                     searchAttr="shortname" autocomplete="true" labelAttr='shortname' onchange='osChangeContext();'> 
72                 </select>
73             </div>
74             <div dojoType="dijit.layout.ContentPane" layoutAlign='client' class='tall'>
75                 <script>
76                     var osGridLayout = [{
77                         defaultCell: {styles: 'text-align: center;'},
78                         cells : [[
79                             {name: 'Edit', get: osGetEditLink, 
80                                 value: '&lt;a href=&quot;javascript:void(0);&quot; onclick=&quot;osLaunchEditor(\'SETTING\');&quot;>Edit&lt;/a>'},
81                             {name: 'Setting', get: osGetGridData, field:'label', width:'auto'},
82                             {name: 'Context', get: osGetGridData, field:'context', width:'auto'},
83                             {name: 'Value', get: osGetGridData, field:'value', width:'auto'},
84                         ]]
85                     }];
86                 </script>
87                 <div dojoType='dojox.Grid' jsId='osGrid'> </div>
88             </div>
89         </div>
90     </body>
91 </html>
92