Commit f1679aff authored by Ryan Graham's avatar Ryan Graham Committed by ryan

More UI tweaks (finishing out most of the rest of the pages). i'm sure there are more to come.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@5299 b35dd754-fafc-0310-a699-88a17e54d16e
parent d361268c
...@@ -25,12 +25,12 @@ ...@@ -25,12 +25,12 @@
<% webManager.init(request, response, session, application, out ); %> <% webManager.init(request, response, session, application, out ); %>
<html> <html>
<head> <head>
<title><fmt:message key="audit.policy.title"/></title> <title><fmt:message key="audit.policy.title"/></title>
<meta name="pageID" content="server-audit-policy"/> <meta name="pageID" content="server-audit-policy"/>
<meta name="helpPage" content="set_server_traffic_auditing_policy.html"/> <meta name="helpPage" content="set_server_traffic_auditing_policy.html"/>
</head> </head>
<body> <body>
...@@ -178,215 +178,215 @@ ...@@ -178,215 +178,215 @@
<fmt:message key="audit.policy.title_info" /> <fmt:message key="audit.policy.title_info" />
</p> </p>
<!-- BEGIN 'Set Message Audit Policy' -->
<form action="audit-policy.jsp" name="f"> <form action="audit-policy.jsp" name="f">
<div class="jive-contentBoxHeader">
<fieldset> <fmt:message key="audit.policy.policytitle" />
<legend><fmt:message key="audit.policy.policytitle" /></legend> </div>
<div> <div class="jive-contentBox">
<table cellpadding="3" cellspacing="0" border="0" width="100%"> <table cellpadding="3" cellspacing="0" border="0">
<tbody> <tbody>
<tr valign="middle"> <tr valign="middle">
<td width="1%" nowrap> <td width="1%" nowrap>
<input type="radio" name="auditEnabled" value="false" id="rb01" <input type="radio" name="auditEnabled" value="false" id="rb01"
<%= (!auditEnabled ? "checked" : "") %>> <%= (!auditEnabled ? "checked" : "") %>>
</td> </td>
<td width="99%"> <td width="99%">
<label for="rb01"> <label for="rb01">
<b><fmt:message key="audit.policy.label_disable_auditing" /></b> <fmt:message key="audit.policy.label_disable_auditing_info" /> <b><fmt:message key="audit.policy.label_disable_auditing" /></b> <fmt:message key="audit.policy.label_disable_auditing_info" />
</label> </label>
</td> </td>
</tr> </tr>
<tr valign="middle"> <tr valign="middle">
<td width="1%" nowrap> <td width="1%" nowrap>
<input type="radio" name="auditEnabled" value="true" id="rb02" <input type="radio" name="auditEnabled" value="true" id="rb02"
<%= (auditEnabled ? "checked" : "") %>> <%= (auditEnabled ? "checked" : "") %>>
</td> </td>
<td width="99%"> <td width="99%">
<label for="rb02"> <label for="rb02">
<b><fmt:message key="audit.policy.label_enable_auditing" /></b> <fmt:message key="audit.policy.label_enable_auditing_info" /> <b><fmt:message key="audit.policy.label_enable_auditing" /></b> <fmt:message key="audit.policy.label_enable_auditing_info" />
</label> </label>
</td> </td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td width="1%" nowrap> <td width="1%" nowrap>
&nbsp; &nbsp;
</td> </td>
<td width="99%"> <td width="99%">
<table cellpadding="3" cellspacing="0" border="0" width="100%"> <table cellpadding="3" cellspacing="0" border="0">
<tr valign="top"> <tr valign="top">
<td width="1%" nowrap class="c1"> <td width="1%" nowrap class="c1">
<fmt:message key="audit.policy.log_directory" /> <fmt:message key="audit.policy.log_directory" />
</td> </td>
<td width="99%"> <td width="99%">
<input type="text" size="50" maxlength="150" name="logDir" <input type="text" size="50" maxlength="150" name="logDir"
value="<%= ((logDir != null) ? logDir : "") %>"> value="<%= ((logDir != null) ? logDir : "") %>">
<% if (errors.get("logDir") != null) { %> <% if (errors.get("logDir") != null) { %>
<span class="jive-error-text"> <span class="jive-error-text">
<fmt:message key="audit.policy.valid_log_directory" /> <fmt:message key="audit.policy.valid_log_directory" />
</span> </span>
<% } %> <% } %>
</td> </td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td width="1%" nowrap class="c1"> <td width="1%" nowrap class="c1">
<fmt:message key="audit.policy.maxtotal_size" /> <fmt:message key="audit.policy.maxtotal_size" />
</td> </td>
<td width="99%"> <td width="99%">
<input type="text" size="15" maxlength="50" name="maxTotalSize" <input type="text" size="15" maxlength="50" name="maxTotalSize"
value="<%= ((maxTotalSize != null) ? maxTotalSize : "") %>"> value="<%= ((maxTotalSize != null) ? maxTotalSize : "") %>">
<% if (errors.get("maxTotalSize") != null) { %> <% if (errors.get("maxTotalSize") != null) { %>
<span class="jive-error-text"> <span class="jive-error-text">
<fmt:message key="audit.policy.validnumber" /> <fmt:message key="audit.policy.validnumber" />
</span> </span>
<% } %> <% } %>
</td> </td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td width="1%" nowrap class="c1"> <td width="1%" nowrap class="c1">
<fmt:message key="audit.policy.maxfile_size" /> <fmt:message key="audit.policy.maxfile_size" />
</td> </td>
<td width="99%"> <td width="99%">
<input type="text" size="15" maxlength="50" name="maxFileSize" <input type="text" size="15" maxlength="50" name="maxFileSize"
value="<%= ((maxFileSize != null) ? maxFileSize : "") %>"> value="<%= ((maxFileSize != null) ? maxFileSize : "") %>">
<% if (errors.get("maxFileSize") != null) { %> <% if (errors.get("maxFileSize") != null) { %>
<span class="jive-error-text"> <span class="jive-error-text">
<fmt:message key="audit.policy.validnumber" /> <fmt:message key="audit.policy.validnumber" />
</span> </span>
<% } %> <% } %>
</td> </td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td width="1%" nowrap class="c1"> <td width="1%" nowrap class="c1">
<fmt:message key="audit.policy.maxdays_number" /> <fmt:message key="audit.policy.maxdays_number" />
</td> </td>
<td width="99%"> <td width="99%">
<input type="text" size="15" maxlength="50" name="maxDays" <input type="text" size="15" maxlength="50" name="maxDays"
value="<%= ((maxDays != null) ? maxDays : "") %>"> value="<%= ((maxDays != null) ? maxDays : "") %>">
<% if (errors.get("maxDays") != null) { %> <% if (errors.get("maxDays") != null) { %>
<span class="jive-error-text"> <span class="jive-error-text">
<fmt:message key="audit.policy.validnumber" /> <fmt:message key="audit.policy.validnumber" />
</span> </span>
<% } %> <% } %>
</td> </td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td width="1%" nowrap class="c1"> <td width="1%" nowrap class="c1">
<fmt:message key="audit.policy.flush_interval" /> <fmt:message key="audit.policy.flush_interval" />
</td> </td>
<td width="99%"> <td width="99%">
<input type="text" size="15" maxlength="50" name="logTimeout" <input type="text" size="15" maxlength="50" name="logTimeout"
value="<%= ((logTimeout != null) ? logTimeout : "") %>"> value="<%= ((logTimeout != null) ? logTimeout : "") %>">
<% if (errors.get("logTimeout") != null) { %> <% if (errors.get("logTimeout") != null) { %>
<span class="jive-error-text"> <span class="jive-error-text">
<fmt:message key="audit.policy.validnumber" /> <fmt:message key="audit.policy.validnumber" />
</span> </span>
<% } %> <% } %>
</td> </td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td width="1%" nowrap class="c1"> <td width="1%" nowrap class="c1">
<fmt:message key="audit.policy.packet_audit" /> <fmt:message key="audit.policy.packet_audit" />
</td> </td>
<td width="99%"> <td width="99%">
<table cellpadding="4" cellspacing="0" border="0" width="100%"> <table cellpadding="4" cellspacing="0" border="0" width="100%">
<tr valign="top"> <tr valign="top">
<td width="1%" nowrap> <td width="1%" nowrap>
<input type="checkbox" name="auditMessages" id="cb01" <input type="checkbox" name="auditMessages" id="cb01"
onclick="this.form.auditEnabled[1].checked=true;" onclick="this.form.auditEnabled[1].checked=true;"
<%= (auditMessages ? "checked" : "") %>> <%= (auditMessages ? "checked" : "") %>>
</td> </td>
<td width="99%"> <td width="99%">
<label for="cb01"> <label for="cb01">
<b><fmt:message key="audit.policy.label_audit_messenge_packets" /></b> <b><fmt:message key="audit.policy.label_audit_messenge_packets" /></b>
</label> </label>
</td> </td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td width="1%" nowrap> <td width="1%" nowrap>
<input type="checkbox" name="auditPresence" id="cb02" <input type="checkbox" name="auditPresence" id="cb02"
onclick="this.form.auditEnabled[1].checked=true;" onclick="this.form.auditEnabled[1].checked=true;"
<%= (auditPresence ? "checked" : "") %>> <%= (auditPresence ? "checked" : "") %>>
</td> </td>
<td width="99%"> <td width="99%">
<label for="cb02"> <label for="cb02">
<b><fmt:message key="audit.policy.label_audit_presence_packets" /></b> <b><fmt:message key="audit.policy.label_audit_presence_packets" /></b>
</label> </label>
</td> </td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td width="1%" nowrap> <td width="1%" nowrap>
<input type="checkbox" name="auditIQ" id="cb03" <input type="checkbox" name="auditIQ" id="cb03"
onclick="this.form.auditEnabled[1].checked=true;" onclick="this.form.auditEnabled[1].checked=true;"
<%= (auditIQ ? "checked" : "") %>> <%= (auditIQ ? "checked" : "") %>>
</td> </td>
<td width="99%"> <td width="99%">
<label for="cb03"> <label for="cb03">
<b><fmt:message key="audit.policy.label_audit_iq_packets" /></b> <b><fmt:message key="audit.policy.label_audit_iq_packets" /></b>
</label> </label>
</td> </td>
</tr> </tr>
</table> </table>
</td> </td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td width="1%" nowrap class="c1"> <td width="1%" nowrap class="c1">
<fmt:message key="audit.policy.ignore" /> <fmt:message key="audit.policy.ignore" />
</td> </td>
<td width="99%"> <td width="99%">
<textarea name="ignore" cols="40" rows="3" wrap="virtual"><%= ((ignore != null) ? ignore : "") %></textarea> <textarea name="ignore" cols="40" rows="3" wrap="virtual"><%= ((ignore != null) ? ignore : "") %></textarea>
<% if (errors.get("ignore") != null) { %> <% if (errors.get("ignore") != null) { %>
<span class="jive-error-text"> <span class="jive-error-text">
<fmt:message key="audit.policy.validignore" /> <fmt:message key="audit.policy.validignore" />
</span> </span>
<% } %> <% } %>
</td> </td>
</tr> </tr>
</table> </table>
</td> </td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<table border="0"> <table border="0">
<tr valign="top"> <tr valign="top">
<td width="1%" nowrap class="c1"> <td width="1%" nowrap class="c1">
<fmt:message key="audit.policy.queued_packets" /> <fmt:message key="audit.policy.queued_packets" />
</td> </td>
<td width="99%"> <td width="99%">
<%= auditManager.getAuditor().getQueuedPacketsNumber() %> <%= auditManager.getAuditor().getQueuedPacketsNumber() %>
</td> </td>
</tr> </tr>
</table> </table>
</div> <br>
</fieldset> <br>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
<br><br> </div>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
</form> </form>
<!-- END 'Set Message Audit Policy' -->
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -21,11 +21,11 @@ ...@@ -21,11 +21,11 @@
<% webManager.init(request, response, session, application, out ); %> <% webManager.init(request, response, session, application, out ); %>
<html> <html>
<head> <head>
<title><fmt:message key="compression.settings.title"/></title> <title><fmt:message key="compression.settings.title"/></title>
<meta name="pageID" content="server-compression"/> <meta name="pageID" content="server-compression"/>
</head> </head>
<body> <body>
<% // Get parameters: <% // Get parameters:
boolean update = request.getParameter("update") != null; boolean update = request.getParameter("update") != null;
...@@ -64,12 +64,16 @@ ...@@ -64,12 +64,16 @@
<fmt:message key="compression.settings.info" /> <fmt:message key="compression.settings.info" />
</p> </p>
<!-- BEGIN compression settings -->
<form action="compression-settings.jsp"> <form action="compression-settings.jsp">
<!--<div class="jive-contentBoxHeader">
</div>-->
<div class="jive-contentBox" style="-moz-border-radius: 3px;">
<fieldset> <h4><fmt:message key="compression.settings.client.policy" /></h4>
<legend><fmt:message key="compression.settings.client.policy" /></legend> <table cellpadding="3" cellspacing="0" border="0">
<div>
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tbody> <tbody>
<tr valign="top"> <tr valign="top">
<td width="1%" nowrap> <td width="1%" nowrap>
...@@ -97,15 +101,12 @@ ...@@ -97,15 +101,12 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div>
</fieldset>
<br> <br>
<br>
<fieldset> <h4><fmt:message key="compression.settings.server.policy" /></h4>
<legend><fmt:message key="compression.settings.server.policy" /></legend> <table cellpadding="3" cellspacing="0" border="0">
<div>
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tbody> <tbody>
<tr valign="top"> <tr valign="top">
<td width="1%" nowrap> <td width="1%" nowrap>
...@@ -133,14 +134,12 @@ ...@@ -133,14 +134,12 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> <br>
</fieldset> <input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
</div>
<br><br>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
</form> </form>
<!-- END compression settings -->
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -22,11 +22,11 @@ ...@@ -22,11 +22,11 @@
%> %>
<html> <html>
<head> <head>
<title><fmt:message key="component.settings.title"/></title> <title><fmt:message key="component.settings.title"/></title>
<meta name="pageID" content="external-components-settings"/> <meta name="pageID" content="external-components-settings"/>
</head> </head>
<body> <body>
<% // Get parameters <% // Get parameters
boolean update = request.getParameter("update") != null; boolean update = request.getParameter("update") != null;
...@@ -204,244 +204,247 @@ ...@@ -204,244 +204,247 @@
<% } %> <% } %>
<form action="external-components-settings.jsp" method="post">
<fieldset>
<legend><fmt:message key="component.settings.enabled.legend" /></legend>
<div>
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tbody>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="componentEnabled" value="false" id="rb01"
<%= (!componentEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb01">
<b><fmt:message key="component.settings.label_disable" /></b> - <fmt:message key="component.settings.label_disable_info" />
</label>
</td>
</tr>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="componentEnabled" value="true" id="rb02"
<%= (componentEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb02">
<b><fmt:message key="component.settings.label_enable" /></b> - <fmt:message key="component.settings.label_enable_info" />
</label>
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
&nbsp;
</td>
<td width="99%">
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tr valign="top">
<td width="1%" nowrap class="c1">
<fmt:message key="component.settings.port" />
</td>
<td width="99%">
<input type="text" size="10" maxlength="50" name="port"
value="<%= port %>">
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap class="c1">
<fmt:message key="component.settings.defaultSecret" />
</td>
<td width="99%">
<input type="text" size="15" maxlength="70" name="defaultSecret"
value="<%= ((defaultSecret != null) ? defaultSecret : "") %>">
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</fieldset>
<br>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
<!-- BEGIN 'Services Enabled' -->
<form action="external-components-settings.jsp" method="post">
<div class="jive-contentBoxHeader">
<fmt:message key="component.settings.enabled.legend" />
</div>
<div class="jive-contentBox">
<table cellpadding="3" cellspacing="0" border="0">
<tbody>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="componentEnabled" value="false" id="rb01"
<%= (!componentEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb01">
<b><fmt:message key="component.settings.label_disable" /></b> - <fmt:message key="component.settings.label_disable_info" />
</label>
</td>
</tr>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="componentEnabled" value="true" id="rb02"
<%= (componentEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb02">
<b><fmt:message key="component.settings.label_enable" /></b> - <fmt:message key="component.settings.label_enable_info" />
</label>
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
&nbsp;
</td>
<td width="99%">
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tr valign="top">
<td width="1%" nowrap class="c1">
<fmt:message key="component.settings.port" />
</td>
<td width="99%">
<input type="text" size="10" maxlength="50" name="port"
value="<%= port %>">
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap class="c1">
<fmt:message key="component.settings.defaultSecret" />
</td>
<td width="99%">
<input type="text" size="15" maxlength="70" name="defaultSecret"
value="<%= ((defaultSecret != null) ? defaultSecret : "") %>">
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
</div>
</form> </form>
<!-- END 'Services Enabled' -->
<br> <br>
<fieldset> <!-- BEGIN 'Allowed to Connect' -->
<legend><fmt:message key="component.settings.allowed" /></legend> <div class="jive-contentBoxHeader">
<div> <fmt:message key="component.settings.allowed" />
<form action="external-components-settings.jsp" method="post"> </div>
<table cellpadding="3" cellspacing="0" border="0" width="100%"> <div class="jive-contentBox">
<tbody> <form action="external-components-settings.jsp" method="post">
<table cellpadding="3" cellspacing="0" border="0">
<tbody>
<tr valign="middle"> <tr valign="middle">
<td width="1%" nowrap> <td width="1%" nowrap>
<input type="radio" name="permissionFilter" value="<%= ExternalComponentManager.PermissionPolicy.blacklist %>" id="rb03" <input type="radio" name="permissionFilter" value="<%= ExternalComponentManager.PermissionPolicy.blacklist %>" id="rb03"
<%= (ExternalComponentManager.PermissionPolicy.blacklist.toString().equals(permissionFilter) ? "checked" : "") %>> <%= (ExternalComponentManager.PermissionPolicy.blacklist.toString().equals(permissionFilter) ? "checked" : "") %>>
</td> </td>
<td width="99%"> <td width="99%">
<label for="rb03"> <label for="rb03">
<b><fmt:message key="component.settings.anyone" /></b> - <fmt:message key="component.settings.anyone_info" /> <b><fmt:message key="component.settings.anyone" /></b> - <fmt:message key="component.settings.anyone_info" />
</label> </label>
</td> </td>
</tr> </tr>
<tr valign="middle"> <tr valign="middle">
<td width="1%" nowrap> <td width="1%" nowrap>
<input type="radio" name="permissionFilter" value="<%= ExternalComponentManager.PermissionPolicy.whitelist %>" id="rb04" <input type="radio" name="permissionFilter" value="<%= ExternalComponentManager.PermissionPolicy.whitelist %>" id="rb04"
<%= (ExternalComponentManager.PermissionPolicy.whitelist.toString().equals(permissionFilter) ? "checked" : "") %>> <%= (ExternalComponentManager.PermissionPolicy.whitelist.toString().equals(permissionFilter) ? "checked" : "") %>>
</td> </td>
<td width="99%"> <td width="99%">
<label for="rb04"> <label for="rb04">
<b><fmt:message key="component.settings.whitelist" /></b> - <fmt:message key="component.settings.whitelist_info" /> <b><fmt:message key="component.settings.whitelist" /></b> - <fmt:message key="component.settings.whitelist_info" />
</label> </label>
</td> </td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<br> <br>
<input type="submit" name="permissionUpdate" value="<fmt:message key="global.save_settings" />"> <input type="submit" name="permissionUpdate" value="<fmt:message key="global.save_settings" />">
</form> </form>
<br>
<table class="jive-table" cellpadding="0" cellspacing="0" border="0">
<thead>
<tr>
<th width="1%">&nbsp;</th>
<th width="50%" nowrap><fmt:message key="component.settings.subdomain" /></th>
<th width="49%" nowrap><fmt:message key="component.settings.secret" /></th>
<th width="10%" nowrap><fmt:message key="global.delete" /></th>
</tr>
</thead>
<tbody>
<% Collection<ExternalComponentConfiguration> configs = ExternalComponentManager.getAllowedComponents();
if (configs.isEmpty()) { %>
<tr>
<td align="center" colspan="7"><fmt:message key="component.settings.empty_list" /></td>
</tr>
<% }
else {
int count = 1;
for (Iterator<ExternalComponentConfiguration> it=configs.iterator(); it.hasNext(); count++) {
ExternalComponentConfiguration configuration = it.next();
%>
<tr class="jive-<%= (((count%2)==0) ? "even" : "odd") %>">
<td>
<%= count %>
</td>
<td>
<%= configuration.getSubdomain() %>
</td>
<td>
<%= configuration.getSecret() %>
</td>
<td align="center" style="border-right:1px #ccc solid;">
<a href="#" onclick="if (confirm('<fmt:message key="component.settings.confirm_delete" />')) { location.replace('external-components-settings.jsp?deleteConf=<%= configuration.getSubdomain() %>'); } "
title="<fmt:message key="global.click_delete" />"
><img src="images/delete-16x16.gif" width="16" height="16" border="0"></a>
</td>
</tr>
<% }
}
%>
</tbody>
</table>
<br>
<table cellpadding="3" cellspacing="1" border="0">
<form action="external-components-settings.jsp" method="post">
<tr>
<td nowrap width="1%">
<fmt:message key="component.settings.subdomain" />
</td>
<td>
<input type="text" size="40" name="subdomain" value="<%= componentAllowed ? subdomain : "" %>"/>
</td>
<td nowrap width="1%">
<fmt:message key="component.settings.secret" />
</td>
<td>
<input type="text" size="15" name="secret"value="<%= componentAllowed ? secret : "" %>"/>
</td>
</tr>
<tr align="center">
<td colspan="4">
<input type="submit" name="componentAllowed" value="<fmt:message key="component.settings.allow" />">
</td>
</tr>
</form>
</table>
</div>
<!-- END 'Allowed to Connect' -->
<table class="jive-table" cellpadding="0" cellspacing="0" border="0" width="100%"> <br>
<thead>
<tr>
<th width="1%">&nbsp;</th>
<th width="50%" nowrap><fmt:message key="component.settings.subdomain" /></th>
<th width="49%" nowrap><fmt:message key="component.settings.secret" /></th>
<th width="10%" nowrap><fmt:message key="global.delete" /></th>
</tr>
</thead>
<tbody>
<% Collection<ExternalComponentConfiguration> configs = ExternalComponentManager.getAllowedComponents();
if (configs.isEmpty()) { %>
<tr>
<td align="center" colspan="7"><fmt:message key="component.settings.empty_list" /></td>
</tr>
<% }
else {
int count = 1;
for (Iterator<ExternalComponentConfiguration> it=configs.iterator(); it.hasNext(); count++) {
ExternalComponentConfiguration configuration = it.next();
%>
<tr class="jive-<%= (((count%2)==0) ? "even" : "odd") %>">
<td>
<%= count %>
</td>
<td>
<%= configuration.getSubdomain() %>
</td>
<td>
<%= configuration.getSecret() %>
</td>
<td align="center" style="border-right:1px #ccc solid;">
<a href="#" onclick="if (confirm('<fmt:message key="component.settings.confirm_delete" />')) { location.replace('external-components-settings.jsp?deleteConf=<%= configuration.getSubdomain() %>'); } "
title="<fmt:message key="global.click_delete" />"
><img src="images/delete-16x16.gif" width="16" height="16" border="0"></a>
</td>
</tr>
<% }
}
%>
</tbody>
</table>
<br>
<table cellpadding="3" cellspacing="1" border="0" width="100%">
<form action="external-components-settings.jsp" method="post">
<tr>
<td nowrap width="1%">
<fmt:message key="component.settings.subdomain" />
</td>
<td>
<input type="text" size="40" name="subdomain" value="<%= componentAllowed ? subdomain : "" %>"/>
</td>
<td nowrap width="1%">
<fmt:message key="component.settings.secret" />
</td>
<td>
<input type="text" size="15" name="secret"value="<%= componentAllowed ? secret : "" %>"/>
</td>
</tr>
<tr align="center">
<td colspan="4">
<input type="submit" name="componentAllowed" value="<fmt:message key="component.settings.allow" />">
</td>
</tr>
</form>
</table>
</div>
</fieldset>
<br><br> <!-- BEGIN 'Not Allowed to Connect' -->
<div class="jive-contentBoxHeader">
<fmt:message key="component.settings.disallowed" />
</div>
<div class="jive-contentBox">
<table cellpadding="3" cellspacing="0" border="0" >
<tbody>
<tr><td><p><fmt:message key="component.settings.disallowed.info" /></p></td></tr>
</tbody>
</table>
<br><br>
<table class="jive-table" cellpadding="3" cellspacing="0" border="0" >
<thead>
<tr>
<th width="1%">&nbsp;</th>
<th width="89%" nowrap><fmt:message key="component.settings.subdomain" /></th>
<th width="10%" nowrap><fmt:message key="global.delete" /></th>
</tr>
</thead>
<tbody>
<% Collection<ExternalComponentConfiguration> blockedComponents = ExternalComponentManager.getBlockedComponents();
if (blockedComponents.isEmpty()) { %>
<tr>
<td align="center" colspan="7"><fmt:message key="component.settings.empty_list" /></td>
</tr>
<% }
else {
int count = 1;
for (Iterator<ExternalComponentConfiguration> it=blockedComponents.iterator(); it.hasNext(); count++) {
ExternalComponentConfiguration configuration = it.next();
%>
<tr class="jive-<%= (((count%2)==0) ? "even" : "odd") %>">
<td>
<%= count %>
</td>
<td>
<%= configuration.getSubdomain() %>
</td>
<td align="center" style="border-right:1px #ccc solid;">
<a href="#" onclick="if (confirm('<fmt:message key="component.settings.confirm_delete" />')) { location.replace('external-components-settings.jsp?deleteConf=<%= configuration.getSubdomain() %>'); } "
title="<fmt:message key="global.click_delete" />"
><img src="images/delete-16x16.gif" width="16" height="16" border="0"></a>
</td>
</tr>
<% }
}
%>
</tbody>
</table>
<br>
<table cellpadding="3" cellspacing="1" border="0">
<form action="external-components-settings.jsp" method="post">
<tr>
<td nowrap width="1%">
<fmt:message key="component.settings.subdomain" />
</td>
<td>
<input type="text" size="40" name="subdomain" value="<%= componentBlocked ? subdomain : "" %>"/>&nbsp;
<input type="submit" name="componentBlocked" value="<fmt:message key="component.settings.block" />">
</td>
</tr>
</form>
</table>
</div>
<!-- END 'Not Allowed to Connect' -->
<fieldset>
<legend><fmt:message key="component.settings.disallowed" /></legend>
<div>
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tbody>
<tr><td><p><fmt:message key="component.settings.disallowed.info" /></p></td></tr>
</tbody>
</table>
<br><br>
<table class="jive-table" cellpadding="3" cellspacing="0" border="0" width="100%">
<thead>
<tr>
<th width="1%">&nbsp;</th>
<th width="89%" nowrap><fmt:message key="component.settings.subdomain" /></th>
<th width="10%" nowrap><fmt:message key="global.delete" /></th>
</tr>
</thead>
<tbody>
<% Collection<ExternalComponentConfiguration> blockedComponents = ExternalComponentManager.getBlockedComponents();
if (blockedComponents.isEmpty()) { %>
<tr>
<td align="center" colspan="7"><fmt:message key="component.settings.empty_list" /></td>
</tr>
<% }
else {
int count = 1;
for (Iterator<ExternalComponentConfiguration> it=blockedComponents.iterator(); it.hasNext(); count++) {
ExternalComponentConfiguration configuration = it.next();
%>
<tr class="jive-<%= (((count%2)==0) ? "even" : "odd") %>">
<td>
<%= count %>
</td>
<td>
<%= configuration.getSubdomain() %>
</td>
<td align="center" style="border-right:1px #ccc solid;">
<a href="#" onclick="if (confirm('<fmt:message key="component.settings.confirm_delete" />')) { location.replace('external-components-settings.jsp?deleteConf=<%= configuration.getSubdomain() %>'); } "
title="<fmt:message key="global.click_delete" />"
><img src="images/delete-16x16.gif" width="16" height="16" border="0"></a>
</td>
</tr>
<% }
}
%>
</tbody>
</table>
<br>
<table cellpadding="3" cellspacing="1" border="0" width="100%">
<form action="external-components-settings.jsp" method="post">
<tr>
<td nowrap width="1%">
<fmt:message key="component.settings.subdomain" />
</td>
<td>
<input type="text" size="40" name="subdomain" value="<%= componentBlocked ? subdomain : "" %>"/>&nbsp;
<input type="submit" name="componentBlocked" value="<fmt:message key="component.settings.block" />">
</td>
</tr>
</form>
</table>
</div>
</fieldset>
</body> </body>
</html> </html>
...@@ -54,14 +54,17 @@ ...@@ -54,14 +54,17 @@
%> %>
<html> <html>
<head><title><fmt:message key="filetransferproxy.settings.title"/></title></head> <head>
<meta name="pageID" content="server-transfer-proxy"/> <title><fmt:message key="filetransferproxy.settings.title"/></title>
</head>
<meta name="pageID" content="server-transfer-proxy"/>
<body> <body>
<p> <p>
<fmt:message key="filetransferproxy.settings.info"/> <fmt:message key="filetransferproxy.settings.info"/>
</p> </p>
<% if (!errors.isEmpty()) { %>
<% if (!errors.isEmpty()) { %>
<div class="jive-error"> <div class="jive-error">
<table cellpadding="0" cellspacing="0" border="0"> <table cellpadding="0" cellspacing="0" border="0">
<tbody> <tbody>
...@@ -78,7 +81,6 @@ ...@@ -78,7 +81,6 @@
</table> </table>
</div> </div>
<br> <br>
<% } <% }
else if (isUpdated) { %> else if (isUpdated) { %>
<div class="jive-success"> <div class="jive-success">
...@@ -98,48 +100,48 @@ else { %> ...@@ -98,48 +100,48 @@ else { %>
<br> <br>
<% } %> <% } %>
<form action="file-transfer-proxy.jsp" method="post">
<fieldset>
<legend><fmt:message key="filetransferproxy.settings.enabled.legend"/></legend>
<div>
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tbody>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="proxyEnabled" value="true" id="rb02"
<%= (isProxyEnabled ? "checked" : "") %> >
</td>
<td width="99%">
<label for="rb02">
<b><fmt:message key="filetransferproxy.settings.label_enable"/></b>
- <fmt:message key="filetransferproxy.settings.label_enable_info"/>
</label> <input type="text" size="5" maxlength="10" name="port"
value="<%= port %>" >
</td>
</tr>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="proxyEnabled" value="false" id="rb01"
<%= (!isProxyEnabled ? "checked" : "") %> >
</td>
<td width="99%">
<label for="rb01">
<b><fmt:message key="filetransferproxy.settings.label_disable"/></b>
- <fmt:message key="filetransferproxy.settings.label_disable_info"/>
</label>
</td>
</tr>
</tbody>
</table>
</div>
</fieldset>
<br>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />"> <!-- BEGIN 'Proxy Service' -->
<form action="file-transfer-proxy.jsp" method="post">
<div class="jive-contentBoxHeader">
<fmt:message key="filetransferproxy.settings.enabled.legend"/>
</div>
<div class="jive-contentBox">
<table cellpadding="3" cellspacing="0" border="0">
<tbody>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="proxyEnabled" value="true" id="rb02"
<%= (isProxyEnabled ? "checked" : "") %> >
</td>
<td width="99%">
<label for="rb02">
<b><fmt:message key="filetransferproxy.settings.label_enable"/></b>
- <fmt:message key="filetransferproxy.settings.label_enable_info"/>
</label> <input type="text" size="5" maxlength="10" name="port"
value="<%= port %>" >
</td>
</tr>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="proxyEnabled" value="false" id="rb01"
<%= (!isProxyEnabled ? "checked" : "") %> >
</td>
<td width="99%">
<label for="rb01">
<b><fmt:message key="filetransferproxy.settings.label_disable"/></b>
- <fmt:message key="filetransferproxy.settings.label_disable_info"/>
</label>
</td>
</tr>
</tbody>
</table>
<br>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
</div>
</form> </form>
<!-- END 'Proxy Service' -->
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -22,11 +22,11 @@ ...@@ -22,11 +22,11 @@
<html> <html>
<head> <head>
<title><fmt:message key="manage-updates.title"/></title> <title><fmt:message key="manage-updates.title"/></title>
<meta name="pageID" content="manage-updates"/> <meta name="pageID" content="manage-updates"/>
</head> </head>
<body> <body>
<% // Get parameters <% // Get parameters
boolean update = request.getParameter("update") != null; boolean update = request.getParameter("update") != null;
...@@ -101,8 +101,7 @@ ...@@ -101,8 +101,7 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> </div><br>
<br>
<% } <% }
else if (updateSucess) { %> else if (updateSucess) { %>
...@@ -113,135 +112,138 @@ else if (updateSucess) { %> ...@@ -113,135 +112,138 @@ else if (updateSucess) { %>
<% } %> <% } %>
<form action="manage-updates.jsp" method="post">
<fieldset>
<legend><fmt:message key="manage-updates.enabled.legend"/></legend>
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tbody>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="serviceEnabled" value="false" id="rb01"
<%= (!serviceEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb01">
<b><fmt:message key="manage-updates.label_disable"/></b> - <fmt:message key="manage-updates.label_disable_info"/>
</label>
</td>
</tr>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="serviceEnabled" value="true" id="rb02"
<%= (serviceEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb02">
<b><fmt:message key="manage-updates.label_enable"/></b> - <fmt:message key="manage-updates.label_enable_info"/>
</label>
</td>
</tr>
</tbody>
</table>
</fieldset>
<br/><br/>
<fieldset>
<legend><fmt:message key="manage-updates.notif.enabled.legend"/></legend>
<div>
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tbody>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="notificationsEnabled" value="false" id="rb03"
<%= (!notificationsEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb03">
<b><fmt:message key="manage-updates.notif.label_disable"/></b> - <fmt:message key="manage-updates.notif.label_disable_info"/>
</label>
</td>
</tr>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="notificationsEnabled" value="true" id="rb04"
<%= (notificationsEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb04">
<b><fmt:message key="manage-updates.notif.label_enable"/></b> - <fmt:message key="manage-updates.notif.label_enable_info"/>
</label>
</td>
</tr>
</tbody>
</table>
</div>
</fieldset>
<br/><br/>
<fieldset>
<legend><fmt:message key="manage-updates.proxy.enabled.legend"/></legend>
<div>
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tbody>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="proxyEnabled" value="false" id="rb05"
<%= (!proxyEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb05">
<b><fmt:message key="manage-updates.proxy.label_disable"/></b> - <fmt:message key="manage-updates.proxy.label_disable_info"/>
</label>
</td>
</tr>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="proxyEnabled" value="true" id="rb06"
<%= (proxyEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb06">
<b><fmt:message key="manage-updates.proxy.label_enable"/></b> - <fmt:message key="manage-updates.proxy.label_enable_info"/>
</label>
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
&nbsp;
</td>
<td width="99%">
<table cellpadding="3" cellspacing="0" border="0">
<tr valign="top">
<td width="1%" nowrap align="right" class="c1">
<fmt:message key="manage-updates.proxy.host" />
</td>
<td width="99%">
<input type="text" size="15" maxlength="70" name="proxyHost"
value="<%= ((proxyHost != null) ? proxyHost : "") %>">
</td>
</tr>
<tr valign="top">
<td width="1%" align="right" nowrap class="c1">
<fmt:message key="manage-updates.proxy.port" />
</td>
<td width="99%">
<input type="text" size="10" maxlength="50" name="proxyPort"
value="<%= ((proxyPort > 0) ? proxyPort : "") %>">
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</fieldset>
<br>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
<!-- BEGIN manage updates settings -->
<form action="manage-updates.jsp" method="post">
<!--<div class="jive-contentBoxHeader">
</div>-->
<div class="jive-contentBox" style="-moz-border-radius: 3px;">
<h4><fmt:message key="manage-updates.enabled.legend"/></h4>
<table cellpadding="3" cellspacing="0" border="0">
<tbody>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="serviceEnabled" value="false" id="rb01"
<%= (!serviceEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb01">
<b><fmt:message key="manage-updates.label_disable"/></b> - <fmt:message key="manage-updates.label_disable_info"/>
</label>
</td>
</tr>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="serviceEnabled" value="true" id="rb02"
<%= (serviceEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb02">
<b><fmt:message key="manage-updates.label_enable"/></b> - <fmt:message key="manage-updates.label_enable_info"/>
</label>
</td>
</tr>
</tbody>
</table>
<br/>
<br/>
<h4><fmt:message key="manage-updates.notif.enabled.legend"/></h4>
<table cellpadding="3" cellspacing="0" border="0">
<tbody>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="notificationsEnabled" value="false" id="rb03"
<%= (!notificationsEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb03">
<b><fmt:message key="manage-updates.notif.label_disable"/></b> - <fmt:message key="manage-updates.notif.label_disable_info"/>
</label>
</td>
</tr>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="notificationsEnabled" value="true" id="rb04"
<%= (notificationsEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb04">
<b><fmt:message key="manage-updates.notif.label_enable"/></b> - <fmt:message key="manage-updates.notif.label_enable_info"/>
</label>
</td>
</tr>
</tbody>
</table>
<br/>
<br/>
<h4><fmt:message key="manage-updates.proxy.enabled.legend"/></h4>
<table cellpadding="3" cellspacing="0" border="0">
<tbody>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="proxyEnabled" value="false" id="rb05"
<%= (!proxyEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb05">
<b><fmt:message key="manage-updates.proxy.label_disable"/></b> - <fmt:message key="manage-updates.proxy.label_disable_info"/>
</label>
</td>
</tr>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="proxyEnabled" value="true" id="rb06"
<%= (proxyEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb06">
<b><fmt:message key="manage-updates.proxy.label_enable"/></b> - <fmt:message key="manage-updates.proxy.label_enable_info"/>
</label>
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
&nbsp;
</td>
<td width="99%">
<table cellpadding="3" cellspacing="0" border="0">
<tr valign="top">
<td width="1%" nowrap align="right" class="c1">
<fmt:message key="manage-updates.proxy.host" />
</td>
<td width="99%">
<input type="text" size="15" maxlength="70" name="proxyHost"
value="<%= ((proxyHost != null) ? proxyHost : "") %>">
</td>
</tr>
<tr valign="top">
<td width="1%" align="right" nowrap class="c1">
<fmt:message key="manage-updates.proxy.port" />
</td>
<td width="99%">
<input type="text" size="10" maxlength="50" name="proxyPort"
value="<%= ((proxyPort > 0) ? proxyPort : "") %>">
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
<br/>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
</div>
</form> </form>
<!-- END manage updates settings -->
</body> </body>
......
...@@ -23,12 +23,12 @@ ...@@ -23,12 +23,12 @@
<% webManager.init(request, response, session, application, out ); %> <% webManager.init(request, response, session, application, out ); %>
<html> <html>
<head> <head>
<title><fmt:message key="offline.messages.title"/></title> <title><fmt:message key="offline.messages.title"/></title>
<meta name="pageID" content="server-offline-messages"/> <meta name="pageID" content="server-offline-messages"/>
<meta name="helpPage" content="manage_offline_messages.html"/> <meta name="helpPage" content="manage_offline_messages.html"/>
</head> </head>
<body> <body>
<c:set var="success" /> <c:set var="success" />
...@@ -185,99 +185,100 @@ ...@@ -185,99 +185,100 @@
<b><%= format.format(OfflineMessageStore.getInstance().getSize()/1024.0/1024.0) %> MB</b> <b><%= format.format(OfflineMessageStore.getInstance().getSize()/1024.0/1024.0) %> MB</b>
</p> </p>
<form action="offline-messages.jsp">
<fieldset>
<legend><fmt:message key="offline.messages.policy" /></legend>
<div>
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tbody>
<tr valign="top">
<td width="1%" nowrap>
<input type="radio" name="strategy" value="<%= BOUNCE %>" id="rb01"
<%= ((strategy==BOUNCE) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb01"><b><fmt:message key="offline.messages.bounce_option" /></b></label> - <fmt:message key="offline.messages.never_back" />
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
<input type="radio" name="strategy" value="<%= DROP %>" id="rb02"
<%= ((strategy==DROP) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb02"><b><fmt:message key="offline.messages.drop_option" /></b></label> - <fmt:message key="offline.messages.never_store" />
</td>
</tr>
<tr valign="top" class="">
<td width="1%" nowrap>
<input type="radio" name="strategy" value="<%= STORE %>" id="rb03"
<%= ((strategy==STORE) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb03"><b><fmt:message key="offline.messages.store_option" /></b></label> - <fmt:message key="offline.messages.storage_wildfire" />
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
&nbsp;
</td>
<td width="99%">
<table cellpadding="4" cellspacing="0" border="0" width="100%">
<tr valign="top">
<td width="1%" nowrap>
<input type="radio" name="storeStrategy" value="<%= ALWAYS_STORE %>" id="rb05"
onclick="this.form.strategy[2].checked=true;"
<%= ((storeStrategy==ALWAYS_STORE) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb05"><b><fmt:message key="offline.messages.always_store" /></b></label> - <fmt:message key="offline.messages.always_store_info" />
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
<input type="radio" name="storeStrategy" value="<%= STORE_AND_BOUNCE%>" id="rb06"
onclick="this.form.strategy[2].checked=true;"
<%= ((storeStrategy==STORE_AND_BOUNCE) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb06"><b><fmt:message key="offline.messages.bounce" /></b></label> - <fmt:message key="offline.messages.bounce_info" />
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
<input type="radio" name="storeStrategy" value="<%= STORE_AND_DROP %>" id="rb07"
onclick="this.form.strategy[2].checked=true;"
<%= ((storeStrategy==STORE_AND_DROP) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb07"><b><fmt:message key="offline.messages.drop" /></b></label> - <fmt:message key="offline.messages.drop_info" />
</td>
</tr>
<tr>
<td colspan="2">
<fmt:message key="offline.messages.storage_limit" />
<input type="text" size="5" maxlength="12" name="quota"
value="<%= (quota>0 ? ""+format.format(quota) : "") %>"
onclick="this.form.strategy[2].checked=true;">
KB
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</fieldset>
<br><br>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />"> <!-- BEGIN 'Offline Message Policy' -->
<form action="offline-messages.jsp">
<div class="jive-contentBoxHeader">
<fmt:message key="offline.messages.policy" />
</div>
<div class="jive-contentBox">
<table cellpadding="3" cellspacing="0" border="0">
<tbody>
<tr valign="top">
<td width="1%" nowrap>
<input type="radio" name="strategy" value="<%= BOUNCE %>" id="rb01"
<%= ((strategy==BOUNCE) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb01"><b><fmt:message key="offline.messages.bounce_option" /></b></label> - <fmt:message key="offline.messages.never_back" />
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
<input type="radio" name="strategy" value="<%= DROP %>" id="rb02"
<%= ((strategy==DROP) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb02"><b><fmt:message key="offline.messages.drop_option" /></b></label> - <fmt:message key="offline.messages.never_store" />
</td>
</tr>
<tr valign="top" class="">
<td width="1%" nowrap>
<input type="radio" name="strategy" value="<%= STORE %>" id="rb03"
<%= ((strategy==STORE) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb03"><b><fmt:message key="offline.messages.store_option" /></b></label> - <fmt:message key="offline.messages.storage_wildfire" />
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
&nbsp;
</td>
<td width="99%">
<table cellpadding="4" cellspacing="0" border="0">
<tr valign="top">
<td width="1%" nowrap>
<input type="radio" name="storeStrategy" value="<%= ALWAYS_STORE %>" id="rb05"
onclick="this.form.strategy[2].checked=true;"
<%= ((storeStrategy==ALWAYS_STORE) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb05"><b><fmt:message key="offline.messages.always_store" /></b></label> - <fmt:message key="offline.messages.always_store_info" />
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
<input type="radio" name="storeStrategy" value="<%= STORE_AND_BOUNCE%>" id="rb06"
onclick="this.form.strategy[2].checked=true;"
<%= ((storeStrategy==STORE_AND_BOUNCE) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb06"><b><fmt:message key="offline.messages.bounce" /></b></label> - <fmt:message key="offline.messages.bounce_info" />
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
<input type="radio" name="storeStrategy" value="<%= STORE_AND_DROP %>" id="rb07"
onclick="this.form.strategy[2].checked=true;"
<%= ((storeStrategy==STORE_AND_DROP) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb07"><b><fmt:message key="offline.messages.drop" /></b></label> - <fmt:message key="offline.messages.drop_info" />
</td>
</tr>
<tr>
<td colspan="2">
<fmt:message key="offline.messages.storage_limit" />
<input type="text" size="5" maxlength="12" name="quota"
value="<%= (quota>0 ? ""+format.format(quota) : "") %>"
onclick="this.form.strategy[2].checked=true;">
KB
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
<br>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
</div>
</form> </form>
<!-- END 'Offline Message Policy' -->
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -22,12 +22,12 @@ ...@@ -22,12 +22,12 @@
<% webManager.init(request, response, session, application, out ); %> <% webManager.init(request, response, session, application, out ); %>
<html> <html>
<head> <head>
<title><fmt:message key="private.data.settings.title"/></title> <title><fmt:message key="private.data.settings.title"/></title>
<meta name="pageID" content="server-data-settings"/> <meta name="pageID" content="server-data-settings"/>
<meta name="helpPage" content="set_private_data_storage_policy.html"/> <meta name="helpPage" content="set_private_data_storage_policy.html"/>
</head> </head>
<body> <body>
<% // Get parameters: <% // Get parameters:
boolean update = request.getParameter("update") != null; boolean update = request.getParameter("update") != null;
...@@ -64,47 +64,45 @@ ...@@ -64,47 +64,45 @@
<fmt:message key="private.data.settings.info" /> <fmt:message key="private.data.settings.info" />
</p> </p>
<!-- BEGIN 'Set Private Data Policy' -->
<form action="private-data-settings.jsp"> <form action="private-data-settings.jsp">
<div class="jive-contentBoxHeader">
<fieldset> <fmt:message key="private.data.settings.policy" />
<legend><fmt:message key="private.data.settings.policy" /></legend> </div>
<div> <div class="jive-contentBox">
<table cellpadding="3" cellspacing="0" border="0" width="100%"> <table cellpadding="3" cellspacing="0" border="0">
<tbody> <tbody>
<tr valign="top"> <tr valign="top">
<td width="1%" nowrap> <td width="1%" nowrap>
<input type="radio" name="privateEnabled" value="true" id="rb01" <input type="radio" name="privateEnabled" value="true" id="rb01"
<%= (privateEnabled ? "checked" : "") %>> <%= (privateEnabled ? "checked" : "") %>>
</td> </td>
<td width="99%"> <td width="99%">
<label for="rb01"> <label for="rb01">
<b><fmt:message key="private.data.settings.enable_storage" /></b> - <b><fmt:message key="private.data.settings.enable_storage" /></b> -
<fmt:message key="private.data.settings.enable_storage_info" /> <fmt:message key="private.data.settings.enable_storage_info" />
</label> </label>
</td> </td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td width="1%" nowrap> <td width="1%" nowrap>
<input type="radio" name="privateEnabled" value="false" id="rb02" <input type="radio" name="privateEnabled" value="false" id="rb02"
<%= (!privateEnabled ? "checked" : "") %>> <%= (!privateEnabled ? "checked" : "") %>>
</td> </td>
<td width="99%"> <td width="99%">
<label for="rb02"> <label for="rb02">
<b><fmt:message key="private.data.settings.disable_storage" /></b> - <b><fmt:message key="private.data.settings.disable_storage" /></b> -
<fmt:message key="private.data.settings.disable_storage_info" /> <fmt:message key="private.data.settings.disable_storage_info" />
</label> </label>
</td> </td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> <br>
</fieldset> <input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
</div>
<br><br>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
</form> </form>
<!-- END 'Set Private Data Policy' -->
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -24,12 +24,12 @@ ...@@ -24,12 +24,12 @@
<%@ taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt" %> <%@ taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt" %>
<html> <html>
<head> <head>
<title><fmt:message key="reg.settings.title"/></title> <title><fmt:message key="reg.settings.title"/></title>
<meta name="pageID" content="server-reg-and-login"/> <meta name="pageID" content="server-reg-and-login"/>
<meta name="helpPage" content="manage_registration_and_login_settings.html"/> <meta name="helpPage" content="manage_registration_and_login_settings.html"/>
</head> </head>
<body> <body>
<% // Get parameters <% // Get parameters
boolean save = request.getParameter("save") != null; boolean save = request.getParameter("save") != null;
...@@ -99,10 +99,14 @@ ...@@ -99,10 +99,14 @@
<% } %> <% } %>
<fieldset> <!-- BEGIN registration settings -->
<legend><fmt:message key="reg.settings.inband_account" /></legend> <!--<div class="jive-contentBoxHeader">
<div>
<p> </div>-->
<div class="jive-contentBox" style="-moz-border-radius: 3px;">
<h4><fmt:message key="reg.settings.inband_account" /></h4>
<p>
<fmt:message key="reg.settings.inband_account_info" /> <fmt:message key="reg.settings.inband_account_info" />
</p> </p>
<table cellpadding="3" cellspacing="0" border="0" width="100%"> <table cellpadding="3" cellspacing="0" border="0" width="100%">
...@@ -128,15 +132,12 @@ ...@@ -128,15 +132,12 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div>
</fieldset>
<br> <br>
<br>
<fieldset> <h4><fmt:message key="reg.settings.change_password" /></h4>
<legend><fmt:message key="reg.settings.change_password" /></legend> <p>
<div>
<p>
<fmt:message key="reg.settings.change_password_info" /> <fmt:message key="reg.settings.change_password_info" />
</p> </p>
<table cellpadding="3" cellspacing="0" border="0" width="100%"> <table cellpadding="3" cellspacing="0" border="0" width="100%">
...@@ -161,15 +162,12 @@ ...@@ -161,15 +162,12 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div>
</fieldset>
<br> <br>
<br>
<fieldset> <h4><fmt:message key="reg.settings.anonymous_login" /></h4>
<legend><fmt:message key="reg.settings.anonymous_login" /></legend> <p>
<div>
<p>
<fmt:message key="reg.settings.anonymous_login_info" /> <fmt:message key="reg.settings.anonymous_login_info" />
</p> </p>
<table cellpadding="3" cellspacing="0" border="0" width="100%"> <table cellpadding="3" cellspacing="0" border="0" width="100%">
...@@ -194,15 +192,12 @@ ...@@ -194,15 +192,12 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div>
</fieldset>
<br> <br>
<br>
<fieldset> <h4><fmt:message key="reg.settings.allowed_ips" /></h4>
<legend><fmt:message key="reg.settings.allowed_ips" /></legend> <p>
<div>
<p>
<fmt:message key="reg.settings.allowed_ips_info" /> <fmt:message key="reg.settings.allowed_ips_info" />
</p> </p>
<table cellpadding="3" cellspacing="0" border="0" width="100%"> <table cellpadding="3" cellspacing="0" border="0" width="100%">
...@@ -214,14 +209,15 @@ ...@@ -214,14 +209,15 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div>
</fieldset>
<br><br> <br>
<input type="submit" name="save" value="<fmt:message key="global.save_settings" />"> <input type="submit" name="save" value="<fmt:message key="global.save_settings" />">
</div>
<!-- END registration settings -->
</form> </form>
</body>
</body>
</html> </html>
\ No newline at end of file
...@@ -22,12 +22,12 @@ ...@@ -22,12 +22,12 @@
<% webManager.init(request, response, session, application, out ); %> <% webManager.init(request, response, session, application, out ); %>
<html> <html>
<head> <head>
<title><fmt:message key="session.conflict.title"/></title> <title><fmt:message key="session.conflict.title"/></title>
<meta name="pageID" content="server-session-conflict"/> <meta name="pageID" content="server-session-conflict"/>
<meta name="helpPage" content="set_the_server_resource_conflict_policy.html"/> <meta name="helpPage" content="set_the_server_resource_conflict_policy.html"/>
</head> </head>
<body> <body>
<% // Get parameters <% // Get parameters
boolean update = request.getParameter("update") != null; boolean update = request.getParameter("update") != null;
...@@ -82,86 +82,85 @@ ...@@ -82,86 +82,85 @@
<fmt:message key="session.conflict.info" /> <fmt:message key="session.conflict.info" />
</p> </p>
<!-- BEGIN 'Set Conflict Policy' -->
<form action="session-conflict.jsp" method="post"> <form action="session-conflict.jsp" method="post">
<div class="jive-contentBoxHeader">
<fieldset> <fmt:message key="session.conflict.policy" />
<legend><fmt:message key="session.conflict.policy" /></legend> </div>
<div> <div class="jive-contentBox">
<table cellpadding="3" cellspacing="0" border="0" width="100%"> <table cellpadding="3" cellspacing="0" border="0">
<tbody> <tbody>
<tr valign="middle"> <tr valign="middle">
<td width="1%"> <td width="1%">
<input type="radio" name="kickPolicy" value="0" id="rb01" <input type="radio" name="kickPolicy" value="0" id="rb01"
<%= ((kickPolicy==0) ? "checked" : "") %>> <%= ((kickPolicy==0) ? "checked" : "") %>>
</td> </td>
<td width="99%"> <td width="99%">
<label for="rb01"><b><fmt:message key="session.conflict.always_kick" /></b></label> - <label for="rb01"><b><fmt:message key="session.conflict.always_kick" /></b></label> -
<fmt:message key="session.conflict.always_kick_info" /> <fmt:message key="session.conflict.always_kick_info" />
</td> </td>
</tr> </tr>
<tr valign="middle"> <tr valign="middle">
<td width="1%"> <td width="1%">
<input type="radio" name="kickPolicy" value="<%= SessionManager.NEVER_KICK %>" id="rb02" <input type="radio" name="kickPolicy" value="<%= SessionManager.NEVER_KICK %>" id="rb02"
<%= ((kickPolicy==SessionManager.NEVER_KICK) ? "checked" : "") %>> <%= ((kickPolicy==SessionManager.NEVER_KICK) ? "checked" : "") %>>
</td> </td>
<td width="99%"> <td width="99%">
<label for="rb02"><b><fmt:message key="session.conflict.never_kick" /></b></label> - <label for="rb02"><b><fmt:message key="session.conflict.never_kick" /></b></label> -
<fmt:message key="session.conflict.never_kick_info" /> <fmt:message key="session.conflict.never_kick_info" />
</td> </td>
</tr> </tr>
<tr valign="middle"> <tr valign="middle">
<td width="1%"> <td width="1%">
<input type="radio" name="kickPolicy" value="1" id="rb04" <input type="radio" name="kickPolicy" value="1" id="rb04"
<%= ((kickPolicy==1) ? "checked" : "") %>> <%= ((kickPolicy==1) ? "checked" : "") %>>
</td> </td>
<td width="99%"> <td width="99%">
<label for="rb04"><b><fmt:message key="session.conflict.allow_one" /></b></label> - <label for="rb04"><b><fmt:message key="session.conflict.allow_one" /></b></label> -
<fmt:message key="session.conflict.resource_conflict" /> <fmt:message key="session.conflict.resource_conflict" />
</td> </td>
</tr> </tr>
<% // Figure out if the kick policy is neither 0 nor SessionManager.NEVER_KICK: <% // Figure out if the kick policy is neither 0 nor SessionManager.NEVER_KICK:
boolean assignedKickPolicy = false; boolean assignedKickPolicy = false;
if (kickPolicy != 0 && kickPolicy != 1 && kickPolicy != SessionManager.NEVER_KICK) { if (kickPolicy != 0 && kickPolicy != 1 && kickPolicy != SessionManager.NEVER_KICK) {
assignedKickPolicy = true; assignedKickPolicy = true;
} }
%> %>
<tr valign="middle"> <tr valign="middle">
<td width="1%"> <td width="1%">
<input type="radio" name="kickPolicy" value="<%= Integer.MAX_VALUE %>" id="rb03" <input type="radio" name="kickPolicy" value="<%= Integer.MAX_VALUE %>" id="rb03"
onfocus="this.form.kickValue.focus();" onfocus="this.form.kickValue.focus();"
<%= ((assignedKickPolicy) ? "checked" : "") %>> <%= ((assignedKickPolicy) ? "checked" : "") %>>
</td> </td>
<td width="99%"> <td width="99%">
<label for="rb03"><b><fmt:message key="session.conflict.kick_value" /></b></label> - <label for="rb03"><b><fmt:message key="session.conflict.kick_value" /></b></label> -
<fmt:message key="session.conflict.kick_value_info" /> <fmt:message key="session.conflict.kick_value_info" />
</td> </td>
</tr> </tr>
<tr valign="middle"> <tr valign="middle">
<td width="1%"> <td width="1%">
&nbsp; &nbsp;
</td> </td>
<td width="99%"> <td width="99%">
<% if (errors.get("kickValue") != null) { %> <% if (errors.get("kickValue") != null) { %>
<span class="jive-error-text"> <span class="jive-error-text">
<fmt:message key="session.conflict.enter_value" /> <fmt:message key="session.conflict.enter_value" />
</span><br> </span><br>
<% } %> <% } %>
<input type="text" name="kickValue" value="<%= ((assignedKickPolicy) ? ""+kickPolicy : "") %>" <input type="text" name="kickValue" value="<%= ((assignedKickPolicy) ? ""+kickPolicy : "") %>"
size="5" maxlength="10" size="5" maxlength="10"
onclick="this.form.kickPolicy[3].checked=true;"> onclick="this.form.kickPolicy[3].checked=true;">
</td> </td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> <br>
</fieldset> <input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
</div>
<br><br>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
</form> </form>
<!-- END 'Set Conflict Policy' -->
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -228,73 +228,73 @@ ...@@ -228,73 +228,73 @@
%> %>
<html> <html>
<head> <head>
<title><fmt:message key="ssl.settings.title"/></title> <title><fmt:message key="ssl.settings.title"/></title>
<meta name="pageID" content="server-ssl"/> <meta name="pageID" content="server-ssl"/>
<meta name="helpPage" content="manage_security_certificates.html"/> <meta name="helpPage" content="manage_security_certificates.html"/>
<script language="JavaScript" type="text/javascript"> <script language="JavaScript" type="text/javascript">
<!-- // code for window popups <!-- // code for window popups
function showOrHide(whichLayer, mode) function showOrHide(whichLayer, mode)
{ {
if (mode == "show") { if (mode == "show") {
mode = ""; mode = "";
} }
else { else {
mode = "none"; mode = "none";
} }
if (document.getElementById) if (document.getElementById)
{ {
// this is the way the standards work // this is the way the standards work
var style2 = document.getElementById(whichLayer).style; var style2 = document.getElementById(whichLayer).style;
style2.display = mode; style2.display = mode;
} }
else if (document.all) else if (document.all)
{ {
// this is the way old msie versions work // this is the way old msie versions work
var style2 = document.all[whichLayer].style; var style2 = document.all[whichLayer].style;
style2.display = mode; style2.display = mode;
} }
else if (document.layers) else if (document.layers)
{ {
// this is the way nn4 works // this is the way nn4 works
var style2 = document.layers[whichLayer].style; var style2 = document.layers[whichLayer].style;
style2.display = mode; style2.display = mode;
} }
} }
function togglePublicKey(pkLayer, indexLayer) function togglePublicKey(pkLayer, indexLayer)
{ {
if (document.getElementById) if (document.getElementById)
{ {
// this is the way the standards work // this is the way the standards work
var style2 = document.getElementById(pkLayer).style; var style2 = document.getElementById(pkLayer).style;
var certs = document.getElementById(indexLayer); var certs = document.getElementById(indexLayer);
certs.rowSpan = style2.display? 2:1; certs.rowSpan = style2.display? 2:1;
style2.display = style2.display? "":"none"; style2.display = style2.display? "":"none";
} }
else if (document.all) else if (document.all)
{ {
// this is the way old msie versions work // this is the way old msie versions work
var style2 = document.all[pkLayer].style; var style2 = document.all[pkLayer].style;
var certs = document.all[indexLayer]; var certs = document.all[indexLayer];
certs.rowSpan = style2.display? 2:1; certs.rowSpan = style2.display? 2:1;
style2.display = style2.display? "":"none"; style2.display = style2.display? "":"none";
} }
else if (document.layers) else if (document.layers)
{ {
// this is the way nn4 works // this is the way nn4 works
var style2 = document.layers[pkLayer].style; var style2 = document.layers[pkLayer].style;
var certs = document.layers[indexLayer]; var certs = document.layers[indexLayer];
certs.rowSpan = style2.display? 2:1; certs.rowSpan = style2.display? 2:1;
style2.display = style2.display? "":"none"; style2.display = style2.display? "":"none";
} }
} }
//--> //-->
</script> </script>
</head> </head>
<body> <body>
<% if (success) { %> <% if (success) { %>
...@@ -359,178 +359,182 @@ ...@@ -359,178 +359,182 @@
<fmt:message key="ssl.settings.client.info" /> <fmt:message key="ssl.settings.client.info" />
</p> </p>
<!-- BEGIN 'Client Connection Security' -->
<form action="ssl-settings.jsp" method="post"> <form action="ssl-settings.jsp" method="post">
<div class="jive-contentBoxHeader">
<fmt:message key="ssl.settings.client.legend" />
</div>
<div class="jive-contentBox">
<table cellpadding="3" cellspacing="0" border="0">
<tbody>
<tr valign="middle">
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="clientSecurityRequired" value="notreq" id="rb02" onclick="showOrHide('custom', 'hide')"
<%= ("notreq".equals(clientSecurityRequired) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb02">
<b><fmt:message key="ssl.settings.client.label_notrequired" /></b> - <fmt:message key="ssl.settings.client.label_notrequired_info" />
</label>
</td>
</tr>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="clientSecurityRequired" value="req" id="rb01" onclick="showOrHide('custom', 'hide')"
<%= ("req".equals(clientSecurityRequired) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb01">
<b><fmt:message key="ssl.settings.client.label_required" /></b> - <fmt:message key="ssl.settings.client.label_required_info" />
</label>
</td>
</tr>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="clientSecurityRequired" value="custom" id="rb03" onclick="showOrHide('custom', 'show')"
<%= ("custom".equals(clientSecurityRequired) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb03">
<b><fmt:message key="ssl.settings.client.label_custom" /></b> - <fmt:message key="ssl.settings.client.label_custom_info" />
</label>
</td>
</tr>
<tr valign="top" id="custom" <% if (!"custom".equals(clientSecurityRequired)) out.write("style=\"display:none\""); %>>
<td width="1%" nowrap>
&nbsp;
</td>
<td width="99%">
<table cellpadding="3" cellspacing="0" border="0">
<tr valign="top">
<td width="1%" nowrap>
<fmt:message key="ssl.settings.client.customSSL" />
</td>
<td width="99%">
<input type="radio" name="ssl" value="notavailable" id="rb04" <%= ("notavailable".equals(ssl) ? "checked" : "") %>
onclick="this.form.clientSecurityRequired[2].checked=true;">&nbsp;<label for="rb04"><fmt:message key="ssl.settings.notavailable" /></label>&nbsp;&nbsp;
<input type="radio" name="ssl" value="available" id="rb05" <%= ("available".equals(ssl) ? "checked" : "") %>
onclick="this.form.clientSecurityRequired[2].checked=true;">&nbsp;<label for="rb05"><fmt:message key="ssl.settings.available" /></label>
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
<fmt:message key="ssl.settings.client.customTLS" />
</td>
<td width="99%">
<input type="radio" name="tls" value="notavailable" id="rb06" <%= ("notavailable".equals(tls) ? "checked" : "") %>
onclick="this.form.clientSecurityRequired[2].checked=true;">&nbsp;<label for="rb06"><fmt:message key="ssl.settings.notavailable" /></label>&nbsp;&nbsp;
<input type="radio" name="tls" value="optional" id="rb07" <%= ("optional".equals(tls) ? "checked" : "") %>
onclick="this.form.clientSecurityRequired[2].checked=true;">&nbsp;<label for="rb07"><fmt:message key="ssl.settings.optional" /></label>&nbsp;&nbsp;
<input type="radio" name="tls" value="required" id="rb08" <%= ("required".equals(tls) ? "checked" : "") %>
onclick="this.form.clientSecurityRequired[2].checked=true;">&nbsp;<label for="rb08"><fmt:message key="ssl.settings.required" /></label>
</td>
</tr>
</table>
</td>
</tr>
</tr>
</tbody>
</table>
<br>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
</div>
</form>
<!-- END 'Client Connection Security' -->
<fieldset> <br>
<legend><fmt:message key="ssl.settings.client.legend" /></legend>
<div>
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tbody>
<tr valign="middle">
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="clientSecurityRequired" value="notreq" id="rb02" onclick="showOrHide('custom', 'hide')"
<%= ("notreq".equals(clientSecurityRequired) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb02">
<b><fmt:message key="ssl.settings.client.label_notrequired" /></b> - <fmt:message key="ssl.settings.client.label_notrequired_info" />
</label>
</td>
</tr>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="clientSecurityRequired" value="req" id="rb01" onclick="showOrHide('custom', 'hide')"
<%= ("req".equals(clientSecurityRequired) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb01">
<b><fmt:message key="ssl.settings.client.label_required" /></b> - <fmt:message key="ssl.settings.client.label_required_info" />
</label>
</td>
</tr>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="clientSecurityRequired" value="custom" id="rb03" onclick="showOrHide('custom', 'show')"
<%= ("custom".equals(clientSecurityRequired) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb03">
<b><fmt:message key="ssl.settings.client.label_custom" /></b> - <fmt:message key="ssl.settings.client.label_custom_info" />
</label>
</td>
</tr>
<tr valign="top" id="custom" <% if (!"custom".equals(clientSecurityRequired)) out.write("style=\"display:none\""); %>>
<td width="1%" nowrap>
&nbsp;
</td>
<td width="99%">
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tr valign="top">
<td width="1%" nowrap>
<fmt:message key="ssl.settings.client.customSSL" />
</td>
<td width="99%">
<input type="radio" name="ssl" value="notavailable" id="rb04" <%= ("notavailable".equals(ssl) ? "checked" : "") %>
onclick="this.form.clientSecurityRequired[2].checked=true;">&nbsp;<label for="rb04"><fmt:message key="ssl.settings.notavailable" /></label>&nbsp;&nbsp;
<input type="radio" name="ssl" value="available" id="rb05" <%= ("available".equals(ssl) ? "checked" : "") %>
onclick="this.form.clientSecurityRequired[2].checked=true;">&nbsp;<label for="rb05"><fmt:message key="ssl.settings.available" /></label>
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
<fmt:message key="ssl.settings.client.customTLS" />
</td>
<td width="99%">
<input type="radio" name="tls" value="notavailable" id="rb06" <%= ("notavailable".equals(tls) ? "checked" : "") %>
onclick="this.form.clientSecurityRequired[2].checked=true;">&nbsp;<label for="rb06"><fmt:message key="ssl.settings.notavailable" /></label>&nbsp;&nbsp;
<input type="radio" name="tls" value="optional" id="rb07" <%= ("optional".equals(tls) ? "checked" : "") %>
onclick="this.form.clientSecurityRequired[2].checked=true;">&nbsp;<label for="rb07"><fmt:message key="ssl.settings.optional" /></label>&nbsp;&nbsp;
<input type="radio" name="tls" value="required" id="rb08" <%= ("required".equals(tls) ? "checked" : "") %>
onclick="this.form.clientSecurityRequired[2].checked=true;">&nbsp;<label for="rb08"><fmt:message key="ssl.settings.required" /></label>
</td>
</tr>
</table>
</td>
</tr>
</tr>
</tbody>
</table>
</div>
</fieldset>
<br> <br>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
<!-- BEGIN 'Server Connection Security' -->
<form action="ssl-settings.jsp" method="post">
<div class="jive-contentBoxHeader">
<fmt:message key="ssl.settings.server.legend" />
</div>
<div class="jive-contentBox">
<table cellpadding="3" cellspacing="0" border="0">
<tbody>
<tr valign="middle">
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="serverSecurityRequired" value="notreq" id="rb09" onclick="showOrHide('server_custom', 'hide')"
<%= ("notreq".equals(serverSecurityRequired) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb09">
<b><fmt:message key="ssl.settings.server.label_notrequired" /></b> - <fmt:message key="ssl.settings.server.label_notrequired_info" />
</label>
</td>
</tr>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="serverSecurityRequired" value="req" id="rb10" onclick="showOrHide('server_custom', 'hide')"
<%= ("req".equals(serverSecurityRequired) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb10">
<b><fmt:message key="ssl.settings.server.label_required" /></b> - <fmt:message key="ssl.settings.server.label_required_info" />
</label>
</td>
</tr>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="serverSecurityRequired" value="custom" id="rb11" onclick="showOrHide('server_custom', 'show')"
<%= ("custom".equals(serverSecurityRequired) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb11">
<b><fmt:message key="ssl.settings.server.label_custom" /></b> - <fmt:message key="ssl.settings.server.label_custom_info" />
</label>
</td>
</tr>
<tr valign="top" id="server_custom" <% if (!"custom".equals(serverSecurityRequired)) out.write("style=\"display:none\""); %>>
<td width="1%" nowrap>
&nbsp;
</td>
<td width="99%">
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tr valign="top">
<td width="1%" nowrap>
<fmt:message key="ssl.settings.server.dialback" />
</td>
<td width="99%">
<input type="radio" name="dialback" value="notavailable" id="rb12" <%= ("notavailable".equals(dialback) ? "checked" : "") %>
onclick="this.form.serverSecurityRequired[2].checked=true;">&nbsp;<label for="rb12"><fmt:message key="ssl.settings.notavailable" /></label>&nbsp;&nbsp;
<input type="radio" name="dialback" value="available" id="rb13" <%= ("available".equals(dialback) ? "checked" : "") %>
onclick="this.form.serverSecurityRequired[2].checked=true;">&nbsp;<label for="rb13"><fmt:message key="ssl.settings.available" /></label>
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
<fmt:message key="ssl.settings.server.customTLS" />
</td>
<td width="99%">
<input type="radio" name="server_tls" value="notavailable" id="rb14" <%= ("notavailable".equals(server_tls) ? "checked" : "") %>
onclick="this.form.serverSecurityRequired[2].checked=true;">&nbsp;<label for="rb14"><fmt:message key="ssl.settings.notavailable" /></label>&nbsp;&nbsp;
<input type="radio" name="server_tls" value="optional" id="rb15" <%= ("optional".equals(server_tls) ? "checked" : "") %>
onclick="this.form.serverSecurityRequired[2].checked=true;">&nbsp;<label for="rb15"><fmt:message key="ssl.settings.optional" /></label>&nbsp;&nbsp;
</td>
</tr>
</table>
</td>
</tr>
</tr>
</tbody>
</table>
<br>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
</div>
</form> </form>
<!-- BEGIN 'Server Connection Security' -->
<br> <br>
<form action="ssl-settings.jsp" method="post">
<fieldset>
<legend><fmt:message key="ssl.settings.server.legend" /></legend>
<div>
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tbody>
<tr valign="middle">
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="serverSecurityRequired" value="notreq" id="rb09" onclick="showOrHide('server_custom', 'hide')"
<%= ("notreq".equals(serverSecurityRequired) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb09">
<b><fmt:message key="ssl.settings.server.label_notrequired" /></b> - <fmt:message key="ssl.settings.server.label_notrequired_info" />
</label>
</td>
</tr>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="serverSecurityRequired" value="req" id="rb10" onclick="showOrHide('server_custom', 'hide')"
<%= ("req".equals(serverSecurityRequired) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb10">
<b><fmt:message key="ssl.settings.server.label_required" /></b> - <fmt:message key="ssl.settings.server.label_required_info" />
</label>
</td>
</tr>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="serverSecurityRequired" value="custom" id="rb11" onclick="showOrHide('server_custom', 'show')"
<%= ("custom".equals(serverSecurityRequired) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb11">
<b><fmt:message key="ssl.settings.server.label_custom" /></b> - <fmt:message key="ssl.settings.server.label_custom_info" />
</label>
</td>
</tr>
<tr valign="top" id="server_custom" <% if (!"custom".equals(serverSecurityRequired)) out.write("style=\"display:none\""); %>>
<td width="1%" nowrap>
&nbsp;
</td>
<td width="99%">
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tr valign="top">
<td width="1%" nowrap>
<fmt:message key="ssl.settings.server.dialback" />
</td>
<td width="99%">
<input type="radio" name="dialback" value="notavailable" id="rb12" <%= ("notavailable".equals(dialback) ? "checked" : "") %>
onclick="this.form.serverSecurityRequired[2].checked=true;">&nbsp;<label for="rb12"><fmt:message key="ssl.settings.notavailable" /></label>&nbsp;&nbsp;
<input type="radio" name="dialback" value="available" id="rb13" <%= ("available".equals(dialback) ? "checked" : "") %>
onclick="this.form.serverSecurityRequired[2].checked=true;">&nbsp;<label for="rb13"><fmt:message key="ssl.settings.available" /></label>
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
<fmt:message key="ssl.settings.server.customTLS" />
</td>
<td width="99%">
<input type="radio" name="server_tls" value="notavailable" id="rb14" <%= ("notavailable".equals(server_tls) ? "checked" : "") %>
onclick="this.form.serverSecurityRequired[2].checked=true;">&nbsp;<label for="rb14"><fmt:message key="ssl.settings.notavailable" /></label>&nbsp;&nbsp;
<input type="radio" name="server_tls" value="optional" id="rb15" <%= ("optional".equals(server_tls) ? "checked" : "") %>
onclick="this.form.serverSecurityRequired[2].checked=true;">&nbsp;<label for="rb15"><fmt:message key="ssl.settings.optional" /></label>&nbsp;&nbsp;
</td>
</tr>
</table>
</td>
</tr>
</tr>
</tbody>
</table>
</div>
</fieldset>
<br> <br>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
</form>
<br><br>
<!-- BEGIN 'Installed Certificates' -->
<p><b><fmt:message key="ssl.settings.certificate" /></b></p> <p><b><fmt:message key="ssl.settings.certificate" /></b></p>
<p> <p>
...@@ -631,87 +635,90 @@ ...@@ -631,87 +635,90 @@
</tbody> </tbody>
</table> </table>
<!-- END 'Installed Certificates' -->
<br><br> <br>
<br>
<!-- BEGIN 'Instal Certificate' -->
<form action="ssl-settings.jsp" method="post"> <form action="ssl-settings.jsp" method="post">
<div class="jive-contentBoxHeader">
<fieldset> <fmt:message key="ssl.settings.install_certificate" />
<legend><fmt:message key="ssl.settings.install_certificate" /></legend> </div>
<div> <div class="jive-contentBox">
<p> <p>
<fmt:message key="ssl.settings.install_certificate_info" /> <fmt:message key="ssl.settings.install_certificate_info" />
</p> </p>
<table cellpadding="3" cellspacing="0" border="0" width="100%"> <table cellpadding="3" cellspacing="0" border="0">
<tbody> <tbody>
<% if (errors.containsKey("alias")) { %> <% if (errors.containsKey("alias")) { %>
<tr><td>&nbsp;</td> <tr><td>&nbsp;</td>
<td> <td>
<span class="jive-error-text"> <span class="jive-error-text">
<fmt:message key="ssl.settings.enter_alias" /> <fmt:message key="ssl.settings.enter_alias" />
</span> </span>
</td> </td>
</tr> </tr>
<% } else if (errors.containsKey("cert")) { %> <% } else if (errors.containsKey("cert")) { %>
<tr><td>&nbsp;</td> <tr><td>&nbsp;</td>
<td> <td>
<span class="jive-error-text"> <span class="jive-error-text">
<fmt:message key="ssl.settings.enter_certificate" /> <fmt:message key="ssl.settings.enter_certificate" />
</span> </span>
</td> </td>
</tr> </tr>
<% } else if (errors.containsKey("general")) { <% } else if (errors.containsKey("general")) {
String error = (String)errors.get("general"); String error = (String)errors.get("general");
%> %>
<tr><td>&nbsp;</td> <tr><td>&nbsp;</td>
<td> <td>
<span class="jive-error-text"> <span class="jive-error-text">
<fmt:message key="ssl.settings.error_installing" /> <fmt:message key="ssl.settings.error_installing" />
<% if (error != null && !"".equals(error.trim())) { %> <% if (error != null && !"".equals(error.trim())) { %>
<fmt:message key="ssl.settings.error_reported" />: <%= error %>. <fmt:message key="ssl.settings.error_reported" />: <%= error %>.
<% } %> <% } %>
</span> </span>
</td> </td>
</tr> </tr>
<% } %> <% } %>
<tr> <tr>
<td nowrap><fmt:message key="ssl.settings.type" />:</td> <td nowrap width="15%"><fmt:message key="ssl.settings.type" />:</td>
<td> <td>
<select name="type" size="1"> <select name="type" size="1">
<option value="server"><fmt:message key="ssl.settings.server" /></option> <option value="server"><fmt:message key="ssl.settings.server" /></option>
<option value="client"><fmt:message key="ssl.settings.client" /></option> <option value="client"><fmt:message key="ssl.settings.client" /></option>
</select> </select>
</td> </td>
</tr> </tr>
<tr> <tr>
<td nowrap><fmt:message key="ssl.settings.alias" />:</td> <td nowrap><fmt:message key="ssl.settings.alias" />:</td>
<td> <td>
<input name="alias" type="text" size="50" maxlength="255" value="<%= (alias != null ? alias : "") %>"> <input name="alias" type="text" size="50" maxlength="255" value="<%= (alias != null ? alias : "") %>">
</td> </td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td nowrap><fmt:message key="ssl.settings.a_certificate" />:</td> <td nowrap><fmt:message key="ssl.settings.a_certificate" />:</td>
<td> <td>
<span class="jive-description"> <span class="jive-description">
<fmt:message key="ssl.settings.paste_certificate" /><br> <fmt:message key="ssl.settings.paste_certificate" /><br>
</span> </span>
<textarea name="cert" cols="55" rows="7" wrap="virtual" style="font-size:8pt;"></textarea> <textarea name="cert" cols="55" rows="7" wrap="virtual" style="font-size:8pt;"></textarea>
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td colspan="2">
<br> <br>
<input type="submit" name="install" value="<fmt:message key="ssl.settings.add_certificate" />"> <input type="submit" name="install" value="<fmt:message key="ssl.settings.add_certificate" />">
</td> </td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> </div>
</fieldset>
</form> </form>
<!-- END 'Instal Certificate' -->
</body> </body>
</html> </html>
<% } catch (Throwable t) { t.printStackTrace(); } %> <% } catch (Throwable t) { t.printStackTrace(); } %>
\ No newline at end of file
...@@ -700,6 +700,14 @@ A.cal:Hover { ...@@ -700,6 +700,14 @@ A.cal:Hover {
font-size: 10pt; font-size: 10pt;
color: #09345b; color: #09345b;
} }
.jive-contentBox h4 {
margin: 0px 0px 4px 0px;
padding: 3px 0px 3px 4px;
color: #34679a;
background-color: #fcfcfc;
font-size: 10pt;
border: 1px solid #e9e9e9;
}
.jive-contentBox form { .jive-contentBox form {
margin: 0px; margin: 0px;
padding: 0px; padding: 0px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment