]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/opac/skin/default/xml/common/holds.xml
added support for alerting and optionally preventing users when they attempt to place...
[working/Evergreen.git] / Open-ILS / web / opac / skin / default / xml / common / holds.xml
1 <script language='javascript' type='text/javascript' src='<!--#echo var="OILS_OPAC_JS_HOST"-->/common/js/DP_DateExtensions.js'></script>
2 <div>
3         <div id='xulholds_box' class='hide_me canvas' style='margin-top: 6px;'>
4                 <center>
5                         <table class='data_grid' style='margin-top: 20px;'>
6                                 <tbody>
7                                         <tr>
8                                                 <td>&opac.holds.xulRecipient;:</td>
9                                                 <td><input type='text' id='xul_recipient_barcode' /></td>
10                                                 <td><input type='submit' value='&common.submit;' id='xul_recipient_barcode_submit' /></td>
11                                                 <td><input type='submit' value='&common.cancel;' onclick='showCanvas();' /></td>
12                                                 <td><input type='submit' value='&common.hold.place;' id='xul_recipient_me' /></td>
13                                         </tr>
14                                 </tbody>
15                         </table>
16                 </center>
17         </div>
18
19         <div id='check_holds_box' class='hide_me canvas' 
20                 style='margin-top: 6px; width: 100%; text-align: center'>
21                 <br/><br/><br/>
22                 <b>&common.hold.check;</b>
23         </div>
24
25         <div id='holds_box' class='hide_me canvas' style='margin-top: 6px;'>
26         
27                 <br/>
28                 <table width='90%'>
29                         <tbody>
30                                 <tr>
31                                         <td class='holds_cell color_1' 
32                                                 align='center' colspan='2'>&common.hold.create;</td>
33                                 </tr>
34                                 <tr>
35                                         <td class='holds_cell'>&opac.holds.recipient;:</td>
36                                         <td class='holds_cell' id='holds_recipient'> </td>
37                                 </tr>
38                                 <tr>
39                                         <td class='holds_cell'>&common.title.label;</td>
40                                         <td class='holds_cell' id='holds_title'> </td>
41                                 </tr>
42                                 <tr>
43                                         <td class='holds_cell'>&common.author;</td>
44                                         <td class='holds_cell' id='holds_author'> </td>
45                                 </tr>
46                                 <tr>
47                                         <td class='holds_cell'>&common.format;</td>
48                                         <td class='holds_cell' id='holds_format'> </td>
49                                 </tr>
50                                 <tr id='hold_physical_desc_row'>
51                                         <td class='holds_cell'>&common.physical.label;</td>
52                                         <td class='holds_cell' id='holds_physical_desc'> </td>
53                                 </tr>
54
55                                 <tr class='hide_me' id='holds_cn_row'>
56                                         <td class='holds_cell'>&common.call.number.label;</td>
57                                         <td class='holds_cell'><b id='holds_cn'/> </td>
58                                 </tr>
59
60                                 <tr class='hide_me' id='holds_copy_row'>
61                                         <td class='holds_cell'>&common.copy.barcode.label;</td>
62                                         <td class='holds_cell'><b id='holds_copy'/> </td>
63                                 </tr>
64
65                                 <tr class='hide_me' id='holds_type_row'>
66                                         <td class='holds_cell'>&common.hold.type.label;</td>
67                                         <td class='holds_cell hide_me' id='holds_is_cn'><b>&common.hold.volume;</b></td>
68                                         <td class='holds_cell hide_me' id='holds_is_copy'><b>&common.hold.copy;</b></td>
69                                 </tr>
70
71                                 <tr>
72                                         <td class='holds_cell'>&opac.holds.contactPhone;:</td>
73                                         <td class='holds_cell'>
74                                                 <input id='holds_phone' size='13' maxlength='12'/>
75                                                 <span style='margin-left: 4px; font-size: 7pt;'>&common.phone.format;</span>
76                                         </td>
77                                 </tr>
78                                 <tr>
79                                         <td class='holds_cell'>&common.phone.enable;</td>
80                                         <td class='holds_cell'>
81                                                 <input type='checkbox' id='holds_enable_phone'  checked='checked'
82                                                         onchange='
83                                                                 if (this.checked) $("holds_phone").disabled=false; 
84                                                                 else $("holds_phone").disabled = true;'/>
85                                         </td>
86                                 </tr>
87
88                                 <tr>
89                                         <td class='holds_cell'>&opac.holds.contactEmail;:</td>
90                                         <td class='holds_cell' id='holds_email'> 
91                         <span class='hide_me' id='holds.no_email'>
92                            &common.email.none;<br/>
93                            &common.email.set;
94                         </span>
95                         <span class='hide_me' id='holds.no_email.xul'>
96                            &common.email.none; 
97                         </span>
98
99                     </td>
100                                 </tr>
101                                 <tr>
102                                         <td class='holds_cell'>&common.email.enable;</td>
103                                         <td class='holds_cell'>
104                                                 <input type='checkbox' id='holds_enable_email' checked='checked'/>
105                                         </td>
106                                 </tr>
107                                 <!--
108                                 <tr id='holds_depth_selector_row' class='hide_me'>
109                                         <td class='holds_cell'>Hold Range</td>
110                                         <td class='holds_cell'>
111                                                 <select id='holds_depth_selector'></select>
112                                         </td>
113                                 </tr>
114                                 -->
115                                 <tr>
116                                         <td class='holds_cell'>&opac.holds.pickupLocation;</td>
117                                         <td class='holds_cell'>
118                                                 <select id='holds_org_selector'> </select>
119                                         </td>
120                                 </tr>
121
122                                 <tr>
123                                         <td class='holds_cell'>&opac.holds.expire_time;</td>
124                                         <td class='holds_cell'>
125                         <input dojoType="dijit.form.DateTextBox" size='10' maxlength='10' id='holds_expire_time' />
126                                         </td>
127                                 </tr>
128
129                 <tr>
130                     <td class='holds_cell'>
131                         &opac.holds.freeze;
132                         <a class='classic_link' href='javascript:alert("&opac.holds.freeze.help;");'>&common.help;</a>
133                         </td>
134                     <td class='holds_cell'>
135                         <input type='checkbox' id='holds_frozen_chkbox' 
136                             onchange='
137                                 if($("holds_frozen_chkbox").checked) 
138                                     unHideMe($("hold_frozen_thaw_row"));
139                                 else
140                                     hideMe($("hold_frozen_thaw_row"));
141                             ' /> 
142                     </td>
143                 </tr>
144
145                 <tr id='hold_frozen_thaw_row' class='hide_me'>
146                     <td class='holds_cell'>
147                         <script language='javascript' type='text/javascript'> if($('holds_frozen_chkbox').checked) unHideMe($("hold_frozen_thaw_row"));</script>
148                         &opac.holds.freeze.thaw_date;
149                     </td>
150                     <td class='holds_cell'>
151                         <input dojoType="dijit.form.DateTextBox" size='10' maxlength='10' id='holds_frozen_thaw_input' />
152                     </td>
153                 </tr>
154
155                                 <tr id='holds_alt_formats_row_extras' class='hide_me'>
156                                         <td colspan='2' align='center'>
157                                                 <div style='padding: 8px;'>
158                                                         <a class='classic_link' href='javascript:void(0);' style='padding: 5px;'
159                                                                 onclick='unHideMe($("holds_alt_formats_row"));'>&common.hold.advanced;</a>
160                                                 </div>
161                                         </td>
162                                 </tr>
163
164                                 <tr id='holds_alt_formats_row' class='hide_me'>
165
166                                         <td class='holds_cell'>
167                                                 <div style='margin-bottom: 5px;'>
168                                                         <span>&common.format.alternatives; </span>
169                                                         <span> <a class='classic_link' style='color:red;' href='javascript:void(0);' 
170                                                                 onclick='alert($("holds_explain_adv").innerHTML)'>&common.help;</a></span>
171                                                 </div>
172                                                 <div>&common.control.click;</div>
173                                         </td>
174
175                                         <td class='holds_cell'>
176                                                 <select id='hold_alt_form_selector' multiple='multiple' style='width: 14em;'>
177                                                         <option value='at'      class='hide_me'>&opac.search.books;</option>
178                                                         <option value='at-d' class='hide_me'>&opac.search.largePrint;</option>
179                                                         <option value='i'               class='hide_me'>&opac.search.audioBooks;</option>
180                                                         <option value='g'               class='hide_me'>&opac.search.videoRecordings;</option>
181                                                         <option value='j'               class='hide_me'>&opac.search.music;</option>
182                                                 </select>
183                                         </td>
184                                 </tr>
185
186                                 <tr>
187                                         <td class='holds_cell' align='center' colspan='2'>
188                                                 <button id='holds_submit'>&opac.holds.placeHold;</button>
189                                                 <button class='hide_me' id='holds_update'>&common.hold.update;</button>
190                                                 <span style='padding: 20px;'> </span>
191                                                 <button id='holds_cancel'>&common.cancel;</button>
192                                         </td>
193                                 </tr>
194                         </tbody>
195                 </table>
196         
197                 <div class='hide_me' id='holds_success'>&opac.holds.success;</div>
198                 <div class='hide_me' id='holds_failure'>&opac.holds.failure;</div>
199                 <span class='hide_me' id='holds_bad_phone'>
200                         &common.phone.format.help;
201                 </span>
202
203                 <span class='hide_me' id='hold_not_allowed'>
204                         &common.hold.failed;
205                 </span>
206
207         </div>
208
209         <span class='hide_me' id='format_words'>
210                 <span name='at'>&opac.search.books;</span>
211                 <span name='at-d'>&opac.search.largePrint;</span>
212                 <span name='i'>&opac.search.audioBooks;</span>
213                 <span name='g'>&opac.search.videoRecordings;</span>
214                 <span name='j'>&opac.search.music;</span>
215                 <span name='m'>&opac.search.electronic;</span>
216         </span>
217
218         <span class='hide_me' id='holds_explain_adv'>&holds.advanced_options;</span>
219
220         <span class='hide_me' id='holds_pick_good_org'>&common.hold.delivery;</span>
221
222         <span class='hide_me' id='hold_dup_exists'>&common.hold.exists;</span>
223         <span class='hide_me' id='hold_checked_out'>&common.hold.checked_out;</span>
224
225         <span class='hide_me' id='hold_dup_exists_override'>&common.hold.exists.override;</span>
226         <span class='hide_me' id='hold_checked_out_override'>&common.hold.checked_out.override;</span>
227
228         <span id='hold_failed_patron_barred' class='hide_me'>&common.hold.barred;</span>
229
230         <span id='invalid_hold' class='hide_me'>&common.hold.item.invalid;</span>
231
232         <span id='holds_invalid_recipient' class='hide_me'>&common.hold.patron.invalid;</span>
233
234 </div>