Apply patch to add a patron profile filter to the "Search for Patrons" UI
[evergreen-equinox.git] / Open-ILS / xul / staff_client / server / patron / search_form_overlay.xul
1 <?xml version="1.0"?>
2
3 <!DOCTYPE overlay PUBLIC "" ""[
4    <!--#include virtual="/opac/locale/${locale}/lang.dtd"-->
5 ]>
6
7
8 <overlay id="patron_search_overlay" 
9     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
10
11 <script>dump('loading patron/search_overlay.xul\n');</script>
12
13 <commandset id="patron_search_form_cmds">
14     <command id="cmd_patron_search_submit" />
15     <command id="cmd_patron_search_clear" />
16 </commandset>
17
18 <box id="patron_search_form_main" orient="vertical" class="my_overflow">
19     <groupbox id="psgf_gb">
20         <caption id="psgf_gbc" label='&staff.patron_search_form.caption;' />
21         <grid id="psg" />
22     </groupbox>
23 </box>
24
25 <!-- group 0 = user  group 1 = address  group 2 = phone, ident -->
26
27 <grid id="psg">
28     <columns id="psc">
29         <column id="psc1"/>
30         <column id="psc2" flex="1"/>
31     </columns>
32     <rows id="psr">
33         <row>
34             <label control="inactive" accesskey="&staff.patron.search_form_overlay.inactive.accesskey;" value="&staff.patron.search_form_overlay.inactive.value;"/>
35             <checkbox id="inactive" />
36         </row>
37         <row>
38             <label control="search_range_menu" value="&staff.patron.search_form_overlay.search_range_menu.value;"/>
39             <hbox id="search_depth" />
40         </row>
41         <row id="psr1">
42             <label id="psl1" control="family_name" 
43                 value="&staff.patron_search_form.family_name.label;" 
44                 accesskey="&staff.patron_search_form.family_name.accesskey;"/>
45             <textbox id="family_name" group="0" context="clipboard"/>
46         </row>
47         <row id="psr2">
48             <label id="psl2" control="first_given_name" 
49                 value="&staff.patron_search_form.first_given_name.label;" 
50                 accesskey="&staff.patron_search_form.first_given_name.accesskey;"/>
51             <textbox id="first_given_name" group="0" context="clipboard"/>
52         </row>
53         <row id="psr3">
54             <label id="psl3" control="second_given_name" 
55                 value="&staff.patron_search_form.second_given_name.label;" 
56                 accesskey="&staff.patron_search_form.second_given_name.accesskey;"/>
57             <textbox id="second_given_name" group="0" context="clipboard"/>
58         </row>
59         <row id="psr14">
60             <label id="psl14" control="alias" 
61                 value="&staff.patron_search_form.alias.label;" 
62                 accesskey="&staff.patron_search_form.alias.accesskey;"/>
63             <textbox id="alias" group="0" context="clipboard"/>
64         </row>
65         <row id="psr4">
66             <label id="psl4" control="email" 
67                 value="&staff.patron_search_form.email.label;" 
68                 accesskey="&staff.patron_search_form.email.accesskey;"/>
69             <textbox id="email" group="0" context="clipboard"/>
70         </row>
71         <row id="psr5">
72             <label id="psl5" control="phone" 
73                 value="&staff.patron_search_form.phone.label;" 
74                 accesskey="&staff.patron_search_form.phone.accesskey;"/>
75             <textbox id="phone" group="2" context="clipboard"/>
76         </row>
77         <row id="psr6">
78             <label id="psl6" control="ident" 
79                 value="&staff.patron_search_form.ident.label;" 
80                 accesskey="&staff.patron_search_form.ident.accesskey;"/>
81             <textbox id="ident" group="2" context="clipboard"/>
82         </row>
83         <row id="psr6b">
84             <label id="psl6b" control="usrname" 
85                 value="&staff.patron_search_form.usrname.label;" 
86                 accesskey="&staff.patron_search_form.usrname.accesskey;"/>
87             <textbox id="usrname" group="0" context="clipboard"/>
88         </row>
89         <row id="psr6c">
90             <label id="psl6c" control="card" 
91                 value="&staff.patron_search_form.card.label;" 
92                 accesskey="&staff.patron_search_form.card.accesskey;"/>
93             <textbox id="card" group="0" context="clipboard"/>
94         </row>
95         <row id="psr6a">
96             <label id="psl6a" value=" "/>
97         </row>
98         <row id="psr7">
99             <label id="psl7" control="street1" 
100                 value="&staff.patron_search_form.street1.label;" 
101                 accesskey="&staff.patron_search_form.street1.accesskey;"/>
102             <textbox id="street1" group="1" context="clipboard"/>
103         </row>
104         <row id="psr8">
105             <label id="psl8" control="street2" 
106                 value="&staff.patron_search_form.street2.label;" 
107                 accesskey="&staff.patron_search_form.street2.accesskey;"/>
108             <textbox id="street2" group="1" context="clipboard"/>
109         </row>
110         <row id="psr9">
111             <label id="psl9" control="city" 
112                 value="&staff.patron_search_form.city.label;" 
113                 accesskey="&staff.patron_search_form.city.accesskey;"/>
114             <textbox id="city" group="1" context="clipboard"/>
115         </row>
116         <row id="psr10" hidden="true">
117             <label id="psl10" control="state" 
118                 value="&staff.patron_search_form.state.label;" 
119                 accesskey="&staff.patron_search_form.state.accesskey;"/>
120             <textbox id="state" group="1" context="clipboard"/>
121         </row>
122         <row id="psr11">
123             <label id="psl11" control="post_code" 
124                 value="&staff.patron_search_form.post_code.label;" 
125                 accesskey="&staff.patron_search_form.post_code.accesskey;"/>
126             <textbox id="post_code" group="1" context="clipboard"/>
127         </row>
128         <vbox flex="1" style="overflow: auto">
129             <groupbox flex="1">
130                 <caption label="&staff.patron_search_form.profile.label;" />
131                 <menulist id="profile">
132                     <menupopup>
133                         <menuitem label="" value=""/>
134                     </menupopup>
135                 </menulist>
136             </groupbox>
137         </vbox>
138         <row id="psr12">
139             <spacer id="pss12"/>
140             <button id="search" label="&staff.patron_search_form.search.label;" 
141                 accesskey="&staff.patron_search_form.search.accesskey;"
142                 command="cmd_patron_search_submit"/>
143         </row>
144         <row id="psr13">
145             <spacer id="pss13"/>
146             <button id="clear" label="&staff.patron_search_form.clear.label;" 
147                 accesskey="&staff.patron_search_form.clear.accesskey;"
148                 command="cmd_patron_search_clear"/>
149         </row>
150     </rows>
151 </grid>
152
153
154 </overlay>