mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 04:05:49 +00:00
82 lines
3.2 KiB
XML
82 lines
3.2 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<!--
|
|
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/
|
|
|
|
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):
|
|
-->
|
|
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
|
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
|
|
|
<!DOCTYPE window [
|
|
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
|
%brandDTD;
|
|
<!ENTITY % prefCookieDTD SYSTEM "chrome://communicator/locale/pref/pref-cookies.dtd" >
|
|
%prefCookieDTD;
|
|
]>
|
|
|
|
<window debug="false" xmlns:html="http://www.w3.org/1999/xhtml" id="cookieWindow"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
class="color-dialog"
|
|
align="vertical"
|
|
onload="parent.initPanel('chrome://communicator/content/pref/pref-cookies.xul');">
|
|
|
|
<script>
|
|
<![CDATA[
|
|
|
|
_elementIDs = ["networkCookieBehaviour", "networkWarnAboutCookies"];
|
|
|
|
function viewCookies()
|
|
{
|
|
window.openDialog("chrome://communicator/content/wallet/CookieViewer.xul","","modal=yes,chrome,resizable=no", 0);
|
|
}
|
|
|
|
function viewTutorial()
|
|
{
|
|
window.openDialog
|
|
("chrome://communicator/content/wallet/privacy.xul","","modal=yes,chrome,resizable=yes,height=400,width=600", 0);
|
|
}
|
|
|
|
|
|
]]>
|
|
</script>
|
|
|
|
<box class="box-smallheader" id="cookieHeader" title="&lHeader;"/>
|
|
|
|
<titledbox orient="vertical">
|
|
<title><text value="&cookiePolicy.label;"/></title>
|
|
|
|
<html>&cookieDetails;</html>
|
|
|
|
<radiogroup id="networkCookieBehaviour" orient="vertical" autostretch="never"
|
|
pref="true" preftype="int" prefstring="network.cookie.cookieBehavior"
|
|
prefattribute="data">
|
|
<radio group="networkCookieBehaviour" data="0" value="&accAllCookiesRadio.label;" accesskey="&accAllCookiesRadio.accesskey;"/>
|
|
<radio group="networkCookieBehaviour" data="1" value="&accOrgCookiesRadio.label;" accesskey="&accOrgCookiesRadio.accesskey;"/>
|
|
<radio group="networkCookieBehaviour" data="2" value="&disableCookies.label;" accesskey="&disableCookies.accesskey;"/>
|
|
</radiogroup>
|
|
<checkbox class="indent" id="networkWarnAboutCookies" value="&warnAboutCookies.label;" accesskey="&warnAboutCookies.accesskey;"
|
|
pref="true" preftype="bool" prefstring="network.cookie.warnAboutCookies"
|
|
prefattribute="checked"/>
|
|
<box autostretch="never" halign="right">
|
|
<button class="dialog" value="&viewCookies.label;" accesskey="&viewCookies.accesskey;" oncommand="viewCookies();"/>
|
|
<button class="dialog" value="&viewTutorial.label;" accesskey="&viewTutorial.accesskey;" oncommand="viewTutorial();"/>
|
|
</box>
|
|
</titledbox>
|
|
|
|
</window>
|