aboutsummaryrefslogtreecommitdiff
path: root/chrome/content/redirect.xul
blob: 8db18910b42acb0152e1078195d63222e8664b1c (plain)
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
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<!DOCTYPE dialog SYSTEM "chrome://redirector/locale/redirect.dtd">
<dialog title="&redirectWindow.title;"
        orient="vertical"
        autostretch="always"
        onload="Redirect.onLoad();"
        buttons="accept,cancel"
        ondialogaccept="return Redirect.onAccept();"
        xmlns:nc="http://home.netscape.com/NC-rdf#"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

  <script type="application/x-javascript" src="redirlib.js"/>
  <script type="application/x-javascript" src="redirector.js"/>
  <script type="application/x-javascript" src="redirect.js"/>
  <style type="text/css">
    textbox { width:500px; }
  </style>

  <grid>
    <rows>
      <row>
        <text value="&txtExampleUrl.label;"/>
        <textbox id="txtExampleUrl" disabled="true" />
      </row>
      <row>
        <text value="&txtPattern.label;"/>
        <textbox id="txtPattern"/>
        <button id="btnTestPattern" label="&btnTestPattern.label;" onclick="Redirect.testPattern();" />
      </row>
      <row>
        <text value="&txtRedirectUrl.label;"/>
        <textbox id="txtRedirectUrl"/>
      </row>
      <row>
        <checkbox id="chkOnlyIfLinkExists" label="&chkOnlyIfLinkExists.label;"/>
        <radiogroup>
          <radio id="rdoWildcard" label="&rdoWildcard.label;" accesskey="&rdoWildcard.accessKey;" selected="true"/>
          <radio id="rdoRegex" label="&rdoRegex.label;"  accesskey="&rdoRegex.accessKey;"/>
        </radiogroup>
      </row>
    </rows>
  </grid>

</dialog>