1999-09-03 08:55:23 +04:00
|
|
|
<?xml version="1.0"?>
|
1999-09-26 13:43:43 +04:00
|
|
|
<!--
|
|
|
|
The contents of this file are subject to the Netscape Public
|
|
|
|
License Version 1.1 (the "License"); you may not use this file
|
|
|
|
except in compliance with the License. You may obtain a copy of
|
|
|
|
the License at http://www.mozilla.org/NPL/
|
|
|
|
|
|
|
|
Software distributed under the License is distributed on an "AS
|
|
|
|
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
implied. See the License for the specific language governing
|
|
|
|
rights and limitations under the License.
|
|
|
|
|
|
|
|
The Original Code is Mozilla Communicator client code, released
|
|
|
|
March 31, 1998.
|
|
|
|
|
|
|
|
The Initial Developer of the Original Code is Netscape
|
|
|
|
Communications Corporation. Portions created by Netscape are
|
|
|
|
Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
|
|
|
Rights Reserved.
|
|
|
|
|
|
|
|
Contributor(s):
|
|
|
|
Ben Goodger
|
|
|
|
-->
|
1999-09-22 07:36:19 +04:00
|
|
|
|
1999-09-26 13:43:43 +04:00
|
|
|
<!-- CHANGE THIS WHEN MOVING FILES -->
|
2000-04-21 13:40:38 +04:00
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
1999-09-26 13:43:43 +04:00
|
|
|
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
1999-09-22 07:36:19 +04:00
|
|
|
|
1999-09-26 13:43:43 +04:00
|
|
|
<!-- CHANGE THIS WHEN MOVING FILES -->
|
2000-04-20 01:42:30 +04:00
|
|
|
<!DOCTYPE window SYSTEM "chrome://communicator/locale/wallet/CookieViewer.dtd" >
|
1999-09-26 13:43:43 +04:00
|
|
|
|
|
|
|
<window id="cookieviewer"
|
1999-12-07 04:21:25 +03:00
|
|
|
class="dialog"
|
1999-09-26 13:43:43 +04:00
|
|
|
title="&windowtitle.label;"
|
2000-06-15 13:54:41 +04:00
|
|
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
1999-09-26 13:43:43 +04:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2000-08-06 11:04:11 +04:00
|
|
|
style="width: 30em;"
|
|
|
|
orient="vertical"
|
1999-09-26 13:43:43 +04:00
|
|
|
onload="Startup()">
|
|
|
|
|
2001-01-13 20:39:40 +03:00
|
|
|
<script src="chrome://communicator/content/wallet/CookieViewer.js"/>
|
|
|
|
<script src="chrome://global/content/strres.js"/>
|
|
|
|
<script src="chrome://communicator/content/wallet/nsWalletTreeUtils.js"/>
|
1999-09-26 13:43:43 +04:00
|
|
|
|
2001-04-05 23:53:13 +04:00
|
|
|
<keyset id="dialogKeys"/>
|
2000-06-04 19:34:09 +04:00
|
|
|
|
2001-04-18 10:59:04 +04:00
|
|
|
<tabbox id="tabbox" flex="1" orient="vertical">
|
|
|
|
<tabs>
|
2001-03-22 03:59:29 +03:00
|
|
|
<tab id="cookiesTab" label="&tab.cookiesonsystem.label;"/>
|
2001-03-29 06:11:48 +04:00
|
|
|
<tab id="serversTab" label="&tab.bannedservers.label;"/>
|
|
|
|
<tab id="imagesTab" hidden="true" label="&tab.bannedimages.label;"/>
|
2001-04-18 10:59:04 +04:00
|
|
|
</tabs>
|
|
|
|
<tabpanels id="panel" flex="1">
|
2000-08-06 11:04:11 +04:00
|
|
|
<box class="tabpanel" id="system" flex="1" orient="vertical">
|
2000-05-04 07:32:15 +04:00
|
|
|
<text class="label" value="&div.cookiesonsystem.label;"/>
|
2000-08-06 11:04:11 +04:00
|
|
|
<separator class="thin"/>
|
|
|
|
<tree id="cookietree" class="inset" style="height: 10em;"
|
2000-03-24 00:22:09 +03:00
|
|
|
multiple="true" onselect="ViewCookieSelected(event);"
|
2000-08-06 11:04:11 +04:00
|
|
|
onclick="ViewCookieSelected(event)" flex="1"
|
1999-12-01 06:05:57 +03:00
|
|
|
onkeypress="HandleKeyPress(event)">
|
2000-06-20 05:04:20 +04:00
|
|
|
<treecolgroup>
|
|
|
|
<treecol flex="3" width="0"/>
|
2000-08-11 10:50:32 +04:00
|
|
|
<splitter class="tree-splitter"/>
|
2000-06-20 05:04:20 +04:00
|
|
|
<treecol flex="7" width="0"/>
|
|
|
|
</treecolgroup>
|
1999-09-26 13:43:43 +04:00
|
|
|
<treehead>
|
|
|
|
<treerow>
|
2001-01-13 20:39:40 +03:00
|
|
|
<treecell class="treecell-header sortDirectionIndicator"
|
2001-03-22 03:59:29 +03:00
|
|
|
label="&treehead.cookiedomain.label;"
|
2001-03-29 06:11:48 +04:00
|
|
|
onclick="return Wallet_ColumnSort('0', 'cookieList');"/>
|
2001-01-13 20:39:40 +03:00
|
|
|
<treecell class="treecell-header
|
|
|
|
sortDirectionIndicator"
|
2001-03-22 03:59:29 +03:00
|
|
|
label="&treehead.cookiename.label;"
|
2001-03-29 06:11:48 +04:00
|
|
|
onclick="return Wallet_ColumnSort('1', 'cookieList');"/>
|
1999-09-26 13:43:43 +04:00
|
|
|
</treerow>
|
|
|
|
</treehead>
|
2001-03-29 06:11:48 +04:00
|
|
|
<treechildren id="cookieList" flex="1"/>
|
1999-09-26 13:43:43 +04:00
|
|
|
</tree>
|
2000-08-06 11:04:11 +04:00
|
|
|
<titledbox>
|
2001-03-22 03:59:29 +03:00
|
|
|
<label value="&treehead.infoselected.label;"/>
|
2000-05-04 07:32:15 +04:00
|
|
|
<!-- labels -->
|
2000-12-14 22:16:31 +03:00
|
|
|
<grid flex="1">
|
2000-05-04 07:32:15 +04:00
|
|
|
<columns>
|
2000-05-31 07:27:56 +04:00
|
|
|
<column/>
|
2000-08-05 05:57:43 +04:00
|
|
|
<column flex="1"/>
|
2000-05-04 07:32:15 +04:00
|
|
|
</columns>
|
|
|
|
<rows>
|
|
|
|
<row>
|
|
|
|
<text value="&props.name.label;"/>
|
2001-03-22 03:15:47 +03:00
|
|
|
<textbox id="ifl_name" readonly="true"/>
|
2000-05-04 07:32:15 +04:00
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<text value="&props.value.label;"/>
|
2001-03-22 03:15:47 +03:00
|
|
|
<textbox id="ifl_value" readonly="true"/>
|
2000-05-04 07:32:15 +04:00
|
|
|
</row>
|
|
|
|
<row>
|
2001-03-29 06:11:48 +04:00
|
|
|
<text id="ifl_isDomain" value="&props.domain.label;"/>
|
|
|
|
<textbox id="ifl_host" readonly="true"/>
|
2000-05-04 07:32:15 +04:00
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<text value="&props.path.label;"/>
|
2001-03-22 03:15:47 +03:00
|
|
|
<textbox id="ifl_path" readonly="true"/>
|
2000-05-04 07:32:15 +04:00
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<text value="&props.secure.label;"/>
|
2001-03-29 06:11:48 +04:00
|
|
|
<textbox id="ifl_isSecure" readonly="true"/>
|
2000-05-04 07:32:15 +04:00
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<text value="&props.expires.label;"/>
|
2001-03-22 03:15:47 +03:00
|
|
|
<textbox id="ifl_expires" readonly="true"/>
|
2000-05-04 07:32:15 +04:00
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
2000-06-22 18:17:01 +04:00
|
|
|
</titledbox>
|
2000-08-06 11:04:11 +04:00
|
|
|
<box>
|
2000-05-04 07:32:15 +04:00
|
|
|
<button id="removeCookies" class="dialog push" disabled="true"
|
2001-03-22 03:59:29 +03:00
|
|
|
label="&button.removecookie.label;"
|
2000-12-20 04:58:56 +03:00
|
|
|
oncommand="DeleteCookieSelected();"/>
|
2000-05-04 07:32:15 +04:00
|
|
|
<button id="removeAllCookies" class="dialog push"
|
2001-03-22 03:59:29 +03:00
|
|
|
label="&button.removeallcookies.label;"
|
2000-12-20 04:58:56 +03:00
|
|
|
oncommand="DeleteAllCookies();"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<!-- todo: <button id="restoreCookies" class="dialog push" disabled="true" label="&button.restorecookie.label;" oncommand="RestoreCookies();"/> -->
|
2000-05-04 07:32:15 +04:00
|
|
|
</box>
|
2000-08-06 11:04:11 +04:00
|
|
|
<separator class="thin"/>
|
|
|
|
<box autostretch="never">
|
2001-03-22 03:59:29 +03:00
|
|
|
<checkbox id="checkbox" label="&checkbox.label;" />
|
2000-08-06 11:04:11 +04:00
|
|
|
</box>
|
1999-09-26 13:43:43 +04:00
|
|
|
</box>
|
|
|
|
|
2000-08-06 11:04:11 +04:00
|
|
|
<box class="tabpanel" id="servers" flex="1" orient="vertical">
|
2000-05-04 07:32:15 +04:00
|
|
|
<text class="label" value="&div.bannedservers.label;"/>
|
2000-08-06 11:04:11 +04:00
|
|
|
<separator class="thin"/>
|
2001-03-29 06:11:48 +04:00
|
|
|
<tree id="cookiepermissionstree" class="inset" flex="1"
|
|
|
|
onkeypress="if(event.which == 46) gone_p += DeleteItemSelected('cookiepermissionstree', 'permtree_', 'cookiePermList');"
|
|
|
|
multiple="true" onclick="ViewCookiePermissionSelected();">
|
2000-06-20 05:04:20 +04:00
|
|
|
<treecolgroup>
|
2000-06-23 02:15:38 +04:00
|
|
|
<treecol flex="5" width="0"/>
|
2000-08-11 10:50:32 +04:00
|
|
|
<splitter class="tree-splitter"/>
|
2000-06-23 02:15:38 +04:00
|
|
|
<treecol flex="5" width="0"/>
|
2000-06-20 05:04:20 +04:00
|
|
|
</treecolgroup>
|
1999-09-26 13:43:43 +04:00
|
|
|
<treehead>
|
|
|
|
<treerow>
|
2001-01-13 20:39:40 +03:00
|
|
|
<treecell class="treecell-header sortDirectionIndicator"
|
2001-03-22 03:59:29 +03:00
|
|
|
label="&treehead.sitename.label;"
|
2001-03-29 06:11:48 +04:00
|
|
|
onclick="return Wallet_ColumnSort('0', 'cookiePermList');"/>
|
2001-01-13 20:39:40 +03:00
|
|
|
<treecell class="treecell-header sortDirectionIndicator"
|
2001-03-22 03:59:29 +03:00
|
|
|
label="&treehead.status.label;"
|
2001-03-29 06:11:48 +04:00
|
|
|
onclick="return Wallet_ColumnSort('1', 'cookiePermList');"/>
|
1999-09-26 13:43:43 +04:00
|
|
|
</treerow>
|
|
|
|
</treehead>
|
2001-03-29 06:11:48 +04:00
|
|
|
<treechildren flex="1" id="cookiePermList"/>
|
1999-09-26 13:43:43 +04:00
|
|
|
</tree>
|
2000-08-06 11:04:11 +04:00
|
|
|
<box>
|
2000-05-04 07:32:15 +04:00
|
|
|
<button id="removePermissions" class="dialog push" disabled="true"
|
2001-03-22 03:59:29 +03:00
|
|
|
label="&removepermission.label;"
|
2001-03-29 06:11:48 +04:00
|
|
|
oncommand="DeleteCookiePermissionSelected();"/>
|
2000-05-04 07:32:15 +04:00
|
|
|
<button id="removeAllPermissions" class="dialog push"
|
2001-03-22 03:59:29 +03:00
|
|
|
label="&removeallpermissions.label;"
|
2001-03-29 06:11:48 +04:00
|
|
|
oncommand="DeleteAllCookiePermissions();"/>
|
2000-05-04 07:32:15 +04:00
|
|
|
</box>
|
1999-09-26 13:43:43 +04:00
|
|
|
</box>
|
2000-03-11 23:02:45 +03:00
|
|
|
|
2001-03-29 06:11:48 +04:00
|
|
|
<box class="tabpanel" id="images" hidden="true" flex="1" orient="vertical">
|
2000-05-04 07:32:15 +04:00
|
|
|
<text class="label" value="&div.bannedimages.label;"/>
|
2000-08-06 11:04:11 +04:00
|
|
|
<separator class="thin"/>
|
2001-03-29 06:11:48 +04:00
|
|
|
<tree id="imagepermissionstree" class="inset" flex="1" style="height: 0px;"
|
|
|
|
onkeypress="if(event.which == 46) gone_i += DeleteItemSelected('imagepermisionstree', 'imgtree_', 'imagePermList');"
|
|
|
|
multiple="true" onclick="ViewImagePermissionSelected();">
|
2000-06-20 05:04:20 +04:00
|
|
|
<treecolgroup>
|
2000-06-23 02:15:38 +04:00
|
|
|
<treecol flex="5" width="0"/>
|
2000-08-11 10:50:32 +04:00
|
|
|
<splitter class="tree-splitter"/>
|
2000-06-23 02:15:38 +04:00
|
|
|
<treecol flex="5" width="0"/>
|
2000-06-20 05:04:20 +04:00
|
|
|
</treecolgroup>
|
2000-03-11 23:02:45 +03:00
|
|
|
<treehead>
|
|
|
|
<treerow>
|
2001-01-13 20:39:40 +03:00
|
|
|
<treecell class="treecell-header sortDirectionIndicator"
|
2001-03-22 03:59:29 +03:00
|
|
|
label="&treehead.sitename.label;"
|
2001-03-29 06:11:48 +04:00
|
|
|
onclick="return Wallet_ColumnSort('0', 'imagePermList');"/>
|
2001-01-13 20:39:40 +03:00
|
|
|
<treecell class="treecell-header sortDirectionIndicator"
|
2001-03-22 03:59:29 +03:00
|
|
|
label="&treehead.status.label;"
|
2001-03-29 06:11:48 +04:00
|
|
|
onclick="return Wallet_ColumnSort('1', 'imagePermList');"/>
|
2000-03-11 23:02:45 +03:00
|
|
|
</treerow>
|
|
|
|
</treehead>
|
2001-03-29 06:11:48 +04:00
|
|
|
<treechildren flex="1" id="imagePermList"/>
|
2000-03-11 23:02:45 +03:00
|
|
|
</tree>
|
2000-08-06 11:04:11 +04:00
|
|
|
<box>
|
2000-05-04 07:32:15 +04:00
|
|
|
<button id="removeImages" class="dialog push" disabled="true"
|
2001-03-22 03:59:29 +03:00
|
|
|
label="&removeimage.label;"
|
2001-03-29 06:11:48 +04:00
|
|
|
oncommand="DeleteImagePermissionSelected();"/>
|
2000-05-04 07:32:15 +04:00
|
|
|
<button id="removeAllImages" class="dialog push"
|
2001-03-22 03:59:29 +03:00
|
|
|
label="&removeallimages.label;"
|
2001-03-29 06:11:48 +04:00
|
|
|
oncommand="DeleteAllImagePermissions();"/>
|
2000-05-04 07:32:15 +04:00
|
|
|
</box>
|
2000-03-11 23:02:45 +03:00
|
|
|
</box>
|
|
|
|
|
2001-04-18 10:59:04 +04:00
|
|
|
</tabpanels>
|
|
|
|
</tabbox>
|
1999-09-26 13:43:43 +04:00
|
|
|
|
2000-08-06 11:04:11 +04:00
|
|
|
<separator class="thin"/>
|
|
|
|
<box id="okCancelButtonsRight"/>
|
1999-09-26 13:43:43 +04:00
|
|
|
|
|
|
|
</window>
|