1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> |
---|
3 | <window |
---|
4 | class="dialog" |
---|
5 | title="" |
---|
6 | orient="vertical" |
---|
7 | autostretch="always" |
---|
8 | onload="sizeToContent()" |
---|
9 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
---|
10 | <script type="application/x-javascript"> |
---|
11 | <![CDATA[ |
---|
12 | function _setAboutInfo(addon){ |
---|
13 | document.getElementById("aboutVersion").setAttribute("value","Version "+addon.version); |
---|
14 | var app_title = document.getElementById("MarkingCollectionOverlayString").getString("APP_DISP_TITLE"); |
---|
15 | document.getElementById("aboutTitle").setAttribute("value",app_title); |
---|
16 | document.title = app_title + " - About"; |
---|
17 | } |
---|
18 | function _aboutInit(aEvent){ |
---|
19 | window.setTimeout( |
---|
20 | function(){ |
---|
21 | var app_id = document.getElementById("MarkingCollectionOverlayString").getString("APP_ID"); |
---|
22 | try{ |
---|
23 | var em = Components.classes["@mozilla.org/extensions/manager;1"].getService(Components.interfaces.nsIExtensionManager); |
---|
24 | _setAboutInfo(em.getItemForID(app_id)); |
---|
25 | }catch(e){ |
---|
26 | Components.utils.import("resource://gre/modules/AddonManager.jsm"); |
---|
27 | AddonManager.getAddonByID(app_id, _setAboutInfo); |
---|
28 | } |
---|
29 | },0); |
---|
30 | } |
---|
31 | function _aboutDone(aEvent){ |
---|
32 | } |
---|
33 | window.addEventListener("load", _aboutInit, false); |
---|
34 | window.addEventListener("unload", _aboutDone, false); |
---|
35 | ]]> |
---|
36 | </script> |
---|
37 | <stringbundleset id="stringbundleset"> |
---|
38 | <stringbundle id="MarkingCollectionOverlayString" src="chrome://markingcollection/locale/markingcollection.properties" /> |
---|
39 | </stringbundleset> |
---|
40 | <groupbox align="center" orient="horizontal"> |
---|
41 | <vbox flex="1"> |
---|
42 | <hbox> |
---|
43 | <text id="aboutTitle" value="Wired-Marker" style="font-weight: bold; font-size: x-large;"/> |
---|
44 | <spring flex="1"/> |
---|
45 | <!-- <image src="chrome://markingcollection/skin/icon_32.png"/> --> |
---|
46 | <image src="chrome://markingcollection/skin/annotator-skin/alphatransparent/dasish_32_32.png"/> |
---|
47 | </hbox> |
---|
48 | <vbox flex="1" align="right"> |
---|
49 | <text id="aboutVersion" value=""/> |
---|
50 | </vbox> |
---|
51 | <separator class="thin"/> |
---|
52 | <text value="Project scope:" style="font-weight: bold;"/> |
---|
53 | <vbox flex="1" align="right"> |
---|
54 | <hbox> |
---|
55 | <label value="Developed for the DASISH infrastructure project, WP 5, Data Enrichment and Shared Data Access."/> |
---|
56 | </hbox> |
---|
57 | </vbox> |
---|
58 | <separator class="thin"/> |
---|
59 | <text value="Home Page:" style="font-weight: bold;"/> |
---|
60 | <vbox flex="1" align="right"> |
---|
61 | <label value="http://dasish.eu/" class="text-link" href="http://dasish.eu/"/> |
---|
62 | </vbox> |
---|
63 | <separator class="thin"/> |
---|
64 | <text value="Original Concept & Design:" style="font-weight: bold;"/> |
---|
65 | <vbox flex="1" align="right"> |
---|
66 | <hbox> |
---|
67 | <label value="BITS Co., Ltd." class="text-link" href="http://www.bits.cc/"/><label value="&"/><label value="Prof. Okubo" class="text-link" href="http://www.nig.ac.jp/section/okubo/okubo-j.html"/> |
---|
68 | </hbox> |
---|
69 | </vbox> |
---|
70 | <separator class="thin"/> |
---|
71 | <text value="Home Page:" style="font-weight: bold;"/> |
---|
72 | <vbox flex="1" align="right"> |
---|
73 | <label value="http://www.wired-marker.org/" class="text-link" href="http://www.wired-marker.org/"/> |
---|
74 | </vbox> |
---|
75 | <separator class="thin"/> |
---|
76 | <vbox flex="1"> |
---|
77 | <hbox> |
---|
78 | <label value="The extension was modified and extended by"/><label style="margin-left: -4px; margin-right: -4px;" value="SND" class="text-link" href="http://snd.gu.se/"/><label value="in collaboration with"/><label style="margin-left: -4px; margin-right: -4px;" value="TLA - MPI." class="text-link" href="http://tla.mpi.nl/"/> |
---|
79 | </hbox> |
---|
80 | </vbox> |
---|
81 | <separator class="thin"/> |
---|
82 | </vbox> |
---|
83 | </groupbox> |
---|
84 | <hbox> |
---|
85 | <spacer flex="1"/> |
---|
86 | <button label="Close" oncommand="window.close();"/> |
---|
87 | </hbox> |
---|
88 | </window> |
---|