home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 December / PCWorld_2005-12_cd.bin / komunikace / netscape / nsb-install-8-0.exe / chrome / pippki.jar / content / pippki / clientauthask.xul < prev    next >
Extensible Markup Language  |  2005-09-26  |  3KB  |  72 lines

  1. <?xml version="1.0"?>
  2. <!--
  3.    - The contents of this file are subject to the Mozilla 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/MPL/
  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.    -
  14.    - Contributor(s):
  15.    - David Drinan (ddrinan@netscape.com)
  16.   -->
  17.  
  18. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  19.  
  20. <!DOCTYPE window [
  21. <!ENTITY % pippkiDTD SYSTEM "chrome://pippki/locale/pippki.dtd" >
  22. %pippkiDTD;
  23. ]>
  24.  
  25.  
  26. <window id="ssl_warning" title="&clientAuthAsk.title;"
  27.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"      
  28.   onload="onLoad();">
  29.  
  30. <script type="application/x-javascript" src="chrome://global/content/strres.js"/>
  31. <script type="application/x-javascript" src="chrome://pippki/content/pippki.js"/>
  32. <script type="application/x-javascript" src="chrome://pippki/content/clientauthask.js"/>
  33. <script type="application/x-javascript" src="chrome://help/content/contextHelp.js" />
  34.  
  35. <keyset id="keys">
  36.   <key id="enter-key"  keycode="VK_ENTER"  oncommand="doOK();"/>
  37.   <key id="return-key" keycode="VK_RETURN" oncommand="doOK();"/>
  38.   <key id="esc-key"    keycode="VK_ESCAPE" oncommand="doCancel();"/>
  39. </keyset>
  40.  
  41. <vbox style="margin: 5px;">
  42.     <groupbox>
  43.     <description style="font-weight: bold;">&clientAuthAsk.message1;</description>
  44.     <description id="hostname"/>
  45.     <description id="organization"/>
  46.     <description id="issuer"/>
  47.     </groupbox>
  48.     <groupbox>
  49.     <description style="font-weight: bold;">&clientAuthAsk.message2;</description>
  50.     <broadcaster id="certSelected" oncommand="onCertSelected();"/>
  51.     <!-- The items in this menulist must never be sorted,
  52.          but remain in the order filled by the application
  53.     -->
  54.     <menulist id="nicknames" observes="certSelected">
  55.         <menupopup/>
  56.     </menulist>
  57.     <description>&clientAuthAsk.message3;</description>
  58.     <textbox readonly="true" id="details" multiline="true"
  59.       style="height: 11em;"/>
  60.     </groupbox>
  61.   <separator/>
  62.   <hbox>
  63.   <button id="ok-button" label="&ok.label;"
  64.           oncommand="doOK();"/> 
  65.   <button id="cancel-button" label="&cancel.label;"
  66.           oncommand="doCancel();"/> 
  67.   <button id="help-button" label="&help.label;"
  68.      style="width: 10ex" oncommand="openHelp('which_cert');" /> 
  69.   </hbox>
  70. </vbox>
  71. </window>
  72.