<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>

<!DOCTYPE overlay SYSTEM "chrome://pippki/locale/certManager.dtd">

<overlay id="OthersOverlay"
         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
         xmlns:cert="http://netscape.com/rdf-cert#" 
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

  <vbox id="othersCerts">
    <description>&certmgr.others;</description>
    <separator class="thin"/>
    <tree id="email-tree" flex="1"
              onselect="email_enableButtons()">
      <treecols>
        <treecol id="certcol" label="&certmgr.certname;" primary="true" 
                     flex="1"/>
        <splitter class="tree-splitter"/>
        <treecol id="emailcol" label="&certmgr.email;"
                     flex="1"/>
        <splitter class="tree-splitter"/>
        <treecol id="expiredcol" label="&certmgr.expires;"
                 flex="1"/>
      </treecols>
      <treechildren flex="1" ondblclick="viewCerts();"/>
    </tree>
    
    <separator class="thin"/>

    <hbox>
      <button id="email_viewButton"
              label="&certmgr.view2.label;"
              accesskey="&certmgr.view2.accesskey;"
              disabled="true" oncommand="viewCerts();"/>
      <button id="email_editButton"
              label="&certmgr.edit3.label;"
              accesskey="&certmgr.edit3.accesskey;"
              disabled="true" oncommand="editCerts();"/>
      <button id="email_addButton"
              label="&certmgr.restore2.label;"
              accesskey="&certmgr.restore2.accesskey;"
              oncommand="addEmailCert();"/>
      <button id="email_exportButton"
              label="&certmgr.export.label;"
              accesskey="&certmgr.export.accesskey;"
              disabled="true" oncommand="exportCerts();"/>
      <button id="email_deleteButton"
              label="&certmgr.delete2.label;"
              accesskey="&certmgr.delete2.accesskey;"
              disabled="true" oncommand="deleteCerts();"/>
    </hbox>
  </vbox>
</overlay>
