1
1
<?xml version="1.0"?>
3
- CookieKeeper - a Mozilla add-on
4
- (c) 2013-2016 Yvon TANGUY
6
- ==================================================================
7
- This Source Code Form is subject to the terms of the Mozilla Public
2
<!-- This Source Code Form is subject to the terms of the Mozilla Public
8
3
- License, v. 2.0. If a copy of the MPL was not distributed with this
9
4
- file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
5
- ==================================================================
14
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
15
<?xml-stylesheet href="chrome://cookiekeeper_os/skin/ck.editor.cookie.css" type="text/css"?>
9
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
10
<?xml-stylesheet href="chrome://cookiekeeper/skin/ck.editor.cookie.css" type="text/css"?>
18
13
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
19
<!ENTITY % cookieKeeperDTD SYSTEM "chrome://cookiekeeper/locale/ck.editor.dtd" >
14
<!ENTITY % cookieKeeperDTD SYSTEM "chrome://cookiekeeper/locale/cookiekeeper.dtd" >
24
19
<window id="cookieKeeperEditorCookie"
25
20
windowtype="CookieKeeper:CookieEditor"
26
class="windowDialog" title="&window.cookieeditor.title;"
21
class="windowDialog" title="&cookieeditor.label;"
27
22
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
28
23
onload="gCookieEditor.init();"
29
24
onunload="gCookieEditor.uninit();"
33
28
onkeypress="gCookieEditor.onWindowKeyPress(event);">
35
30
<stringbundle id="bundleCookieKeeper" src="chrome://cookiekeeper/locale/cookiekeeper.properties" />
36
<script type="application/x-javascript">
37
Components.utils.import("resource://gre/modules/Services.jsm");
39
32
<script src="chrome://cookiekeeper/content/common.js" type="application/x-javascript" />
40
33
<script src="chrome://cookiekeeper/content/ck.editor.cookie.js" type="application/x-javascript" />
49
42
<column flex="1" />
46
<hbox pack="end"><label id="nameLabel" control="name" value="&props.name.label;"/></hbox>
47
<textbox id="tbName" newlines="strip" accessibleType="101B" aria-label="&props.name.label;" />
50
<hbox pack="end"><label id="valueLabel" control="value" value="&props.value.label;"/></hbox>
51
<textbox id="tbValue" newlines="strip" accessibleType="101B" aria-label="&props.value.label;" />
53
54
<hbox pack="end"><label id="isDomain" control="host" value="&props.domain.label;"/></hbox>
54
55
<textbox id="tbHost" newlines="strip" accessibleType="101B" aria-label="&props.domain.label;" />
56
57
<row align="center">
57
<hbox pack="end"><label id="nameLabel" control="name" value="&props.name.label;"/></hbox>
58
<textbox id="tbName" newlines="strip" accessibleType="101B" aria-label="&props.name.label;" />
61
58
<hbox pack="end"><label id="pathLabel" control="path" value="&props.path.label;"/></hbox>
62
59
<textbox id="tbPath" newlines="strip" accessibleType="101B" aria-label="&props.path.label;" />
64
61
<row align="center">
65
<hbox pack="end"><label id="valueLabel" control="value" value="&props.value.label;"/></hbox>
66
<textbox id="tbValue" newlines="strip" accessibleType="101B" aria-label="&props.value.label;" />
69
62
<hbox pack="end"><label id="isSecureLabel" control="isSecure" value="&props.secure.label;" /></hbox>
70
<radiogroup id="radioGroupSecure" style="display: inline-block;" accessibleType="1016" >
71
<radio id="radioSecureNo" label="&radio.secure_no.label;" value="date" accessibleType="1015" />
72
<radio id="radioSecureYes" label="&radio.secure_yes.label;" value="session" accessibleType="1015" />
63
<checkbox id="cbSecure" accessibleType="1003" aria-label="&props.secure.label;" />
75
65
<row align="center">
76
<hbox pack="end"><label id="isHttpOnly" control="isHttpOnly" value="&props.httponly.label;" tooltiptext="&props.httponly.tooltip;" /></hbox>
66
<hbox pack="end"><label id="isHttpOnly" control="isHttpOnly" value="&props.httponly.label;" /></hbox>
77
67
<checkbox id="cbHttpOnly" accessibleType="1003" aria-label="&props.httponly.label;" />
79
69
<row align="center">
80
70
<hbox pack="end"><label id="expiresLabel" control="expires" value="&props.expires.label;" /></hbox>
81
71
<vbox id="expireBox">
83
<radiogroup id="radioGroupExpire" style="display: inline-block;" accessibleType="1016" >
84
<radio id="radioExpireDate" label="&radio.expire.date;" value="date" accessibleType="1015"
85
oncommand="gCookieEditor.onRadioExpire('date');" />
86
<radio id="radioExpireSession" label="&radio.expire.session;" value="session" accessibleType="1015"
87
oncommand="gCookieEditor.onRadioExpire('session');" />
73
<toolbarbutton id="menuExpireCookie" class="tabbable" type="menu-button" accessibleType="1023"
74
label="&menu.expire.date;" >
75
<menupopup id="menupopupFilter" accessibleType="100F">
76
<menuitem id="menuitemFilterAll" accessibleType="100E"
77
label="&menu.expire.date;"
78
oncommand="gCookieEditor.onMenuExpire('date');" />
79
<menuitem id="menuitemFilterProtected" accessibleType="100E"
80
label="&menu.expire.session;"
81
oncommand="gCookieEditor.onMenuExpire('session');" />