2 <!DOCTYPE overlay SYSTEM "chrome://evergreen/locale/patron_search_form.dtd">
3 <overlay id="patron_search_form_overlay"
4 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
6 <script>mw.sdump('D_TRACE','Loading patron_search_form_overlay.xul\n');</script>
8 <commandset id="PatronSearchForm_cmds">
10 <command id="cmd_broken" oncommand="
11 alert('Not Yet Implemented'); "/>
13 <command id="cmd_search" />
14 <command id="cmd_clear" />
18 <!-- main widget for patron_search_form -->
19 <box id="PatronSearchForm_main" flex="0" orient="horizontal">
21 <!-- group 0 = user group 1 = address group 2 = phone, ident -->
26 <column id="psc2" flex="1"/>
30 <label id="psl1" control="pst1" value="&patron_search_form.family_name.label;" accesskey="&patron_search_form.family_name.accesskey;"/>
31 <textbox id="pst1" field="family_name" group="0"/>
34 <label id="psl2" control="pst2" value="&patron_search_form.first_given_name.label;" accesskey="&patron_search_form.first_given_name.accesskey;"/>
35 <textbox id="pst2" field="first_given_name" group="0"/>
38 <label id="psl3" control="pst3" value="&patron_search_form.second_given_name.label;" accesskey="&patron_search_form.second_given_name.accesskey;"/>
39 <textbox id="pst3" field="second_given_name" group="0"/>
42 <label id="psl4" control="pst4" value="&patron_search_form.email.label;" accesskey="&patron_search_form.email.accesskey;"/>
43 <textbox id="pst4" field="email" group="0"/>
46 <label id="psl5" control="pst5" value="&patron_search_form.phone.label;" accesskey="&patron_search_form.phone.accesskey;"/>
47 <textbox id="pst5" field="phone" group="2"/>
50 <label id="psl6" control="pst6" value="&patron_search_form.ident.label;" accesskey="&patron_search_form.ident.accesskey;"/>
51 <textbox id="pst6" field="ident" group="2"/>
54 <label id="psl6a" value=" "/>
57 <label id="psl7" control="pst7" value="&patron_search_form.street1.label;" accesskey="&patron_search_form.street1.accesskey;"/>
58 <textbox id="pst7" field="street1" group="1"/>
61 <label id="psl8" control="pst8" value="&patron_search_form.street2.label;" accesskey="&patron_search_form.street2.accesskey;"/>
62 <textbox id="pst8" field="street2" group="1"/>
65 <label id="psl9" control="pst9" value="&patron_search_form.city.label;" accesskey="&patron_search_form.city.accesskey;"/>
66 <textbox id="pst9" field="city" group="1"/>
69 <label id="psl10" control="pst10" value="&patron_search_form.state.label;" accesskey="&patron_search_form.state.accesskey;"/>
70 <textbox id="pst10" field="state" group="1"/>
73 <label id="psl11" control="pst11" value="&patron_search_form.post_code.label;" accesskey="&patron_search_form.post_code.accesskey;"/>
74 <textbox id="pst11" field="post_code" group="1"/>
78 <button id="psb12" label="&patron_search_form.search.label;" accesskey="&patron_search_form.search.accesskey;" key="ps_search" command="cmd_search"/>
82 <button id="psb13" label="&patron_search_form.clear.label;" accesskey="&patron_search_form.clear.accesskey;" key="ps_clear" command="cmd_clear"/>
89 <!-- Accelerator Keys (Accessor Keys are in DTD's) -->
90 <keyset id="PatronSearchForm_keys">
91 <key id="ps_search" modifiers="" keycode="VK_RETURN" command="cmd_search"/>
92 <key id="ps_clear" modifiers="accel" keycode="VK_DELETE" command="cmd_clear"/>