aboutsummaryrefslogtreecommitdiffstats
path: root/src/chrome/content/dialogs/about.xul
diff options
context:
space:
mode:
authorjmccrohan <jmccrohan@gmail.com>2011-04-06 15:29:05 +0100
committerjmccrohan <jmccrohan@gmail.com>2011-04-06 15:29:05 +0100
commit67810a8a0b08fc8697ee8fc8843af3757c12a421 (patch)
treeb9117ba19c4eff31666aa76010a69a9950623457 /src/chrome/content/dialogs/about.xul
parentf5d92fb14f7bfc5105700e60fb6fc35fb4e31401 (diff)
downloadMultiproxy-Switch-67810a8a0b08fc8697ee8fc8843af3757c12a421.tar.gz
Initial Commit
Diffstat (limited to 'src/chrome/content/dialogs/about.xul')
-rw-r--r--src/chrome/content/dialogs/about.xul38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/chrome/content/dialogs/about.xul b/src/chrome/content/dialogs/about.xul
new file mode 100644
index 0000000..3363c81
--- /dev/null
+++ b/src/chrome/content/dialogs/about.xul
@@ -0,0 +1,38 @@
+<?xml version="1.0"?>
+
+<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
+
+<!DOCTYPE dialog SYSTEM "chrome://mproxy/locale/locale.dtd">
+
+<dialog buttons="accept"
+ id="aboutmproxy"
+ ondialogaccept="return true"
+ title="&about.title;"
+ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ onload="mproxy_setVersion()" >
+
+ <script type="application/x-javascript" src="chrome://mproxy/content/globals.js"></script>
+ <script type="application/x-javascript" src="chrome://mproxy/content/about.js"></script>
+ <script language="JavaScript">
+ <![CDATA[
+ function mproxy_setVersion(){
+ var oLabel = document.getElementById("mproxy-version");
+
+ if(oLabel != null && gmproxy_Version != null){
+ oLabel.value += " "+ gmproxy_Version;
+ }
+ }
+ ]]>
+ </script>
+
+ <vbox style="width: 200px;">
+ <hbox>
+ <label value="&common.product.name;" style="font-weight: bold; margin-right: 2px;" />
+ <label value="v" id="mproxy-version" style="margin-left: 2px;" />
+ </hbox>
+ <label value="Based on SwitchProxy by Jeremy Gillick" />
+ <label value="http://multiproxyswitch.blogspot.com"
+ style="color: #0000FF; text-decoration: underline; cursor: pointer;"
+ onclick="open_tab('http://multiproxyswitch.blogspot.com');" />
+ </vbox>
+</dialog> \ No newline at end of file