diff options
| author | lulabad <lulabad@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2008-03-15 09:22:07 +0000 |
|---|---|---|
| committer | lulabad <lulabad@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2008-03-15 09:22:07 +0000 |
| commit | 3d122c125cf59decd9239809768c57ad62f756ef (patch) | |
| tree | dd869e795c2cc554b62319cbc5dfc75e5140194e /htroot | |
| parent | 9c989fe5f7f33a880ec3b174a0bb941ea6fa65d1 (diff) | |
added "current installed release" to Update Page
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4563 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'htroot')
| -rw-r--r-- | htroot/ConfigUpdate_p.html | 4 | ||||
| -rw-r--r-- | htroot/ConfigUpdate_p.java | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/htroot/ConfigUpdate_p.html b/htroot/ConfigUpdate_p.html index 7742a50f6..eae57247b 100644 --- a/htroot/ConfigUpdate_p.html +++ b/htroot/ConfigUpdate_p.html @@ -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"> <select name="releasedownload"> #{availreleases}# diff --git a/htroot/ConfigUpdate_p.java b/htroot/ConfigUpdate_p.java index 5095738fc..0c3eca869 100644 --- a/htroot/ConfigUpdate_p.java +++ b/htroot/ConfigUpdate_p.java @@ -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 |
