gecko-dev/extensions/wallet/editor/WalletPhone.xul

210 строки
7.9 KiB
XML

<?xml version="1.0"?>
<!--
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
Contributor(s):
-->
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<!DOCTYPE window [
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
%brandDTD;
<!ENTITY % walletviewerDTD SYSTEM "chrome://communicator/locale/wallet/WalletViewer.dtd" >
%walletviewerDTD;
]>
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="parent.initPanel();">
<script type="application/x-javascript">
<![CDATA[
var _elementIDs = ["phone.loccode", "phone.number.prefix", "phone.number.suffix", "phone.extension",
"altphone.loccode", "altphone.number.prefix", "altphone.number.suffix", "altphone.extension",
"fax.loccode", "fax.number.prefix", "fax.number.suffix",
"mobile.loccode", "mobile.number.prefix", "mobile.number.suffix",
"pager.loccode", "pager.number.prefix", "pager.number.suffix"];
]]>
</script>
<script type="application/x-javascript"
src="chrome://communicator/content/wallet/WalletViewer.js"/>
<groupbox>
<caption label="&phone.title;"/>
<grid class="indent" flex="1">
<columns>
<column/>
<column/>
<column flex="20%" width="0"/>
<column/>
<column flex="20%" width="0"/>
<column/>
<column flex="30%" width="0"/>
<column/>
<column flex="30%" width="0"/>
</columns>
<rows>
<row align="center">
<description>&phoneDay.label;</description>
<label value="("/>
<menulist id="phone.loccode" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value=")"/>
<menulist id="phone.number.prefix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="__"/>
<menulist id="phone.number.suffix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="&phoneDayExt.label;" />
<menulist id="phone.extension" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
</row>
<row align="center">
<description>&phoneEve.label;</description>
<label value="("/>
<menulist id="altphone.loccode" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value=")"/>
<menulist id="altphone.number.prefix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="__"/>
<menulist id="altphone.number.suffix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="&phoneEveExt.label;" />
<menulist id="altphone.extension" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
</row>
<row align="center">
<description>&phoneFax.label;</description>
<label value="("/>
<menulist id="fax.loccode" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value=")"/>
<menulist id="fax.number.prefix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="__"/>
<menulist id="fax.number.suffix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
</row>
<row align="center">
<description>&phoneCell.label;</description>
<label value="("/>
<menulist id="mobile.loccode" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value=")"/>
<menulist id="mobile.number.prefix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="__"/>
<menulist id="mobile.number.suffix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
</row>
<row align="center">
<description>&phonePager.label;</description>
<label value="("/>
<menulist id="pager.loccode" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value=")"/>
<menulist id="pager.number.prefix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="__"/>
<menulist id="pager.number.suffix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
</row>
</rows>
</grid>
</groupbox>
</page>