home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 October / Gamestar_77_2005-10_dvd.iso / Programy / nsb-install-8-0.exe / chrome / messenger.jar / content / messenger / addressbook / addressbook.xul < prev    next >
Extensible Markup Language  |  2005-07-29  |  24KB  |  446 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. Contributor(s):
  22.   Seth Spitzer <sspitzer@netscape.com>
  23. --> 
  24.  
  25. <?xml-stylesheet href="chrome://messenger/skin/addressbook/addressbook.css" type="text/css"?> 
  26.  
  27. <?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  28. <?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
  29. <?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xul"?>
  30. <?xul-overlay href="chrome://messenger/content/addressbook/abDirTreeOverlay.xul"?>
  31. <?xul-overlay href="chrome://messenger/content/addressbook/abResultsPaneOverlay.xul"?>
  32. <?xul-overlay href="chrome://messenger/content/addressbook/abCardViewOverlay.xul"?>
  33. <?xul-overlay href="chrome://communicator/content/communicatorOverlay.xul"?>
  34.  
  35. <!DOCTYPE window [
  36. <!ENTITY % abMainWindowDTD SYSTEM "chrome://messenger/locale/addressbook/abMainWindow.dtd" >
  37. %abMainWindowDTD;
  38. <!ENTITY % abResultsPaneOverlayDTD SYSTEM "chrome://messenger/locale/addressbook/abResultsPaneOverlay.dtd" >
  39. %abResultsPaneOverlayDTD;
  40. <!ENTITY % messengerDTD SYSTEM "chrome://messenger/locale/messenger.dtd" >
  41. %messengerDTD;
  42. <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
  43. %brandDTD;
  44. ]>
  45.  
  46. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  47.     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  48.     id="addressbookWindow"
  49.     height="450"
  50.     width="750"
  51.     title="&addressbookWindow.title;"
  52.     windowtype="mail:addressbook"
  53.     persist="width height screenX screenY sizemode"
  54.     onload="OnLoadAddressBook()"
  55.     onunload="OnUnloadAddressBook()">
  56.  
  57.   <stringbundleset id="stringbundleset">
  58.     <stringbundle id="bundle_addressBook" src="chrome://messenger/locale/addressbook/addressBook.properties"/>
  59.     <stringbundle id="bundle_messenger" src="chrome://messenger/locale/messenger.properties"/>
  60.     <stringbundle id="bundle_brand" src="chrome://global/locale/brand.properties"/>
  61.   </stringbundleset>
  62.  
  63. <script type="application/x-javascript" src="chrome://messenger/content/accountUtils.js"/>
  64. <script type="application/x-javascript" src="chrome://messenger/content/widgetglue.js"/>
  65. <script type="application/x-javascript" src="chrome://messenger/content/addressbook/addressbook.js"/>
  66. <script type="application/x-javascript" src="chrome://messenger/content/addressbook/abCommon.js"/>
  67. <script type="application/x-javascript" src="chrome://communicator/content/contentAreaClick.js"/>
  68. <script type="application/x-javascript" src="chrome://communicator/content/printing.js"/>
  69. <script type="application/x-javascript" src="chrome://messenger/content/msgPrintEngine.js"/>
  70.  
  71.   <commandset id="addressBook">
  72.   <commandset id="CommandUpdate_AddressBook"
  73.         commandupdater="true"
  74.         events="focus,addrbook-select"
  75.         oncommandupdate="CommandUpdate_AddressBook()"/>
  76.   <commandset id="selectEditMenuItems"/> 
  77.   <commandset id="undoEditMenuItems"/>
  78.   <commandset id="globalEditMenuItems"/>
  79.     <command id="cmd_newNavigator"/>
  80.     <command id="cmd_newEditor"/>
  81.     <command id="cmd_newcard" oncommand="AbNewCard('dirTree')"/>
  82.     <command id="cmd_newlist" oncommand="AbNewList('dirTree')"/>
  83.     <command id="cmd_newmessage" oncommand="AbNewMessage()"/>
  84.     <command id="cmd_newim" oncommand="AbIMSelected()"/>
  85.     <command id="cmd_printSetup" oncommand="NSPrintSetup()"/>
  86.     <command id="cmd_printCard" oncommand="AbPrintCard()"/>
  87.     <command id="cmd_printPreviewCard" oncommand="AbPrintPreviewCard()"/>
  88.     <command id="cmd_printAddressBook" oncommand="AbPrintAddressBook()"/>
  89.     <command id="cmd_printPreviewAddressBook" oncommand="AbPrintPreviewAddressBook()"/>
  90.     <command id="cmd_quit"/>
  91.     <command id="cmd_close" oncommand="AbClose()"/>
  92.     <command id="cmd_properties" oncommand="goDoCommand('button_edit');"/>
  93.     <command id="cmd_undo"/>
  94.     <command id="cmd_redo"/>
  95.     <command id="cmd_copy"/>
  96.     <command id="cmd_paste"/>
  97.     <command id="cmd_cut"/>
  98.     <command id="cmd_selectAll"/>
  99.     <command id="button_delete" oncommand="goDoCommand('button_delete');"/>
  100.     <command id="cmd_swapFirstNameLastName" oncommand="AbSwapFirstNameLastName()"/>
  101.     <commandset id="tasksCommands"/>
  102. </commandset>
  103.  
  104. <broadcasterset id="abBroadcasters">
  105.   <!-- File Menu -->
  106.  
  107.   <!-- Edit Menu -->
  108.   <broadcaster id="cmd_delete"
  109.          valueAddressBook="&deleteAbCmd.label;"
  110.          valueCard="&deleteCardCmd.label;"
  111.          valueCards="&deleteCardsCmd.label;"/>
  112.   <broadcaster id="broadcaster-throbber" busy="false"/>
  113.   <broadcaster id="button_delete" disabled="true"/>
  114.   <broadcaster id="Communicator:WorkMode"/>
  115. </broadcasterset>
  116.  
  117. <keyset id="tasksKeys">
  118.   <!-- File Menu -->
  119.   <key id="key_newNavigator"/>
  120.   <key id="key_newBlankPage"/>
  121.   <key id="key_printCard"  key="&printCardViewCmd.key;" command="cmd_printCard"  modifiers="accel"/>
  122.   <key id="key_close"/>
  123.   <key id="key_quit"/>
  124.   <!-- Edit Menu -->
  125.   <key id="key_delete"/>
  126.   <key id="key_undo"/>
  127.   <key id="key_redo"/>
  128.   <key id="key_cut"/>
  129.   <key id="key_copy"/>
  130.   <key id="key_paste"/>
  131.   <key id="key_selectAll"/>
  132.   <key id="key_properties" key="&propertiesCmd.key;" command="cmd_properties" modifiers="accel"/>
  133.  
  134.   <!-- Tab/F6 Keys -->
  135.   <key keycode="VK_TAB" oncommand="SwitchPaneFocus(event);" modifiers="control,shift"/>
  136.   <key keycode="VK_TAB" oncommand="SwitchPaneFocus(event);" modifiers="control"/>
  137.   <key keycode="VK_F6" oncommand="SwitchPaneFocus(event);" modifiers="control,shift"/>
  138.   <key keycode="VK_F6" oncommand="SwitchPaneFocus(event);" modifiers="control"/>
  139.   <key keycode="VK_F6" oncommand="SwitchPaneFocus(event);" modifiers="shift"/>
  140.   <key keycode="VK_F6" oncommand="SwitchPaneFocus(event);"/>
  141. </keyset>
  142.  
  143. <popup id="dirTreeContext">
  144.   <menuitem id="dirTreeContext-properties"
  145.             label="&editButton.label;"
  146.             accesskey="&editButton.accesskey;"
  147.             command="cmd_properties"/>
  148.   <menuseparator/>
  149.   <menuitem id="dirTreeContext-newcard"
  150.             label="&newcardButton.label;"
  151.             accesskey="&newcardButton.accesskey;"
  152.             command="cmd_newcard"/>
  153.   <menuitem id="dirTreeContext-newlist"
  154.             label="&newlistButton.label;"
  155.             accesskey="&newlistButton.accesskey;"
  156.             command="cmd_newlist"/>
  157.   <menuseparator/>
  158.   <menuitem id="dirTreeContext-delete"
  159.             label="&deleteButton.label;"
  160.             accesskey="&deleteButton.accesskey;"
  161.             command="button_delete"/>
  162. </popup>
  163.  
  164. <popup id="abResultsTreeContext">
  165.   <menuitem id="abResultsTreeContext-properties"
  166.             label="&editButton.label;"
  167.             accesskey="&editButton.accesskey;"
  168.             command="cmd_properties"/>
  169.   <menuseparator/>
  170.   <menuitem id="abResultsTreeContext-newmessage"
  171.             label="&newmsgButton.label;"
  172.             accesskey="&newmsgButton.accesskey;"
  173.             command="cmd_newmessage"/>
  174.   <menuitem id="abResultsTreeContext-newim"
  175.             label="&newimButton.label;"
  176.             accesskey="&newimButton.accesskey;"
  177.             command="cmd_newim"/>
  178.   <menuseparator/>
  179.   <menuitem id="abResultsTreeContext-delete"
  180.             label="&deleteButton.label;"
  181.             accesskey="&deleteButton.accesskey;"
  182.             command="button_delete"/>
  183. </popup>
  184.  
  185. <toolbox class="toolbox-top">
  186.     <menubar id="ab-menubar" grippytooltiptext="&menuBar.tooltip;">
  187.         <menu id="menu_File">
  188.             <menupopup id="menu_FilePopup">
  189.                 <menu id="menu_New">
  190.                     <menupopup id="menu_NewPopup">
  191.                       <menuitem label="&newCard.label;" accesskey="&newCard.accesskey;" oncommand="AbNewCard('dirTree')"/>
  192.                       <menuitem label="&newListCmd.label;" accesskey="&newListCmd.accesskey;" oncommand="AbNewList('dirTree')"/>
  193.                       <menuitem label="&newAddressBookCmd.label;" accesskey="&newAddressBookCmd.accesskey;" oncommand="AbNewAddressBook()"/>
  194.                       <menuitem label="&newLDAPDirectoryCmd.label;" id="addLDAP" accesskey="&newLDAPDirectoryCmd.accesskey;" oncommand="AbNewLDAPDirectory()"/>
  195.                       <menuseparator/>
  196.                       <menuitem id="menu_newNavigator"/>
  197.                       <menuitem id="menu_newEditor"/>
  198.                     </menupopup>
  199.                 </menu>
  200.                 <menuitem id="menu_close"/>
  201.                 <menuseparator/>
  202.         <menuitem id="printSetupMenuItem" label="&printSetupCmd.label;" accesskey="&printSetupCmd.accesskey;" command="cmd_printSetup"/>
  203.         <menuitem id="printPreviewMenuItem" label="&printPreviewCardViewCmd.label;" accesskey="&printPreviewCardViewCmd.accesskey;" command="cmd_printPreviewCard"/>
  204.         <menuitem id="printPreviewAddressBook" label="&printPreviewAddressBook.label;" accesskey="&printPreviewAddressBook.accesskey;" command="cmd_printPreviewAddressBook"/>
  205.               <menuitem id="printMenuItem" label="&printCardViewCmd.label;" accesskey="&printCardViewCmd.accesskey;" key="key_printCard" command="cmd_printCard"/>
  206.               <menuitem id="printAddressBook" label="&printAddressBook.label;" accesskey="&printAddressBook.accesskey;" command="cmd_printAddressBook"/>
  207.             </menupopup>
  208.         </menu>
  209.         
  210.         <menu id="menu_Edit">
  211.           <menupopup>
  212.             <menuitem id="menu_undo"/>
  213.             <menuitem id="menu_redo"/>
  214.             <menuseparator/>
  215.             <menuitem id="menu_cut"/>
  216.             <menuitem id="menu_copy"/>
  217.             <menuitem id="menu_paste"/>
  218.             <menuitem id="menu_delete"/>
  219.             <menuseparator/>
  220.             <menuitem id="menu_selectAll"/>
  221.             <menuseparator/>
  222.             <!-- LOCALIZATION NOTE: set "hideSwapFnLnUI" to false in .dtd to enable the UI -->
  223.             <menuitem label="&swapFirstNameLastNameCmd.label;"
  224.                       accesskey="&swapFirstNameLastNameCmd.accesskey;"
  225.                       hidden="&hideSwapFnLnUI;"
  226.                       command="cmd_swapFirstNameLastName"/>
  227.             <menuitem label="&propertiesCmd.label;"
  228.                       accesskey="&propertiesCmd.accesskey;"
  229.                       key="key_properties"
  230.                       command="cmd_properties"/>
  231.             <menuitem id="menu_preferences" oncommand="goPreferences('mailnews', 'chrome://messenger/content/addressbook/pref-addressing.xul', 'mailaddressbookpref')"/>
  232.           </menupopup>
  233.         </menu>
  234.         <menu id="menu_View">
  235.             <menupopup id="menu_View_Popup">
  236.                 <menu id="menu_Toolbars">
  237.                     <menupopup id="view_toolbars_popup">
  238.                         <menuitem id="menu_showAbToolbar"
  239.                                   label="&showAbToolbarCmd.label;"
  240.                                   accesskey="&showAbToolbarCmd.accesskey;"
  241.                                   oncommand="goToggleToolbar('abToolbar', 'menu_showAbToolbar')"
  242.                                   checked="true" type="checkbox"/>
  243.                         <menuitem id="menu_showSearchToolbar"
  244.                                   label="&showSearchToolbarCmd.label;"
  245.                                   accesskey="&showSearchToolbarCmd.accesskey;" 
  246.                                   oncommand="goToggleToolbar('searchBox','menu_showSearchToolbar')"
  247.                                   checked="true" type="checkbox"/>
  248.                         <menuitem id="menu_showTaskbar" 
  249.                                   type="checkbox"/>
  250.                         <menuseparator/>
  251.                         <menuitem id="menu_showCardPane"
  252.                                   label="&showCardPane.label;"
  253.                                   accesskey="&showCardPane.accesskey;"
  254.                                   oncommand="goToggleSplitter('results-splitter', 'menu_showCardPane')"
  255.                                   checked="true" type="checkbox"/>
  256.                     </menupopup>
  257.                 </menu>
  258.                 <menuseparator/>
  259.                 <menu label="&menu_ShowNameAs.label;" accesskey="&menu_ShowNameAs.accesskey;">
  260.                     <menupopup>
  261.                         <menuitem type="radio" name="shownameas"
  262.                                   id="firstLastCmd"
  263.                   label="&firstLastCmd.label;"
  264.                                   accesskey="&firstLastCmd.accesskey;"
  265.                                   oncommand="SetNameColumn('firstLastCmd')"/>
  266.                         <menuitem type="radio" name="shownameas"
  267.                                   id="lastFirstCmd"
  268.                   label="&lastFirstCmd.label;"
  269.                                   accesskey="&lastFirstCmd.accesskey;"
  270.                                   oncommand="SetNameColumn('lastFirstCmd')"/>
  271.                         <menuitem type="radio" name="shownameas"
  272.                                   id="displayNameCmd"
  273.                   label="&displayNameCmd.label;"
  274.                                   accesskey="&displayNameCmd.accesskey;"
  275.                                   oncommand="SetNameColumn('displayNameCmd')"/>
  276.                     </menupopup>
  277.                 </menu>
  278.         <menu label="&sortMenu.label;" accesskey="&sortMenu.accesskey;">
  279.                     <menupopup id="sortMenuPopup" onpopupshowing="InitViewSortByMenu()">
  280.             <menuitem label="&GeneratedName.label;" 
  281.                                   id="cmd_SortByGeneratedName"
  282.                                   accesskey="&GeneratedName.accesskey;"
  283.                                   oncommand="SortResultPane('GeneratedName');" name="sortas" type="radio" checked="true"/>
  284.             <menuitem label="&PrimaryEmail.label;"
  285.                                   id="cmd_SortByPrimaryEmail"
  286.                                   accesskey="&PrimaryEmail.accesskey;"
  287.                                   oncommand="SortResultPane('PrimaryEmail');" name="sortas" type="radio" checked="true"/>
  288.             <menuitem label="&ScreenName.label;"
  289.                                   id="cmd_SortBy_AimScreenName"
  290.                                   accesskey="&ScreenName.accesskey;"
  291.                                   oncommand="SortResultPane('_AimScreenName');" name="sortas" type="radio" checked="true"/>
  292.             <menuitem label="&Company.label;"
  293.                                   id="cmd_SortByCompany"
  294.                                   accesskey="&Company.accesskey;"
  295.                                   oncommand="SortResultPane('Company');" name="sortas" type="radio" checked="true"/>
  296.             <!-- LOCALIZATION NOTE:
  297.              Fields for phonetic are disabled as default and can be enabled by 
  298.              editing "mail.addr_book.show_phonetic_fields"    
  299.              -->
  300.             <menuitem label="&_PhoneticName.label;"
  301.                                   id="cmd_SortBy_PhoneticName"
  302.                                   hidden="true"
  303.                                   accesskey="&_PhoneticName.accesskey;"
  304.                                   oncommand="SortResultPane('_PhoneticName');" name="sortas" type="radio" checked="true"/>
  305.             <menuitem label="&NickName.label;"
  306.                                   id="cmd_SortByNickName"
  307.                                   accesskey="&NickName.accesskey;"
  308.                                   oncommand="SortResultPane('NickName');" name="sortas" type="radio" checked="true"/>
  309.             <menuitem label="&SecondEmail.label;"
  310.                                   id="cmd_SortBySecondEmail"
  311.                                   accesskey="&SecondEmail.accesskey;"
  312.                                   oncommand="SortResultPane('SecondEmail');" name="sortas" type="radio" checked="true"/>
  313.             <menuitem label="&Department.label;"
  314.                                   id="cmd_SortByDepartment"
  315.                                   accesskey="&Department.accesskey;"
  316.                                   oncommand="SortResultPane('Department');" name="sortas" type="radio" checked="true"/>
  317.             <menuitem label="&JobTitle.label;"
  318.                                   id="cmd_SortByJobTitle"
  319.                                   accesskey="&JobTitle.accesskey;"
  320.                                   oncommand="SortResultPane('JobTitle');" name="sortas" type="radio" checked="true"/>
  321.             <menuitem label="&CellularNumber.label;"
  322.                                   id="cmd_SortByCellularNumber"
  323.                                   accesskey="&CellularNumber.accesskey;"
  324.                                   oncommand="SortResultPane('CellularNumber');" name="sortas" type="radio" checked="true"/>
  325.             <menuitem label="&PagerNumber.label;"
  326.                                   id="cmd_SortByPagerNumber"
  327.                                   accesskey="&PagerNumber.accesskey;"
  328.                                   oncommand="SortResultPane('PagerNumber');" name="sortas" type="radio" checked="true"/>
  329.             <menuitem label="&FaxNumber.label;"
  330.                                   id="cmd_SortByFaxNumber"
  331.                                   accesskey="&FaxNumber.accesskey;"
  332.                                   oncommand="SortResultPane('FaxNumber');" name="sortas" type="radio" checked="true"/>
  333.             <menuitem label="&HomePhone.label;"
  334.                                   id="cmd_SortByHomePhone"
  335.                                   accesskey="&HomePhone.accesskey;"
  336.                                   oncommand="SortResultPane('HomePhone');" name="sortas" type="radio" checked="true"/>
  337.             <menuitem label="&WorkPhone.label;"
  338.                                   id="cmd_SortByWorkPhone"
  339.                                   accesskey="&WorkPhone.accesskey;"
  340.                                   oncommand="SortResultPane('WorkPhone');" name="sortas" type="radio" checked="true"/>
  341.             <menuseparator/>
  342.             <menuitem id="sortAscending" type="radio" name="sortdirection" label="&sortAscending.label;" accesskey="&sortAscending.accesskey;" oncommand="AbSortAscending()"/>
  343.             <menuitem id="sortDescending" type="radio" name="sortdirection" label="&sortDescending.label;" accesskey="&sortDescending.accesskey;" oncommand="AbSortDescending()"/>
  344.                     </menupopup>
  345.                 </menu>
  346.             </menupopup>
  347.         </menu>       
  348.         <menu id="tasksMenu">
  349.           <menupopup id="taskPopup">
  350.             <menuitem label="&searchAddressesCmd.label;" 
  351.                       accesskey="&searchAddressesCmd.accesskey;"
  352.                       id="menu_search_addresses" 
  353.                       oncommand="onAdvancedAbSearch();"/>
  354.             <menuitem label="&importCmd.label;" accesskey="&importCmd.accesskey;" oncommand="toImport()"/>
  355.             <menuitem label="&exportCmd.label;" accesskey="&exportCmd.accesskey;" oncommand="AbExport()"/>
  356.             <menuseparator/>
  357.           </menupopup>
  358.         </menu>
  359.  
  360.         <menu id="windowMenu"/>
  361.         <menu id="menu_Help"/>
  362.         <spacer flex="1"/>
  363.     </menubar>
  364.     
  365.     <!-- toolbar -->
  366.         <toolbar class="chromeclass-toolbar toolbar-primary" id="abToolbar" persist="collapsed" grippytooltiptext="&addressbookToolbar.tooltip;">
  367.             <hbox id="toolbar_button_box">
  368.         <toolbarbutton class="toolbarbutton-1" id="button-newcard" label="&newcardButton.label;" tooltiptext="&newcardButton.tooltip;" command="cmd_newcard"/>
  369.         <toolbarbutton class="toolbarbutton-1" id="button-newlist" label="&newlistButton.label;" tooltiptext="&newlistButton.tooltip;" command="cmd_newlist"/>
  370.         <toolbarseparator class="toolbarseparator-primary"/>
  371.         <toolbarbutton class="toolbarbutton-1" id="button-editcard" label="&editButton.label;" tooltiptext="&editButton.tooltip;" command="cmd_properties"/>
  372.         <toolbarbutton class="toolbarbutton-1" id="button-newmessage" label="&newmsgButton.label;" tooltiptext="&newmsgButton.tooltip;" command="cmd_newmessage"/>
  373.         <toolbarbutton class="toolbarbutton-1" id="button-newim" label="&newIM.label;" tooltiptext="&newIM.tooltip;" command="cmd_newim"/>
  374.         <toolbarbutton class="toolbarbutton-1" id="button-delete" observes="button_delete" label="&deleteButton.label;" tooltiptext="&deleteButton.tooltip;" command="button_delete"/>
  375.  
  376.         <vbox flex="1">
  377.           <spacer flex="1"/> 
  378.           <!--html id="searchlabel">&showNames.label;</html>
  379.           <textbox id="searchtext" type="text" align="bottom"/> 
  380.           <spacer flex="1"/--> 
  381.         </vbox>
  382.  
  383.         <!--button id="button_stop" class="other28" align="top" label="&stopButton.label;" tooltiptext="&stopButton.tooltip;" disabled="true" oncommand="AbStop()"/>
  384.         <button id="button_search" class="other28" align="top" label="&searchButton.label;" disabled="true" tooltiptext="&searchButton.tooltip;" oncommand="AbSearch()"/-->
  385.      </hbox>
  386.  
  387.      <hbox id="throbber-box" align="center">
  388.       <button id="navigator-throbber" oncommand="goClickThrobber('addressbook.throbber.url')" tooltiptext="&throbber.tooltip;">
  389.         <observes element="broadcaster_throbber" attribute="busy"/>
  390.       </button>
  391.      </hbox>
  392.     </toolbar>
  393.   </toolbox>
  394.  
  395.   <!-- The main address book three pane -->
  396.   <hbox flex="1">
  397.     <vbox id="dirTreeBox" persist="width collapsed">
  398.       <tree id="dirTree" context="dirTreeContext"
  399.             style="min-width:150px" flex="1" persist="width"/>
  400.     </vbox>
  401.  
  402.     <splitter id="dirTree-splitter" collapse="before" persist="state">
  403.       <grippy/>
  404.     </splitter>
  405.     
  406.     <vbox flex="1" style="min-width:100px">
  407.  
  408.       <hbox id="searchBox" persist="collapsed" align="center">
  409.         <label id="searchCriteria" value="&SearchNameOrEmail.label;"
  410.                accesskey="&SearchNameOrEmail.accesskey;"
  411.                control="searchInput"/>
  412.         <textbox id="searchInput" flex="1" 
  413.                 oninput="onAbSearchInput(false);"
  414.                 onkeypress="onAbSearchKeyPress(event);"
  415.                 onfocus="this.select();" onclick="this.select();"/>
  416.         <button id="clear" label="&clearButton.label;" disabled="true"
  417.                 accesskey="&clearButton.accesskey;"
  418.                 oncommand="onAbClearSearch();"
  419.                 tooltiptext="&clearButton.tooltip;"/>
  420.         <button id="advancedButton" label="&advancedButton.label;" 
  421.                 accesskey="&advancedButton.accesskey;"
  422.                 tooltiptext="&advancedButton.tooltip;" 
  423.                 oncommand="onAdvancedAbSearch();"/>
  424.       </hbox>
  425.  
  426.       <!-- results pane -->
  427.       <tree id="abResultsTree" context="abResultsTreeContext" flex="1" />
  428.       
  429.       <splitter id="results-splitter" collapse="after" persist="state">
  430.         <grippy/>
  431.       </splitter>
  432.       
  433.       <!-- card view -->
  434.       <hbox id="CardViewOuterBox" flex="1" persist="height">
  435.         <vbox id="CardViewBox" style="height:170px; min-height:1px; min-width:1px"/>
  436.       </hbox>
  437.     </vbox>
  438.   </hbox>
  439.   
  440.   <statusbar id="status-bar" class="chromeclass-status">
  441.     <statusbarpanel id="component-bar"/>
  442.     <statusbarpanel id="statusText" flex="1" value="&statusText.label;"/>  
  443.     <statusbarpanel id="offline-status" class="statusbarpanel-iconic"/>           
  444.   </statusbar>  
  445. </window>
  446.