git-svn-id: svn://euphorik.ch/pompage@45 02bbb61a-6d21-0410-aba0-cb053bdfd66a
[pompage.git] / doc / webdeveloper / dialogs / cookie.xul
1 <?xml version="1.0"?>
2 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
3
4 <!DOCTYPE dialog SYSTEM "chrome://webdeveloper/locale/dialogs.dtd">
5
6 <dialog buttons="accept, cancel"
7         id="webdeveloper-cookie-dialog"
8         ondialogaccept="return webdeveloper_saveCookie()"
9         onload="webdeveloper_initializeCookie()"
10         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
11
12     <script type="application/x-javascript" src="chrome://webdeveloper/content/common/prompt.js"/>
13     <script type="application/x-javascript" src="chrome://webdeveloper/content/common/string.js"/>
14     <script type="application/x-javascript" src="chrome://webdeveloper/content/dialogs/cookie.js"/>
15
16     <stringbundleset id="stringbundleset">
17         <stringbundle id="webdeveloper-string-bundle" src="chrome://webdeveloper/locale/webdeveloper.properties"/>
18     </stringbundleset>
19
20     <vbox>
21         <grid>
22             <columns>
23                 <column/>
24                 <column/>
25             </columns>
26             <rows>
27                 <row align="center">
28                     <label control="webdeveloper-cookie-name" value="&webdeveloper.name.label;"/>
29                     <textbox flex="1" id="webdeveloper-cookie-name" size="35"/>
30                 </row>
31                 <row align="center">
32                     <label control="webdeveloper-cookie-value" value="&webdeveloper.value.label;"/>
33                     <textbox flex="1" id="webdeveloper-cookie-value" size="35"/>
34                 </row>
35                 <row align="center">
36                     <label control="webdeveloper-cookie-host" value="&webdeveloper.host.label;"/>
37                     <textbox flex="1" id="webdeveloper-cookie-host" size="35"/>
38                 </row>
39                 <row align="center">
40                     <label control="webdeveloper-cookie-path" value="&webdeveloper.path.label;"/>
41                     <textbox flex="1" id="webdeveloper-cookie-path" size="35"/>
42                 </row>
43                 <row align="center">
44                     <label control="webdeveloper-cookie-expires" value="&webdeveloper.cookie.expires.label;"/>
45                     <textbox flex="1" id="webdeveloper-cookie-expires" size="35"/>
46                 </row>
47             </rows>
48         </grid>
49         <checkbox id="webdeveloper-cookie-session" label="&webdeveloper.cookie.session.label;" oncommand="webdeveloper_updateExpiryStatus()"/>
50         <checkbox id="webdeveloper-cookie-secure" label="&webdeveloper.cookie.secure.label;"/>
51     </vbox>
52 </dialog>