blob: 22d4a8d316a2a7aa124dba619f5eb8483c26926e (
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
46
47
48
49
50
51
52
53
54
55
56
57
|
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id$ -->
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<!DOCTYPE dialog SYSTEM "chrome://redirector/locale/editRedirect.xul.dtd">
<dialog title="&redirectWindow.title;"
orient="vertical"
autostretch="always"
onload="EditRedirect.onLoad();"
buttons="accept,cancel"
ondialogaccept="return EditRedirect.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="../code/redirect.js"/>
<script type="application/x-javascript" src="../code/editRedirect.xul.js"/>
<stringbundleset id="stringbundleset">
<stringbundle id="redirector-strings" src="chrome://redirector/locale/redirector.properties"/>
</stringbundleset>
<grid>
<rows>
<row align="center">
<text value="&txtExampleUrl.label;" style="margin-top:6px;"/>
<textbox id="txtExampleUrl" style="width:400px;"/>
</row>
<row align="center">
<text value="&txtIncludePattern.label;" style="margin-top:6px;"/>
<textbox id="txtIncludePattern" taborder="1"/>
<button id="btnTestPattern" label="&btnTestPattern.label;" onclick="EditRedirect.testPattern();" taborder="2"/>
</row>
<row align="center">
<text value="&txtExcludePattern.label;" style="margin-top:6px;"/>
<textbox id="txtExcludePattern" taborder="3"/>
</row>
<row align="center">
<text value="&txtRedirectUrl.label;" style="margin-top:6px;"/>
<textbox id="txtRedirectUrl" taborder="4"/>
</row>
<row align="center">
<text value="&rdoPatternTypes.label;"/>
<radiogroup>
<hbox>
<radio id="rdoWildcard" label="&rdoWildcard.label;" accesskey="&rdoWildcard.accessKey;" selected="true" taborder="5"/>
<radio id="rdoRegex" label="&rdoRegex.label;" accesskey="&rdoRegex.accessKey;" taborder="6"/>
</hbox>
</radiogroup>
</row>
<row align="center">
<text value="&chkUnescapeMatches.label;" />
<hbox>
<checkbox id="chkUnescapeMatches" label="" taborder="7"/>
<spacer flex="1" />
</hbox>
</row>
</rows>
</grid>
</dialog>
|