aboutsummaryrefslogtreecommitdiff
path: root/chrome/content/redirect.xul
diff options
context:
space:
mode:
authorEinar Egilsson2007-05-21 22:03:05 +0000
committerEinar Egilsson2007-05-21 22:03:05 +0000
commit502c24f18cdfa0f808d9383313bb4f965c7fb11f (patch)
treec9f2523995b6fc59e3bf6cc3bcc9200bbedd5e95 /chrome/content/redirect.xul
Redirector
git-svn-id: http://einaregilsson.googlecode.com/svn/mozilla/redirector/trunk@53 119bf307-c92d-0410-89bd-8f53e6181181
Diffstat (limited to 'chrome/content/redirect.xul')
-rw-r--r--chrome/content/redirect.xul39
1 files changed, 39 insertions, 0 deletions
diff --git a/chrome/content/redirect.xul b/chrome/content/redirect.xul
new file mode 100644
index 0000000..ea8ac02
--- /dev/null
+++ b/chrome/content/redirect.xul
@@ -0,0 +1,39 @@
+<?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="common.js"/>
+ <script type="application/x-javascript" src="redirlib.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>
+ </rows>
+ </grid>
+ <checkbox id="chkOnlyIfLinkExists" label="&chkOnlyIfLinkExists.label;"/>
+
+</dialog>