File: scriptprefs.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 (56 lines) | stat: -rw-r--r-- 1,722 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
50
51
52
53
54
55
56
<?xml version="1.0"?>

<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://greasemonkey/skin/bindings.css" type="text/css"?>
<?xml-stylesheet href="chrome://greasemonkey/skin/scriptprefs.css" type="text/css"?>

<!DOCTYPE prefwindow [
<!ENTITY % addonsDTD SYSTEM "chrome://greasemonkey/locale/gm-addons.dtd">
<!ENTITY % cludesDTD SYSTEM "chrome://greasemonkey/locale/gm-cludes.dtd">
<!ENTITY % greasemonkeyDTD SYSTEM "chrome://greasemonkey/locale/greasemonkey.dtd">
%addonsDTD;
%cludesDTD;
%greasemonkeyDTD;
]>

<dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  buttons="accept,cancel"
  title="&scriptprefs.title;"
  ondialogaccept="return onDialogAccept();"
>

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

<tabbox>
  <tabs>
    <tab label="&scriptprefs.usersettings;" />
    <tab label="&scriptprefs.scriptsettings;" />
  </tabs>
  <tabpanels>
    <tabpanel>
      <vbox flex="1">
        <label value="&label.grpIncluded;" />
        <cludes id="user-includes"/>
        <label value="&label.grpExcluded;" />
        <cludes id="user-excludes" />
      </vbox>
    </tabpanel>
    <tabpanel>
      <vbox flex="1">
        <vbox flex="1" class="in">
          <label value="&label.grpIncluded;" />
          <cludes id="script-includes" class="readonly" />
        </vbox>
        <vbox flex="1" class="ex">
          <label value="&label.grpExcluded;" />
          <cludes id="script-excludes" class="readonly" />
        </vbox>
      </vbox>
    </tabpanel>
  </tabpanels>
</tabbox>

<spacer height="5" />
<button label="&Edit.tooltip;" oncommand="GM_util.openInEditor(gScript);" />

</dialog>