From 73f4356070dad60ea6bf09209e0e62b247480f07 Mon Sep 17 00:00:00 2001 From: "morse%netscape.com" Date: Wed, 21 Feb 2001 05:14:11 +0000 Subject: [PATCH] new file, not yet part of build --- extensions/cookie/jar.mn | 16 ++ .../cookie/resources/content/contents.rdf | 36 +++++ .../content/cookieContextOverlay.xul | 120 +++++++++++++++ .../cookie/resources/content/cookieOverlay.js | 33 +++++ .../resources/content/cookiePrefsOverlay.xul | 47 ++++++ .../resources/content/cookieTasksOverlay.xul | 138 ++++++++++++++++++ .../cookie/resources/content/pref-cookies.xul | 71 +++++++++ .../cookie/resources/content/pref-images.xul | 119 +++++++++++++++ .../resources/locale/en-US/contents.rdf | 21 +++ .../locale/en-US/cookieContextOverlay.dtd | 2 + .../locale/en-US/cookiePrefsOverlay.dtd | 2 + .../locale/en-US/cookieTasksOverlay.dtd | 22 +++ .../resources/locale/en-US/pref-cookies.dtd | 28 ++++ .../resources/locale/en-US/pref-images.dtd | 22 +++ .../cookie/locale/en-US/contents.rdf | 21 +++ .../content/cookieTasksOverlay.xul | 138 ++++++++++++++++++ .../content/imageContextOverlay.xul | 120 +++++++++++++++ .../permissions/content/permissionsOverlay.js | 33 +++++ .../locale/en-US/cookieTasksOverlay.dtd | 22 +++ .../locale/en-US/imageContextOverlay.dtd | 2 + .../resources/content/cookiePrefsOverlay.xul | 47 ++++++ .../content/permissionsPrefsOverlay.xul | 47 ++++++ .../locale/en-US/cookiePrefsOverlay.dtd | 2 + .../locale/en-US/permissionsPrefsOverlay.dtd | 2 + 24 files changed, 1111 insertions(+) create mode 100644 extensions/cookie/jar.mn create mode 100644 extensions/cookie/resources/content/contents.rdf create mode 100644 extensions/cookie/resources/content/cookieContextOverlay.xul create mode 100644 extensions/cookie/resources/content/cookieOverlay.js create mode 100644 extensions/cookie/resources/content/cookiePrefsOverlay.xul create mode 100644 extensions/cookie/resources/content/cookieTasksOverlay.xul create mode 100644 extensions/cookie/resources/content/pref-cookies.xul create mode 100644 extensions/cookie/resources/content/pref-images.xul create mode 100644 extensions/cookie/resources/locale/en-US/contents.rdf create mode 100644 extensions/cookie/resources/locale/en-US/cookieContextOverlay.dtd create mode 100644 extensions/cookie/resources/locale/en-US/cookiePrefsOverlay.dtd create mode 100644 extensions/cookie/resources/locale/en-US/cookieTasksOverlay.dtd create mode 100644 extensions/cookie/resources/locale/en-US/pref-cookies.dtd create mode 100644 extensions/cookie/resources/locale/en-US/pref-images.dtd create mode 100644 xpfe/components/cookie/locale/en-US/contents.rdf create mode 100644 xpfe/components/permissions/content/cookieTasksOverlay.xul create mode 100644 xpfe/components/permissions/content/imageContextOverlay.xul create mode 100644 xpfe/components/permissions/content/permissionsOverlay.js create mode 100644 xpfe/components/permissions/locale/en-US/cookieTasksOverlay.dtd create mode 100644 xpfe/components/permissions/locale/en-US/imageContextOverlay.dtd create mode 100644 xpfe/components/prefwindow/resources/content/cookiePrefsOverlay.xul create mode 100644 xpfe/components/prefwindow/resources/content/permissionsPrefsOverlay.xul create mode 100644 xpfe/components/prefwindow/resources/locale/en-US/cookiePrefsOverlay.dtd create mode 100644 xpfe/components/prefwindow/resources/locale/en-US/permissionsPrefsOverlay.dtd diff --git a/extensions/cookie/jar.mn b/extensions/cookie/jar.mn new file mode 100644 index 000000000000..1a51c92f54e6 --- /dev/null +++ b/extensions/cookie/jar.mn @@ -0,0 +1,16 @@ +comm.jar: + content/communicator/cookie/contents.rdf (resources/content/contents.rdf) + content/communicator/cookie/cookieTasksOverlay.xul (resources/content/cookieTasksOverlay.xul) + content/communicator/cookie/cookieContextOverlay.xul (resources/content/cookieContextOverlay.xul) + content/communicator/cookie/cookiePrefsOverlay.xul (resources/content/cookiePrefsOverlay.xul) + content/communicator/cookie/pref-cookies.xul (resources/content/pref-cookies.xul) + content/communicator/cookie/pref-images.xul (resources/content/pref-images.xul) + content/communicator/cookie/cookieOverlay.js (resources/content/cookieOverlay.js) + +en-US.jar: + locale/en-US/communicator/cookie/contents.rdf (resources/locale/en-US/contents.rdf) + locale/en-US/communicator/cookie/cookieTasksOverlay.dtd (resources/locale/en-US/cookieTasksOverlay.dtd) + locale/en-US/communicator/cookie/cookieContextOverlay.dtd (resources/locale/en-US/cookieContextOverlay.dtd) + locale/en-US/communicator/cookie/cookiePrefsOverlay.dtd (resources/locale/en-US/cookiePrefsOverlay.dtd) + locale/en-US/communicator/cookie/pref-cookies.dtd (resources/locale/en-US/pref-cookies.dtd) + locale/en-US/communicator/cookie/pref-images.dtd (resources/locale/en-US/pref-images.dtd) diff --git a/extensions/cookie/resources/content/contents.rdf b/extensions/cookie/resources/content/contents.rdf new file mode 100644 index 000000000000..4427638bfccd --- /dev/null +++ b/extensions/cookie/resources/content/contents.rdf @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + chrome://content/communicator/cookie/cookieTasksOverlay.xul + + + + chrome://content/communicator/cookie/cookieContextOverlay.xul + + + + chrome://communicator/content/cookie/cookiePrefsOverlay.xul + + + diff --git a/extensions/cookie/resources/content/cookieContextOverlay.xul b/extensions/cookie/resources/content/cookieContextOverlay.xul new file mode 100644 index 000000000000..59c9a0a0f22e --- /dev/null +++ b/extensions/cookie/resources/content/cookieContextOverlay.xul @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + diff --git a/extensions/cookie/resources/content/cookieOverlay.js b/extensions/cookie/resources/content/cookieOverlay.js new file mode 100644 index 000000000000..656d67a15f89 --- /dev/null +++ b/extensions/cookie/resources/content/cookieOverlay.js @@ -0,0 +1,33 @@ +/* -*- Mode: Java; tab-width: 4; c-basic-offset: 4; -*- + * + * The contents of this file are subject to the Netscape Public License + * Version 1.0 (the "NPL"); you may not use this file except in + * compliance with the NPL. You may obtain a copy of the NPL at + * http://www.mozilla.org/NPL/ + * + * Software distributed under the NPL is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL + * for the specific language governing rights and limitations under the + * NPL. + * + * The Initial Developer of this code under the NPL is Netscape + * Communications Corporation. Portions created by Netscape are + * Copyright (C) 1998 Netscape Communications Corporation. All Rights + * Reserved. + * + * Contributor(s): + */ + +function viewImages() { + window.openDialog("chrome://communicator/content/wallet/CookieViewer.xul","", + "modal=yes,chrome,resizable=yes", 2 ); +} + +function viewCookies() { + window.openDialog("chrome://communicator/content/wallet/CookieViewer.xul","","modal=yes,chrome,resizable=yes", 0); +} + +function viewTutorial() { + window.openDialog + ("chrome://communicator/content/wallet/privacy.xul","","modal=yes,chrome,resizable=yes,height=400,width=600", 0); +} diff --git a/extensions/cookie/resources/content/cookiePrefsOverlay.xul b/extensions/cookie/resources/content/cookiePrefsOverlay.xul new file mode 100644 index 000000000000..01b5b368ed8b --- /dev/null +++ b/extensions/cookie/resources/content/cookiePrefsOverlay.xul @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/cookie/resources/content/cookieTasksOverlay.xul b/extensions/cookie/resources/content/cookieTasksOverlay.xul new file mode 100644 index 000000000000..e80587632d35 --- /dev/null +++ b/extensions/cookie/resources/content/cookieTasksOverlay.xul @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/cookie/resources/content/pref-cookies.xul b/extensions/cookie/resources/content/pref-cookies.xul new file mode 100644 index 000000000000..dcb5c015de39 --- /dev/null +++ b/extensions/cookie/resources/content/pref-cookies.xul @@ -0,0 +1,71 @@ + + + + + + + +%brandDTD; + +%prefCookieDTD; +]> + + + + + + + + + <text value="&cookiePolicy.label;"/> + + &cookieDetails; + + + + + + + + +