enigmailSignKeyDlg.xul 4.22 KB
Newer Older
1
<?xml version="1.0"?>
2
<!--
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
 * ***** BEGIN LICENSE BLOCK *****
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
 *
 * The contents of this file are subject to the Mozilla Public
 * License Version 1.1 (the "MPL"); you may not use this file
 * except in compliance with the MPL. You may obtain a copy of
 * the MPL at http://www.mozilla.org/MPL/
 *
 * Software distributed under the MPL is distributed on an "AS
 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
 * implied. See the MPL for the specific language governing
 * rights and limitations under the MPL.
 *
 * The Original Code is Enigmail.
 *
 * The Initial Developer of the Original Code is Patrick Brunschwig.
19
 * Portions created by Patrick Brunschwig <patrick@enigmail.net> are
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
 * Copyright (C) 2004 Patrick Brunschwig. All Rights Reserved.
 *
 * Contributor(s):
 *   Nils Maier <MaierMan@web.de>
 *
 * Alternatively, the contents of this file may be used under the terms of
 * either the GNU General Public License Version 2 or later (the "GPL"), or
 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 * in which case the provisions of the GPL or the LGPL are applicable instead
 * of those above. If you wish to allow use of your version of this file only
 * under the terms of either the GPL or the LGPL, and not to allow others to
 * use your version of this file under the terms of the MPL, indicate your
 * decision by deleting the provisions above and replace them with the notice
 * and other provisions required by the GPL or the LGPL. If you do not delete
 * the provisions above, a recipient may use your version of this file under
 * the terms of any one of the MPL, the GPL or the LGPL.
 * ***** END LICENSE BLOCK ***** *
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
-->

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

<!DOCTYPE window [
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
%brandDTD;
<!ENTITY % enigMailDTD SYSTEM "chrome://enigmail/locale/enigmail.dtd" >
%enigMailDTD;
]>

<dialog id="enigmailSignKeyDlg"
        title="&enigmail.sKeyDlg.title;"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        onload="onLoad();"
53
        buttons="accept,cancel"
54
        ondialogaccept="return onAccept();">
55 56


57
  <script type="application/x-javascript" src="chrome://enigmail/content/enigmailSignKeyDlg.js"/>
58

59 60 61 62 63 64 65 66 67
  <vbox orient="vertical">
    <grid>
      <columns>
        <column/>
        <column flex="1"/>
      </columns>
      <rows autostretch="never">
        <row>
          <label value="&enigmail.sKeyDlg.signKey.label;"/>
68
          <description class="plain" id="keyId" value="?" crop="end"/>
69
        </row>
70 71 72 73 74
        <row>
          <label value="&enigmail.sKeyDlg.fingerprint.label;"/>
          <label id="fingerprint" value="?"/>
        </row>
        <separator/>
75
        <row>
76
          <hbox align="center">
77
            <label value="&enigmail.sKeyDlg.signWithKey.label;" control="signWithKey"/>
78
          </hbox>
79
          <menulist id="signWithKey" oncommand="enigKeySelCb()"/>
80
        </row>
81 82
        <row>
          <label value=" "/>
83 84 85 86
          <label value="&enigmail.sKeyDlg.ownKeyTrust.label;"/>
        </row>
        <row>
          <label value=" "/>
87
          <label id="alreadySigned" value="" collapsed="true"/>
88
        </row>
89 90 91 92 93 94 95
      </rows>
    </grid>
    <vbox>
      <groupbox>
        <caption label="&enigmail.sKeyDlg.checked.label;"/>
          <radiogroup id="trustLevel">
            <radio value="0"
96
                   selected="true"
97 98 99 100 101 102 103 104 105 106 107
                   label="&enigmail.sKeyDlg.noAnswer.label;"/>
           <radio value="1"
                   label="&enigmail.sKeyDlg.notChecked.label;"/>
            <radio value="2"
                   label="&enigmail.sKeyDlg.casualCheck.label;"/>
            <radio value="3"
                   label="&enigmail.sKeyDlg.carefulCheck.label;"/>
          </radiogroup>
       </groupbox>
    </vbox>
    <vbox>
108 109
      <checkbox checked="false"
            id="localSig"
110 111
            label="&enigmail.sKeyDlg.createLocal.label;"
            oncommand="enigKeySelCb()"/>
112
    </vbox>
113
  </vbox>
114
  <!-- vbox align="end">
115 116 117 118
    <hbox>
      <button id="acceptButton" dlgtype="accept"/>
      <button dlgtype="cancel"/>
    </hbox>
119
  </vbox -->
120 121 122

</dialog>