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 / communicator / wallet / CookieViewer.xul < prev    next >
Extensible Markup Language  |  2003-06-08  |  7KB  |  158 lines

  1. <?xml version="1.0"?>
  2. <!-- 
  3.   The contents of this file are subject to the Netscape 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/NPL/
  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.   The Original Code is Mozilla Communicator client code, released
  14.   March 31, 1998.
  15.   
  16.   The Initial Developer of the Original Code is Netscape
  17.   Communications Corporation. Portions created by Netscape are
  18.   Copyright (C) 1998-1999 Netscape Communications Corporation. All
  19.   Rights Reserved.
  20.   
  21.   Contributor(s):
  22.     Ben Goodger
  23. -->
  24.  
  25. <!-- CHANGE THIS WHEN MOVING FILES -->
  26. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?> 
  27.  
  28. <!-- CHANGE THIS WHEN MOVING FILES -->
  29. <!DOCTYPE window SYSTEM "chrome://communicator/locale/wallet/CookieViewer.dtd" >
  30.  
  31. <dialog id="cookieviewer"
  32.         buttons="accept,help"
  33.         title="&windowtitle.label;"
  34.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  35.         style="width: 30em;"
  36.         onload="Startup()"
  37.         onunload="Shutdown()"
  38.         ondialoghelp="doHelpButton();"
  39.         persist="screenX screenY width height">
  40.  
  41.   <script src="chrome://communicator/content/wallet/CookieViewer.js"/>
  42.   <script src="chrome://global/content/strres.js"/>
  43.   <script src="chrome://communicator/content/wallet/nsWalletTreeUtils.js"/>
  44.   <script type="application/x-javascript" src="chrome://help/content/contextHelp.js" />
  45.  
  46.   <keyset id="dialogKeys"/>
  47.   <stringbundle id="cookieBundle"
  48.                 src="chrome://communicator/locale/wallet/CookieViewer.properties"/>
  49.            
  50.   <tabbox id="tabbox" flex="1">
  51.     <tabs>
  52.       <tab id="cookiesTab" label="&tab.cookiesonsystem.label;"/>
  53.       <tab id="permissionsTab" label="&tab.bannedservers.label;"/>
  54.     </tabs>
  55.     <tabpanels id="panel" flex="1">
  56.       <vbox class="tabpanel" id="system" flex="1">
  57.           <label value="&div.cookiesonsystem.label;"/>
  58.           <separator class="thin"/>
  59.           <tree id="cookiesTree" flex="1" style="height: 10em;" multiple="true"
  60.                     onkeypress="HandleCookieKeyPress(event)"
  61.                     onselect="CookieSelected();">
  62.             <treecols>
  63.               <treecol id="domainCol" label="&treehead.cookiedomain.label;" flex="6"
  64.                            onclick="CookieColumnSort('rawHost');"/>
  65.               <splitter class="tree-splitter"/>
  66.               <treecol id="nameCol" label="&treehead.cookiename.label;" flex="14"
  67.                            onclick="CookieColumnSort('name');"/>
  68.               <splitter class="tree-splitter"/>
  69.               <treecol id="statusCol" label="&treehead.cookiestatus.label;" flex="1"
  70.                            hidden="true" onclick="CookieColumnSort('status');"/>
  71.             </treecols>
  72.             <treechildren/>
  73.           </tree>
  74.           <groupbox>
  75.             <caption label="&treehead.infoselected.label;"/>
  76.             <!-- labels -->
  77.             <grid flex="1">
  78.               <columns>
  79.                 <column/>
  80.                 <column flex="1"/>
  81.               </columns>
  82.               <rows>
  83.                 <row align="center">
  84.                   <label value="&props.name.label;"/>
  85.                   <textbox id="ifl_name" readonly="true"/>
  86.                 </row>
  87.                 <row align="center">
  88.                   <label value="&props.value.label;"/>
  89.                   <textbox id="ifl_value" readonly="true"/>
  90.                 </row>
  91.                 <row align="center">
  92.                   <label id="ifl_isDomain" value="&props.domain.label;"/>
  93.                   <textbox id="ifl_host" readonly="true"/>
  94.                 </row>
  95.                 <row align="center">
  96.                   <label value="&props.path.label;"/>
  97.                   <textbox id="ifl_path" readonly="true"/>
  98.                 </row>
  99.                 <row align="center">
  100.                   <label value="&props.secure.label;"/>
  101.                   <textbox id="ifl_isSecure" readonly="true"/>
  102.                 </row>
  103.                 <row align="center">
  104.                   <label value="&props.expires.label;"/>
  105.                   <textbox id="ifl_expires" readonly="true"/>
  106.                 </row>
  107.                 <row align="center" id="policyField" hidden="true">
  108.                   <label value="&props.policy.label;"/>
  109.                   <textbox id="ifl_policy" readonly="true"/>
  110.                 </row>
  111.               </rows>
  112.             </grid>
  113.           </groupbox>
  114.           <hbox>
  115.             <button id="removeCookie" disabled="true"
  116.                           label="&button.removecookie.label;"
  117.                           oncommand="DeleteCookie();"/>
  118.             <button id="removeAllCookies"
  119.                           label="&button.removeallcookies.label;"
  120.                           oncommand="DeleteAllCookies();"/>
  121.             <!--  todo: <button id="restoreCookies" class="dialog push" disabled="true" label="&button.restorecookie.label;" oncommand="RestoreCookies();"/> -->
  122.           </hbox>
  123.           <separator class="thin"/>
  124.           <hbox align="start">
  125.             <checkbox id="checkbox" label="&checkbox.label;" />
  126.           </hbox>
  127.       </vbox>
  128.       
  129.       <vbox id="servers" flex="1">
  130.           <description id="permissionsText" value="&div.bannedservers.label;"/>
  131.           <separator class="thin"/>
  132.           <tree id="permissionsTree" flex="1" style="height: 10em;"
  133.                 seltype="multiple" hidecolumnpicker="true"
  134.                 onkeypress="HandlePermissionKeyPress(event)"
  135.                 onselect="PermissionSelected();">
  136.             <treecols>
  137.               <treecol id="siteCol" label="&treehead.sitename.label;" flex="5"
  138.                            onclick="PermissionColumnSort('rawHost');"/>
  139.               <splitter class="tree-splitter"/>
  140.               <treecol id="statusCol" label="&treehead.status.label;" flex="5"
  141.                            onclick="PermissionColumnSort('capability');"/>
  142.             </treecols>
  143.             <treechildren/>
  144.           </tree>
  145.           <hbox>
  146.             <button id="removePermission" disabled="true" 
  147.                           label="&removepermission.label;" 
  148.                           oncommand="DeletePermission();"/>
  149.             <button id="removeAllPermissions"
  150.                           label="&removeallpermissions.label;" 
  151.                           oncommand="DeleteAllPermissions();"/>
  152.           </hbox>
  153.       </vbox>
  154.  
  155.     </tabpanels>
  156.   </tabbox>
  157. </dialog>
  158.