Show the mod version in the launcher

This commit is contained in:
Paul Chote
2010-12-23 12:21:51 +13:00
parent dc3bf2515a
commit 14ad5099a0
4 changed files with 21 additions and 0 deletions

View File

@@ -125,6 +125,7 @@
function onLoad()
{
refreshSections();
document.getElementById("versionstring").innerHTML = window.external.metadata("VERSION", "ra");
}
function refreshSections()
@@ -211,6 +212,7 @@
<body onload="onLoad();">
<div id="header" class="bar">
<h1>Red Alert</h1>
<p id="versionstring">XXX</p>
</div>
<div id="main">