added "current installed release" to Update Page

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4563 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
lulabad 2008-03-15 09:22:07 +00:00
parent 9c989fe5f7
commit 3d122c125c
2 changed files with 4 additions and 2 deletions

View File

@ -16,7 +16,9 @@
<fieldset>
<legend>Manual System Update</legend>
<dl>
<dt>Available Releases</dt>
<dt>Current installed Release</dt>
<dd>#[versionpp]#</dd>
<dt><br />Available Releases</dt>
<dd><form action="ConfigUpdate_p.html" method="get">
&nbsp;<select name="releasedownload">
#{availreleases}#

View File

@ -114,7 +114,7 @@ public class ConfigUpdate_p {
// version information
String versionstring = yacyVersion.combined2prettyVersion(sb.getConfig("version","0.1"));
prop.put("versionpp", versionstring);
prop.put("candeploy_versionpp", versionstring);
boolean devenvironment = versionstring.startsWith("dev");
double thisVersion = Double.parseDouble(sb.getConfig("version","0.1"));
// cut off the SVN Rev in the Version