DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
<?xml version="1.0"?>
<!-- -*- Mode: xml; indent-tabs-mode: nil; -*-
   - The contents of this file are subject to the Mozilla 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/MPL/
  
   - Software distributed under the License is distributed on an "AS IS"
   - basis, WITHOUT WARRANTY OF ANY KIND, either express or 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.
 
   Original Author:
     Blake Ross <blakeross@telocity.com>
   Contributor(s): 
     Seth Spitzer <sspitzer@netscape.com>
-->

<?xml-stylesheet href="chrome://messenger/skin/addressbook/sidebarPanel.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/addressbook/addressPanes.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/addressbook/abResultsPane.css" type="text/css"?>

<?xul-overlay href="chrome://messenger/content/addressbook/abDirTreeOverlay.xul"?>

<!DOCTYPE page [
<!ENTITY % abSelectAddressesDialogDTD SYSTEM "chrome://messenger/locale/addressbook/abSelectAddressesDialog.dtd" >
%abSelectAddressesDialogDTD;
<!ENTITY % abResultsPaneOverlayDTD SYSTEM "chrome://messenger/locale/addressbook/abResultsPaneOverlay.dtd" >
%abResultsPaneOverlayDTD;
]>

<page id="addressbook-panel"
      xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
      onload="AbPanelLoad();"
      onunload="AbPanelUnload();"
      xmlns:nc="http://home.netscape.com/NC-rdf#"
      xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
      selectedaddresses="true">

  <script type="application/x-javascript" src="chrome://messenger/content/addressbook/addressbook.js"/>
  <script type="application/x-javascript" src="chrome://messenger/content/addressbook/abCommon.js"/>
  <script type="application/x-javascript" src="chrome://messenger/content/addressbook/abResultsPane.js"/>
  <script type="application/x-javascript" src="chrome://messenger/content/addressbook/abSelectAddressesDialog.js"/>
  <script type="application/x-javascript" src="chrome://messenger/content/addressbook/addressbook-panel.js"/>
    
  <popup id="composeMail">
    <menuitem label="&composeEmail.label;" accesskey="&composeEmail.accesskey;" oncommand="AbNewMessage();" default="true"/>
    <menuitem label="&deleteAddrBookCard.label;" accesskey="&deleteAddrBookCard.accesskey;" oncommand="AbDelete();"/>
    <menuseparator/>
    <menuitem label="&newAddrBookCard.label;" accesskey="&newAddrBookCard.accesskey;" oncommand="AbPanelNewCard();"/>
    <menuitem label="&newAddrBookMailingList.label;" accesskey="&newAddrBookMailingList.accesskey;" oncommand="AbPanelNewList();"/>
    <menuseparator/>
    <menuitem label="&addrBookCardProperties.label;" accesskey="&addrBookCardProperties.accesskey;" oncommand="AbEditSelectedCard();"/>
  </popup>
  <vbox id="results_box" flex="1">
    <hbox id="panel-bar" class="toolbar" align="center">
	  <label value="&lookIn.label;"/>
      <menulist id="addressbookList" 
                oncommand="DirPaneSelectionChangeMenulist(); AbPanelOnChange(event)" flex="1"
                persist="selectedAB">
        <menupopup id="addressbookList-menupopup" 
          datasources="rdf:addressdirectory" 
                   ref="moz-abdirectory://"
                   sortActive="true"
                   sortDirection="ascending"
                   sortResource="http://home.netscape.com/NC-rdf#DirTreeNameSort">
          <template>
            <rule nc:IsMailList="false">
              <menuitem uri="..."
                    label="rdf:http://home.netscape.com/NC-rdf#DirName"
                    value="rdf:http://home.netscape.com/NC-rdf#DirUri"/>
            </rule>
          </template>
        </menupopup>
      </menulist>
    </hbox>
	<hbox align="center">
	  <label value="&for.label;"/> 
	  <textbox id="searchInput" flex="1"
      oninput="onAbSearchInput(false);"
      onkeypress="onAbSearchKeyPress(event);"/>
	</hbox>

    <tree id="abResultsTree" flex="1" context="composeMail" onclick="AbResultsPaneOnClick(event);" class="plain"
          sortCol="GeneratedName" persist="sortCol">
  <treecols>
    <!-- these column ids must match up to the mork column names, see nsIAddrDatabase.idl -->
    <treecol id="GeneratedName" class="sortDirectionIndicator" 
          persist="hidden ordinal width sortDirection" flex="1" label="&GeneratedName.label;" primary="true"/>
    <splitter class="tree-splitter"/>
    <treecol id="PrimaryEmail" class="sortDirectionIndicator" 
          persist="hidden ordinal width sortDirection" 
      hiddenbydefault="true"
      flex="1" label="&PrimaryEmail.label;"/>
  </treecols>
  <treechildren/>
</tree>

  </vbox>
</page>