diff firefoxaddon/template/content/about.xul_tmpl @ 0:9869cf47fcf8 default tip

initial commit of Firefox addon template
author k0s <k0scist@gmail.com>
date Sun, 28 Mar 2010 16:25:58 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/firefoxaddon/template/content/about.xul_tmpl	Sun Mar 28 16:25:58 2010 -0400
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
+<!DOCTYPE dialog SYSTEM "chrome://${package}/locale/about.dtd">
+<dialog title="&about; ${description}" orient="vertical" autostretch="always" onload="sizeToContent()" buttons="accept" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+<!-- Original template by Jed Brown -->
+<groupbox align="center" orient="horizontal">
+<vbox>
+  <text value="${description}" style="font-weight: bold; font-size: x-large;"/>
+  <text value="&version; 1.0"/>
+  <separator class="thin"/>
+  <text value="&createdBy;" style="font-weight: bold;"/>
+  <text value="${author}"/>
+  <separator class="thin"/>
+      <text value="&homepage;" style="font-weight: bold;"/>
+    <text value="${url}"
+          class="url"
+        onclick="window.open('${url}'); window.close();"/>
+  <separator class="thin"/>
+</vbox>
+</groupbox>
+</dialog>