]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/xul/staff_client/server/patron/new_standing_penalty.xul
7e9271b61a880d0dc94f3c27381b6b9b9ec6a756
[working/Evergreen.git] / Open-ILS / xul / staff_client / server / patron / new_standing_penalty.xul
1 <?xml version="1.0"?>
2 <!-- Application: Evergreen Staff Client -->
3 <!-- Dialog: Apply Standing Penalty to Patron -->
4
5 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
6 <!-- PRESENTATION -->
7 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
8 <?xml-stylesheet href="/xul/server/skin/global.css" type="text/css"?>
9
10 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
11 <!-- LOCALIZATION -->
12 <!DOCTYPE window PUBLIC "" ""[
13     <!--#include virtual="/opac/locale/${locale}/lang.dtd"-->
14 ]>
15
16 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
17 <!-- OVERLAYS -->
18 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
19
20 <window id="new_penalty_win" 
21     onload="try { new_penalty_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
22     oils_persist="height width sizemode"
23     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
24     title="&staff.patron_display.apply_penalty_dialog.title;">
25
26     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
27     <!-- BEHAVIOR -->
28     <script type="text/javascript">var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true;</script>
29     <scripts id="openils_util_scripts"/>
30
31     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
32     <script type="text/javascript" src="new_standing_penalty.js"/>
33
34     <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties" />
35
36     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
37     <!-- CONTENT -->
38     <dialogheader title="&staff.patron_display.apply_penalty_dialog.header;" description="&staff.patron_display.apply_penalty_dialog.description;" />
39     <toolbox flex="1">
40         <toolbar>
41             <toolbarbutton id="note_btn" 
42                 type="radio" group="radio" style="-moz-user-focus: normal" 
43                 label="&staff.patron_display.apply_penalty_dialog.radio_btn.note.label;" accesskey="&staff.patron_display.apply_penalty_dialog.radio_btn.note.accesskey;" 
44                 checked="true"/>
45             <toolbarbutton id="alert_btn" 
46                 type="radio" group="radio" style="-moz-user-focus: normal" 
47                 label="&staff.patron_display.apply_penalty_dialog.radio_btn.alert.label;" accesskey="&staff.patron_display.apply_penalty_dialog.radio_btn.alert.accesskey;" />
48             <toolbarbutton id="block_btn" 
49                 type="radio" group="radio" style="-moz-user-focus: normal" 
50                 label="&staff.patron_display.apply_penalty_dialog.radio_btn.block.label;" accesskey="&staff.patron_display.apply_penalty_dialog.radio_btn.block.accesskey;" />
51             <toolbarspring/>
52             <toolbaritem>
53                 <menulist id="csp_menulist" label="">
54                     <menupopup id="csp_menupopup" value="21"/> <!-- default SILENT_NOTE -->
55                 </menulist>
56             </toolbaritem>
57         </toolbar>
58     </toolbox>
59     <textbox id="note_tb" multiline="true" />
60     <hbox>
61         <hbox id="initials_box" hidden="true">
62             <label control="initials_tb" 
63                 value="&staff.patron_display.apply_penalty_dialog.initials_entry.label;" 
64                 accesskey="&staff.patron_display.apply_penalty_dialog.initials_entry.accesskey;"/>
65             <textbox id="initials_tb" />
66         </hbox>
67         <spacer flex="1"/>
68         <button id="cancel_btn" label="&staff.patron_display.apply_penalty_dialog.cancel_btn.label;" accesskey="&staff.patron_display.apply_penalty_dialog.cancel_btn.accesskey;" />
69         <button id="apply_btn" label="&staff.patron_display.apply_penalty_dialog.apply_btn.label;" accesskey="&staff.patron_display.apply_penalty_dialog.apply_btn.accesskey;" />
70     </hbox>
71 </window>
72