home *** CD-ROM | disk | FTP | other *** search
/ ftp.swcp.com / ftp.swcp.com.zip / ftp.swcp.com / mac / mozilla-macos9-1.3.1.sea.bin / Mozilla1.3.1 / Chrome / comm.jar / content / cookie / cookieAcceptDialog.xul < prev    next >
Extensible Markup Language  |  2003-06-07  |  5KB  |  124 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.     acceptLabel="&button.yes.label;"
  45.     cancelLabel="&button.no.label;"
  46.     onload="onload();"
  47.     ondialogaccept="return cookieAccept();"
  48.     title="&dialog.title;"
  49.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  50.  
  51.   <?xml-stylesheet src="chrome://global/skin/dialog.css" type="text/css"?>
  52.   <script src="cookieAcceptDialog.js" type="application/x-javascript"/>
  53.   <stringbundle id="cookieBundle"
  54.                 src="chrome://cookie/locale/cookieAcceptDialog.properties"/>
  55.  
  56.   <hbox>
  57.     <hbox align="start">
  58.       <image id="info.icon" class="spaced" src="chrome://global/skin/icons/alert-exclam.gif"/>
  59.     </hbox>
  60.  
  61.     <vbox>
  62.       <vbox>
  63.  
  64.         <vbox flex="1">
  65.           <!-- text -->
  66.           <vbox id="info.box"/>
  67.  
  68.           <hbox id="checkboxContainer">
  69.             <checkbox id="persistDomainAcceptance" oncommand="onChangePersitence();" label="&button.rememberdecision.label;"/>
  70.           </hbox>
  71.  
  72.         </vbox>
  73.  
  74.         <hbox pack="start">
  75.           <button id="disclosureButton" dlgtype="disclosure" class="dialog-button" 
  76.                   oncommand="showhideinfo();"/>
  77.         </hbox>
  78.       </vbox>
  79.  
  80.       <groupbox id="infobox" hidden="true" persist="hidden" flex="1">
  81.         <caption label="&props.box.label;"/>
  82.         <grid flex="1">
  83.           <columns>
  84.             <column align="end"/>
  85.             <column flex="1"/>
  86.           </columns>
  87.           <rows>
  88.             <row align="center">
  89.               <label value="&props.name.label;"/>
  90.               <textbox id="ifl_name" readonly="true"/>
  91.             </row>
  92.             <row align="center">
  93.               <label value="&props.value.label;"/>
  94.               <textbox id="ifl_value" readonly="true"/>
  95.             </row>
  96.             <row align="center">
  97.               <label id="ifl_isDomain" value="&props.domain.label;"/>
  98.               <textbox id="ifl_host" readonly="true"/>
  99.             </row>
  100.             <row align="center">
  101.               <label value="&props.path.label;"/>
  102.               <textbox id="ifl_path" readonly="true"/>
  103.             </row>
  104.             <row align="center">
  105.               <label value="&props.secure.label;"/>
  106.               <textbox id="ifl_isSecure" readonly="true"/>
  107.             </row>
  108.             <row align="center">
  109.               <label value="&props.expires.label;"/>
  110.               <textbox id="ifl_expires" readonly="true"/>
  111.             </row>
  112.             <row align="center" id="policyField" hidden="true">
  113.               <label value="&props.policy.label;"/>
  114.               <textbox id="ifl_policy" readonly="true"/>
  115.             </row>
  116.           </rows>
  117.         </grid>
  118.  
  119.       </groupbox>
  120.  
  121.     </vbox>
  122.   </hbox>
  123. </dialog>
  124.