summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorŠtěpán Němec <stepnem@gmail.com>2011-01-24 21:58:33 +0100
committerŠtěpán Němec <stepnem@gmail.com>2011-01-24 21:58:33 +0100
commit5e8a11fe696f3237bb936b59b8aa51b9411d7c5b (patch)
treee36ccd2189d638dc2587d0aa365e238873ca2d99 /common
parent2b7906cf8c61514734169fe6a452cc1a16a7169b (diff)
downloadpentadactyl-5e8a11fe696f3237bb936b59b8aa51b9411d7c5b.tar.gz
Add tags et al. for the versions help page.
--HG-- branch : key-processing
Diffstat (limited to 'common')
-rw-r--r--common/content/about.xul4
-rw-r--r--common/content/dactyl.js3
2 files changed, 3 insertions, 4 deletions
diff --git a/common/content/about.xul b/common/content/about.xul
index 353a2eea..433402c8 100644
--- a/common/content/about.xul
+++ b/common/content/about.xul
@@ -22,9 +22,7 @@ by Kris Maglione, Doug Kearns, et al.
type :q&lt;<span class="key">Enter</span>> to exit <!---->
type :help&lt;<span class="key">Enter</span>> or &lt;<span class="key">F1</span>> for on-line help
type :help faq&lt;<span class="key">Enter</span>> for the FAQ page
-<!--
-type :help version-&dactyl.version;&lt;<span class="key">Enter</span>> for version info
--->
+type :help versions&lt;<span class="key">Enter</span>> for version info
</div>
<spring flex="1"/>
</hbox>
diff --git a/common/content/dactyl.js b/common/content/dactyl.js
index 332f5672..6293114c 100644
--- a/common/content/dactyl.js
+++ b/common/content/dactyl.js
@@ -708,13 +708,14 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
unescape(encodeURI( // UTF-8 handling hack.
<document xmlns={NS}
name="versions" title={config.appName + " Versions"}>
- <h1 tag="versions">Versions</h1>
+ <h1 tag="versions news">{config.appName} Versions</h1>
<toc start="2"/>
{rec(NEWS, 0)}
</document>.toXMLString()))
]
}
+ addTags("versions", util.httpGet("dactyl://help/versions").responseXML);
default xml namespace = NS;