* Console:

- Add link to jobs.jsp on configservice.jsp
      - Add plugin disableStop support
This commit is contained in:
zzz
2010-03-02 22:54:32 +00:00
parent ca9f174171
commit 26aebe6a0f
5 changed files with 19 additions and 6 deletions

View File

@ -146,9 +146,10 @@ public class ConfigClientsHelper extends HelperBase {
.append("<a href=\"").append(updateURL).append("\">").append(_("Update link")).append("</a><td>&nbsp;");
}
desc.append("</table>");
boolean enableStop = !Boolean.valueOf(appProps.getProperty("disableStop")).booleanValue();
renderForm(buf, app, app, false,
"true".equals(val), false, desc.toString(), false, false,
updateURL != null, true, true);
updateURL != null, enableStop, true);
}
}
buf.append("</table>\n");

View File

@ -240,8 +240,6 @@ public class PluginUpdateHandler extends UpdateHandler {
return;
}
// todo compare sud version with property version
String minVersion = ConfigClientsHelper.stripHTML(props, "min-i2p-version");
if (minVersion != null &&
(new VersionComparator()).compare(CoreVersion.VERSION, minVersion) < 0) {