<?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 dialog [
<!ENTITY % pippkiDTD SYSTEM "chrome://pippki/locale/pippki.dtd" >
%pippkiDTD;
]>

<dialog id="certErrorDialog" title="&certErrorDlg.title;"
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  style="width: 47em;"
  onload="initCertErrorDialog();"
  buttons="cancel,extra1"
  defaultButton="cancel"
  buttonlabelextra1="&examineCert.label;"
  buttonaccesskeyextra1="&examineCert.accesskey;"
  ondialogextra1="viewCert();">

<stringbundle id="pippki_bundle" src="chrome://pippki/locale/pippki.properties"/>

<script type="application/javascript" src="chrome://pippki/content/pippki.js"/>
<script type="application/javascript" src="chrome://pippki/content/certerror.js"/>

<hbox>
  <vbox>
    <image src="moz-icon://stock/gtk-dialog-warning?size=dialog"/>
    <spacer flex="1"/>
  </vbox>
  <vbox flex="1">
    <description id="warningText"
                 style="white-space: pre-wrap"/>
    <separator/>
    <description id="info1">&certErrorDlg.info1;</description>
    <description id="info2">&certErrorDlg.info2;</description>
  </vbox>
</hbox>
</dialog>
