File: newscript.xul

package info (click to toggle)
greasemonkey 2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 1,820 kB
  • sloc: xml: 171; makefile: 10
file content (49 lines) | stat: -rw-r--r-- 1,433 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>

<!DOCTYPE dialog SYSTEM "chrome://greasemonkey/locale/greasemonkey.dtd">

<dialog id="greasemonkey"
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  buttons="accept,cancel,extra2"
  ondialogaccept="return doInstall();"
  title="&menu.new;"
  orient="vertical"

  buttonlabelextra2="&newscript.fromClipboard;"
  ondialogextra2="installFromClipboard(); window.close();"
  >

  <stringbundle id="gm-browser-bundle" src="chrome://greasemonkey/locale/gm-browser.properties" />

  <script type="application/x-javascript" src="chrome://greasemonkey/content/newscript.js" />

  <vbox>
    <label value="&newscript.name;" control="name" />
    <textbox id="name" />
    <separator class="thin" />

    <label value="&newscript.namespace;" control="namespace" />
    <textbox id="namespace" />
    <separator class="thin" />

    <label value="&newscript.description;" control="description" />
    <textbox id="description" />
    <separator class="thin" />

    <label value="&newscript.includes;" control="include" />
    <textbox id="include"
      multiline="true"
      rows="4"
      cols="60" />
    <separator class="thin" />

    <label value="&newscript.excludes;" control="exclude" />
    <textbox id="exclude"
      multiline="true"
      rows="4"
      cols="60" />
    <separator class="thin" />
  </vbox>

</dialog>