~vono22/cookiekeeper/1.9.0

« back to all changes in this revision

Viewing changes to cookiekeeper/chrome/content/ck.editor.cookie.xul

  • Committer: Yvon TANGUY
  • Date: 2014-04-09 19:37:40 UTC
  • Revision ID: vono@vono.zsh.jp-20140409193740-1cqp6j5bgei4g91n
Fix #1305252 : Regression: preference extensions.cookiekeeper.version not set

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0"?>
2
 
<!--
3
 
   - CookieKeeper - a Mozilla add-on
4
 
   - (c) 2013-2016 Yvon TANGUY
5
 
   -
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
   - ==================================================================
11
6
   - Cookies Editor.
12
7
 -->
13
8
 
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"?>
16
11
 
17
12
<!DOCTYPE dialog [
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" >
20
15
  %brandDTD;
21
16
  %cookieKeeperDTD;
22
17
]>
23
18
 
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);">
34
29
 
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");
38
 
  </script>
 
31
 
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" />
41
34
 
49
42
          <column flex="1" />
50
43
        </columns>
51
44
        <rows>
52
 
           <row align="center">
 
45
          <row align="center">
 
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;" />
 
48
          </row>
 
49
          <row align="center">
 
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;" />
 
52
          </row>
 
53
          <row align="center">
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;" />
55
56
          </row>
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;" />
59
 
          </row>
60
 
          <row align="center">
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;" />
63
60
          </row>
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;" />
67
 
          </row>
68
 
         <row align="center">
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" />
73
 
            </radiogroup>
 
63
            <checkbox id="cbSecure" accessibleType="1003" aria-label="&props.secure.label;" />
74
64
          </row>
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;" />
78
68
          </row>
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">
82
72
                <hbox>
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');" />
88
 
                  </radiogroup>
 
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');" />
 
82
                    </menupopup>
 
83
                  </toolbarbutton>
89
84
                  <spacer flex="1"/>
90
85
                </hbox>
91
86
                <hbox>