home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 May / PCWorld_2003-05_cd.bin / Komunik / phoenix / chrome / comm.jar / content / cookie / cookieAcceptDialog.xul < prev    next >
Extensible Markup Language  |  2002-09-13  |  5KB  |  126 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!-- ***** BEGIN LICENSE BLOCK *****
  4.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  5.    -
  6.    - The contents of this file are subject to the Mozilla Public License Version
  7.    - 1.1 (the "License"); you may not use this file except in compliance with
  8.    - the License. You may obtain a copy of the License at
  9.    - http://www.mozilla.org/MPL/
  10.    -
  11.    - Software distributed under the License is distributed on an "AS IS" basis,
  12.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  13.    - for the specific language governing rights and limitations under the
  14.    - License.
  15.    -
  16.    - The Original Code is cookie manager code.
  17.    -
  18.    - The Initial Developer of the Original Code is
  19.    - Michiel van Leeuwen.
  20.    - Portions created by the Initial Developer are Copyright (C) 2002
  21.    - the Initial Developer. All Rights Reserved.
  22.    -
  23.    - Contributor(s):
  24.    -
  25.    - Alternatively, the contents of this file may be used under the terms of
  26.    - either the GNU General Public License Version 2 or later (the "GPL"), or
  27.    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  28.    - in which case the provisions of the GPL or the LGPL are applicable instead
  29.    - of those above. If you wish to allow use of your version of this file only
  30.    - under the terms of either the GPL or the LGPL, and not to allow others to
  31.    - use your version of this file under the terms of the MPL, indicate your
  32.    - decision by deleting the provisions above and replace them with the notice
  33.    - and other provisions required by the LGPL or the GPL. If you do not delete
  34.    - the provisions above, a recipient may use your version of this file under
  35.    - the terms of any one of the MPL, the GPL or the LGPL.
  36.    -
  37.    - ***** END LICENSE BLOCK ***** -->
  38.  
  39. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  40.  
  41. <!DOCTYPE dialog SYSTEM "chrome://cookie/locale/cookieAcceptDialog.dtd">
  42.  
  43. <dialog id="cookieAcceptDialog"
  44.     buttons=""
  45.     onload="onload();"
  46.     ondialogaccept="return cookieAccept();"
  47.     title="&dialog.title;"
  48.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  49.  
  50.   <?xml-stylesheet src="chrome://global/skin/dialog.css" type="text/css"?>
  51.   <script src="cookieAcceptDialog.js" type="application/x-javascript"/>
  52.   <stringbundle id="cookieBundle"
  53.                 src="chrome://cookie/locale/cookieAcceptDialog.properties"/>
  54.  
  55.   <hbox>
  56.     <hbox align="start">
  57.       <image id="info.icon" class="spaced" src="chrome://global/skin/icons/alert-exclam.gif"/>
  58.     </hbox>
  59.  
  60.     <vbox>
  61.       <vbox>
  62.  
  63.         <vbox flex="1">
  64.           <!-- text -->
  65.           <vbox id="info.box"/>
  66.  
  67.           <hbox id="checkboxContainer">
  68.             <checkbox id="persistDomainAcceptance" oncommand="onChangePersitence();" label="&button.rememberdecision.label;"/>
  69.           </hbox>
  70.  
  71.         </vbox>
  72.  
  73.         <hbox pack="start">
  74.           <button id="disclosureButton" dlgtype="disclosure" class="dialog-button" 
  75.                   oncommand="showhideinfo();"/>
  76.           <spacer flex="2"/>
  77.           <button dlgtype="accept" class="dialog-button" label="&button.yes.label;"/>
  78.           <button dlgtype="cancel" class="dialog-button" label="&button.no.label;"/>
  79.         </hbox>
  80.       </vbox>
  81.  
  82.       <groupbox id="infobox" hidden="true" persist="hidden" flex="1">
  83.         <caption label="&props.box.label;"/>
  84.         <grid flex="1">
  85.           <columns>
  86.             <column align="end"/>
  87.             <column flex="1"/>
  88.           </columns>
  89.           <rows>
  90.             <row align="center">
  91.               <label value="&props.name.label;"/>
  92.               <textbox id="ifl_name" readonly="true"/>
  93.             </row>
  94.             <row align="center">
  95.               <label value="&props.value.label;"/>
  96.               <textbox id="ifl_value" readonly="true"/>
  97.             </row>
  98.             <row align="center">
  99.               <label id="ifl_isDomain" value="&props.domain.label;"/>
  100.               <textbox id="ifl_host" readonly="true"/>
  101.             </row>
  102.             <row align="center">
  103.               <label value="&props.path.label;"/>
  104.               <textbox id="ifl_path" readonly="true"/>
  105.             </row>
  106.             <row align="center">
  107.               <label value="&props.secure.label;"/>
  108.               <textbox id="ifl_isSecure" readonly="true"/>
  109.             </row>
  110.             <row align="center">
  111.               <label value="&props.expires.label;"/>
  112.               <textbox id="ifl_expires" readonly="true"/>
  113.             </row>
  114.             <row align="center" id="policyField" hidden="true">
  115.               <label value="&props.policy.label;"/>
  116.               <textbox id="ifl_policy" readonly="true"/>
  117.             </row>
  118.           </rows>
  119.         </grid>
  120.  
  121.       </groupbox>
  122.  
  123.     </vbox>
  124.   </hbox>
  125. </dialog>
  126.