home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / mozil06.zip / bin / chrome / messenger.jar / content / messenger / addressbook / abCardOverlay.xul < prev    next >
Extensible Markup Language  |  2001-02-14  |  11KB  |  325 lines

  1. <?xml version="1.0"?> 
  2. <!--
  3. The contents of this file are subject to the Netscape Public
  4. License Version 1.1 (the "License"); you may not use this file
  5. except in compliance with the License. You may obtain a copy of
  6. the License at http://www.mozilla.org/NPL/
  7.  
  8. Software distributed under the License is distributed on an "AS
  9. IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  10. implied. See the License for the specific language governing
  11. rights and limitations under the License.
  12.  
  13. The Original Code is Mozilla Communicator client code, released
  14. March 31, 1998.
  15.  
  16. The Initial Developer of the Original Code is Netscape
  17. Communications Corporation. Portions created by Netscape are
  18.  Copyright (C) 1998-1999 Netscape Communications Corporation. All
  19. Rights Reserved.
  20. --> 
  21.  
  22. <!DOCTYPE window SYSTEM "chrome://messenger/locale/addressbook/abCardOverlay.dtd">
  23.  
  24.  
  25. <overlay id="editcardOverlay"
  26.          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  27.  
  28. <script language="JavaScript" src="chrome://global/content/strres.js"/>
  29. <script language="JavaScript" src="chrome://messenger/content/addressbook/abCardOverlay.js"/>
  30.  
  31.  
  32. <box id="editcard" align="vertical">
  33.  
  34.     <tabcontrol orient="vertical" style="margin:5px">
  35.        <tabbox id="abTabBox">
  36.           <tab value="&Name.tab;"/>
  37.           <tab value="&Address.tab;"/>
  38.           <tab value="&Other.tab;"/>
  39.        </tabbox>
  40.        
  41.        <tabpanel id="abTabPanel" flex="1">
  42.  
  43.             <!-- ** Name Tab ** -->
  44.             <box index="name" align="vertical" flex="1">
  45.                 
  46.                 <titledbox orient="vertical" flex="1">
  47.                     <title value="&Name.box;"/>
  48.         
  49.                     <box align="vertical" style="width:100%">
  50.                         <box orient="horizontal">
  51.                             <spring flex="1"/>
  52.                             <text for="FirstName" value="&FirstName.label;" class="CardEditLabel"/>
  53.                             <box class="CardEditWidth">
  54.                                 <textfield id="FirstName" flex="1" oninput="top.GenerateDisplayName()"/>
  55.                             </box>
  56.                         </box>
  57.                         <box orient="horizontal">
  58.                             <spring flex="1"/>
  59.                             <text for="LastName" value="&LastName.label;" class="CardEditLabel"/>
  60.                             <box class="CardEditWidth">
  61.                                 <textfield id="LastName" flex="1" oninput="top.GenerateDisplayName()"/>
  62.                             </box>
  63.                         </box>
  64.                         <box orient="horizontal">
  65.                             <spring flex="1"/>
  66.                             <text for="DisplayName" value="&DisplayName.label;" class="CardEditLabel"/>
  67.                             <box class="CardEditWidth">
  68.                                 <textfield id="DisplayName" flex="1" oninput="top.DisplayNameChanged()"/>
  69.                             </box>
  70.                         </box>
  71.                         <box orient="horizontal">
  72.                             <spring flex="1"/>
  73.                             <text for="NickName" value="&NickName.label;" class="CardEditLabel"/>
  74.                             <box class="CardEditWidth">
  75.                                 <textfield id="NickName" flex="1"/>
  76.                             </box>
  77.                         </box>
  78.                     </box>
  79.                 </titledbox>
  80.  
  81.                 <titledbox orient="vertical" flex="1">
  82.                     <title>
  83.                         <text value="&Internet.box;"/>
  84.                     </title>
  85.         
  86.                     <box align="vertical" style="width:100%">
  87.                         <box orient="horizontal">
  88.                             <spring flex="1"/>
  89.                             <text for="PrimaryEmail" value="&PrimaryEmail.label;" class="CardEditLabel"/>
  90.                             <box class="CardEditWidth">
  91.                                 <textfield id="PrimaryEmail" flex="1"/>
  92.                             </box>
  93.                         </box>
  94.                         <box orient="horizontal">
  95.                             <spring flex="1"/>
  96.                             <text for="SecondEmail" value="&SecondEmail.label;" class="CardEditLabel"/>
  97.                             <box class="CardEditWidth">
  98.                                 <textfield id="SecondEmail" flex="1"/>
  99.                             </box>
  100.                         </box>
  101.                         <box orient="horizontal">
  102.                             <spring flex="1"/>
  103.                             <box class="CardEditWidth">
  104.                                 <checkbox id="SendPlainText" value="&SendPlainText.label;"/>
  105.                             </box>
  106.                         </box>
  107.                     </box>
  108.                 </titledbox>
  109.  
  110.                 <titledbox orient="vertical" flex="1">
  111.                     <title value="&Phones.box;"/>
  112.         
  113.                     <box align="vertical" style="width:100%">
  114.                         <box orient="horizontal">
  115.                             <spring flex="1"/>
  116.                             <text for="WorkPhone" value="&WorkPhone.label;" class="CardEditLabel"/>
  117.                             <box class="CardEditWidth">
  118.                                 <textfield id="WorkPhone" flex="1"/>
  119.                             </box>
  120.                         </box>
  121.                         <box orient="horizontal">
  122.                             <spring flex="1"/>
  123.                             <text for="HomePhone" value="&HomePhone.label;" class="CardEditLabel"/>
  124.                             <box class="CardEditWidth">
  125.                                 <textfield id="HomePhone" flex="1"/>
  126.                             </box>
  127.                         </box>
  128.                         <box orient="horizontal">
  129.                             <spring flex="1"/>
  130.                             <text for="FaxNumber" value="&FaxNumber.label;" class="CardEditLabel"/>
  131.                             <box class="CardEditWidth">
  132.                                 <textfield id="FaxNumber" flex="1"/>
  133.                             </box>
  134.                         </box>
  135.                         <box orient="horizontal">
  136.                             <spring flex="1"/>
  137.                             <text for="PagerNumber" value="&PagerNumber.label;" class="CardEditLabel"/>
  138.                             <box class="CardEditWidth">
  139.                                 <textfield id="PagerNumber" flex="1"/>
  140.                             </box>
  141.                         </box>
  142.                         <box orient="horizontal">
  143.                             <spring flex="1"/>
  144.                             <text for="CellularNumber" value="&CellularNumber.label;" class="CardEditLabel"/>
  145.                             <box class="CardEditWidth">
  146.                                 <textfield id="CellularNumber" flex="1"/>
  147.                             </box>
  148.                         </box>
  149.                     </box>
  150.                 </titledbox>
  151.             </box>
  152.             
  153.             <!-- ** Address Tab ** -->
  154.             <box index="address" align="vertical" flex="1">
  155.                 
  156.                 <titledbox orient="vertical" flex="1">
  157.                     <title value="&Home.box;"/>
  158.         
  159.                     <box align="vertical" style="width:100%">
  160.         
  161.                         <box orient="horizontal">
  162.                             <spring flex="1"/>
  163.                             <text for="HomeAddress" value="&HomeAddress.label;" class="CardEditLabel"/>
  164.                             <box class="CardEditWidth">
  165.                                 <textfield id="HomeAddress" flex="1"/>
  166.                             </box>
  167.                         </box>
  168.                         <box orient="horizontal">
  169.                             <spring flex="1"/>
  170.                             <text for="HomeAddress2" value="&HomeAddress2.label;" class="CardEditLabel"/>
  171.                             <box class="CardEditWidth">
  172.                                 <textfield id="HomeAddress2" flex="1"/>
  173.                             </box>
  174.                         </box>
  175.                         <box orient="horizontal">
  176.                             <spring flex="1"/>
  177.                             <text for="HomeCity" value="&HomeCity.label;" class="CardEditLabel"/>
  178.                             <box class="CardEditWidth">
  179.                                 <textfield id="HomeCity" flex="1"/>
  180.                             </box>
  181.                         </box>
  182.                         <box orient="horizontal">
  183.                             <spring flex="1"/>
  184.                             <text for="HomeState" value="&HomeState.label;" class="CardEditLabel"/>
  185.                             <box class="CardEditWidth">
  186.                                 <textfield id="HomeState" flex="1"/>
  187.                                 <spring class="stateZipSpacer"/>
  188.                                 <text for="HomeZipCode" value="&HomeZipCode.label;" class="CardEditLabel"/>
  189.                                 <textfield id="HomeZipCode" flex="1"/>
  190.                             </box>
  191.                         </box>
  192.                         <box orient="horizontal">
  193.                             <spring flex="1"/>
  194.                             <text for="HomeCountry" value="&HomeCountry.label;" class="CardEditLabel"/>
  195.                             <box class="CardEditWidth">
  196.                                 <textfield id="HomeCountry" flex="1"/>
  197.                             </box>
  198.                         </box>
  199.                         <box orient="horizontal">
  200.                             <spring flex="1"/>
  201.                             <text for="WebPage2" value="&HomeWebPage.label;" class="CardEditLabel"/>
  202.                             <box class="CardEditWidth">
  203.                                 <textfield id="WebPage2" flex="1"/>
  204.                             </box>
  205.                         </box>
  206.                     </box>
  207.                 </titledbox>
  208.  
  209.                 <titledbox orient="vertical" style="width:100%">
  210.                     <title value="&Work.box;"/>
  211.         
  212.                     <box align="vertical" style="width:100%">
  213.         
  214.                         <box orient="horizontal">
  215.                             <spring flex="1"/>
  216.                             <text for="JobTitle" value="&JobTitle.label;" class="CardEditLabel"/>
  217.                             <box class="CardEditWidth">
  218.                                 <textfield id="JobTitle" flex="1"/>
  219.                             </box>
  220.                         </box>
  221.                         <box orient="horizontal">
  222.                             <spring flex="1"/>
  223.                             <text for="Department" value="&Department.label;" class="CardEditLabel"/>
  224.                             <box class="CardEditWidth">
  225.                                 <textfield id="Department" flex="1"/>
  226.                             </box>
  227.                         </box>
  228.                         <box orient="horizontal">
  229.                             <spring flex="1"/>
  230.                             <text for="Company" value="&Company.label;" class="CardEditLabel"/>
  231.                             <box class="CardEditWidth">
  232.                                 <textfield id="Company" flex="1"/>
  233.                             </box>
  234.                         </box>
  235.                         <box orient="horizontal">
  236.                             <spring flex="1"/>
  237.                             <text for="WorkAddress" value="&WorkAddress.label;" class="CardEditLabel"/>
  238.                             <box class="CardEditWidth">
  239.                                 <textfield id="WorkAddress" flex="1"/>
  240.                             </box>
  241.                         </box>
  242.                         <box orient="horizontal">
  243.                             <spring flex="1"/>
  244.                             <text for="WorkAddress2" value="&WorkAddress2.label;" class="CardEditLabel"/>
  245.                             <box class="CardEditWidth">
  246.                                 <textfield id="WorkAddress2" flex="1"/>
  247.                             </box>
  248.                         </box>
  249.                         <box orient="horizontal">
  250.                             <spring flex="1"/>
  251.                             <text for="WorkCity" value="&WorkCity.label;" class="CardEditLabel"/>
  252.                             <box class="CardEditWidth">
  253.                                 <textfield id="WorkCity" flex="1"/>
  254.                             </box>
  255.                         </box>
  256.                         <box orient="horizontal">
  257.                             <spring flex="1"/>
  258.                             <text for="WorkState" value="&WorkState.label;" class="CardEditLabel"/>
  259.                             <box class="CardEditWidth">
  260.                                 <textfield id="WorkState" flex="1"/>
  261.                                 <spring class="stateZipSpacer"/>
  262.                                 <text for="WorkZipCode" value="&WorkZipCode.label;" class="CardEditLabel"/>
  263.                                 <textfield id="WorkZipCode" flex="1"/>
  264.                             </box>
  265.                         </box>
  266.                         <box orient="horizontal">
  267.                             <spring flex="1"/>
  268.                             <text for="WorkCountry" value="&WorkCountry.label;" class="CardEditLabel"/>
  269.                             <box class="CardEditWidth">
  270.                                 <textfield id="WorkCountry" flex="1"/>
  271.                             </box>
  272.                         </box>
  273.                         <box orient="horizontal">
  274.                             <spring flex="1"/>
  275.                             <text for="WebPage1" value="&WorkWebPage.label;" class="CardEditLabel"/>
  276.                             <box class="CardEditWidth">
  277.                                 <textfield id="WebPage1" flex="1"/>
  278.                             </box>
  279.                         </box>
  280.                     </box>
  281.                 </titledbox>
  282.  
  283.             </box>
  284.  
  285.             <!-- ** Other Tab ** -->
  286.             <box index="other" align="vertical" flex="1">
  287.                 
  288.                 <box align="vertical" class="alignBoxWithFieldset">
  289.                     <box flex="1">
  290.                         <text for="Custom1" value="&Custom1.label;" class="CardEditLabel"/>
  291.                         <textfield id="Custom1" flex="1"/>
  292.                     </box>
  293.                     <box flex="1">
  294.                         <text for="Custom2" value="&Custom2.label;" class="CardEditLabel"/>
  295.                         <textfield id="Custom2" flex="1"/>
  296.                     </box>
  297.                     <box flex="1">
  298.                         <text for="Custom3" value="&Custom3.label;" class="CardEditLabel"/>
  299.                         <textfield id="Custom3" flex="1"/>
  300.                     </box>
  301.                     <box flex="1">
  302.                         <text for="Custom4" value="&Custom4.label;" class="CardEditLabel"/>
  303.                         <textfield id="Custom4" flex="1"/>
  304.                     </box>
  305.                 </box>
  306.  
  307.                 <titledbox orient="vertical" style="width:100%">
  308.                     <title>
  309.                         <text value="&Notes.box;"/>
  310.                     </title>
  311.         
  312.                     <box align="vertical" style="width:100%">
  313.                         <textfield id="Notes" multiline="true" rows="15" wrap="virtual"/>
  314.                     </box>
  315.                 </titledbox>
  316.  
  317.             </box>
  318.  
  319.        </tabpanel> 
  320.     </tabcontrol>
  321. </box>
  322.  
  323. </overlay>
  324.  
  325.