2 <!DOCTYPE overlay SYSTEM "chrome://evergreen/locale/patron_display.dtd">
3 <overlay id="patron_display_contact_overlay"
4 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
6 <script>mw.sdump('D_TRACE','Loading patron_display_contact_overlay.xul\n');</script>
8 <commandset id="universal_cmds">
10 <command id="cmd_broken" oncommand="
11 alert('Not Yet Implemented'); "/>
15 <!-- main widget for patron_display_contact -->
16 <box id="PatronDisplayContact_main" flex="1" orient="vertical" style="overflow: auto;">
17 <groupbox id="PatronDisplayContact_groupbox" flex="1"/>
20 <groupbox id="PatronDisplayContact_groupbox" orient="vertical">
21 <caption label="&patron_display.contact.caption;"/>
23 <grid id="PatronDisplayContact_grid" />
24 <spacer id="pdcgbhbs1" flex="1"/>
25 <image id="PatronDisplay_photo"
26 render="true" fm_class="au" render_value=".photo_url()" />
28 <grid id="PatronDisplayContact_grid_phone" />
29 <groupbox id="PatronDisplayContact_mailing_address" />
30 <groupbox id="PatronDisplayContact_physical_address" />
33 <grid id="PatronDisplayContact_grid">
35 <column id="pdsgc1" />
36 <column id="pdsgc2" />
38 <rows id="pdsgr" flex="1">
40 <label id="PatronDisplayContact_library_card_label" class="text_right"
41 value="&patron_display.library_card.label;"/>
42 <label id="PatronDisplayContact_library_card"
43 render="true" fm_class="au" render_value="patron_get_barcode($$)"/>
46 <label id="PatronDisplayContact_ident_label" class="text_right"
47 value="&patron_display.ident1.label;"/>
49 <label id="PatronDisplayContact_ident_type"
50 render="true" fm_class="au" render_value="patron_get_ident1_type_as_text($$)" />
51 <label id="PatronDisplayContact_ident_value"
52 render="true" fm_class="au" render_value=".ident_value()" />
56 <label id="PatronDisplayContact_ident_label2" class="text_right"
57 value="&patron_display.ident2.label;"/>
59 <label id="PatronDisplayContact_ident_type2"
60 render="true" fm_class="au" render_value="patron_get_ident2_type_as_text($$)" />
61 <label id="PatronDisplayContact_ident_value2"
62 render="true" fm_class="au" render_value=".ident_value2()" />
66 <label id="PatronDisplayContact_date_of_birth_label" class="text_right"
67 value="&patron_display.date_of_birth.label;"/>
68 <label id="PatronDisplayContact_date_of_birth"
69 render="true" fm_class="au" render_value=".dob()"/>
71 <row id="pdsgr4"><label id="pdsgr4l" value=" "/></row>
75 <grid id="PatronDisplayContact_grid_phone">
77 <column id="pdcgpc1" />
78 <column id="pdcgpc2" />
80 <rows id="pdcgpr" flex="1">
82 <label id="PatronDisplayContact_day_phone_label" class="text_right"
83 value="&patron_display.day_phone.label;" />
84 <label id="PatronDisplayContact_day_phone"
85 render="true" fm_class="au"
86 render_value=".day_phone()" />
89 <label id="PatronDisplayContact_evening_phone_label" class="text_right"
90 value="&patron_display.evening_phone.label;" />
91 <label id="PatronDisplayContact_evening_phone"
92 render="true" fm_class="au"
93 render_value=".evening_phone()" />
96 <label id="PatronDisplayContact_other_phone_label" class="text_right"
97 value="&patron_display.other_phone.label;" />
98 <label id="PatronDisplayContact_other_phone"
99 render="true" fm_class="au"
100 render_value=".other_phone()" />
102 <row id="pdsgpr4"><label id="pdsgpr4l" value=" "/></row>
104 <label id="PatronDisplayContact_email_label" class="text_right"
105 value="&patron_display.email.label;" />
106 <label id="PatronDisplayContact_email"
107 render="true" fm_class="au"
108 render_value=".email()" />
110 <row id="pdsgpr6"><label id="pdsgpr6l" value=" "/></row>
115 <groupbox id="PatronDisplayContact_mailing_address" orient="vertical">
116 <caption id="pdcmac" label="&patron_display.mailing_address;"/>
118 tooltiptext="&patron_display.mailing.street1.label;"
119 render="true" fm_class="au" render_value=".mailing_address().street1()" />
121 tooltiptext="&patron_display.mailing.street2.label;"
122 render="true" fm_class="au" render_value=".mailing_address().street2()" />
125 tooltiptext="&patron_display.mailing.city.label;"
126 render="true" fm_class="au" render_value=".mailing_address().city()" />
128 tooltiptext="&patron_display.mailing.state.label;"
129 render="true" fm_class="au" render_value=".mailing_address().state()" />
131 tooltiptext="&patron_display.mailing.post_code.label;"
132 render="true" fm_class="au" render_value=".mailing_address().post_code()" />
136 <groupbox id="PatronDisplayContact_physical_address" orient="vertical">
137 <caption id="pdcpac" label="&patron_display.physical_address;"/>
139 tooltiptext="&patron_display.physical.street1.label;"
140 render="true" fm_class="au" render_value=".billing_address().street1()" />
142 tooltiptext="&patron_display.physical.street2.label;"
143 render="true" fm_class="au" render_value=".billing_address().street2()" />
146 tooltiptext="&patron_display.physical.city.label;"
147 render="true" fm_class="au" render_value=".billing_address().city()" />
149 tooltiptext="&patron_display.physical.state.label;"
150 render="true" fm_class="au" render_value=".billing_address().state()" />
152 tooltiptext="&patron_display.physical.post_code.label;"
153 render="true" fm_class="au" render_value=".billing_address().post_code()" />
160 <!-- Accelerator Keys (Accessor Keys are in DTD's) -->
161 <keyset id="PatronDisplayContact_keys">