| <%= count %> |
"><%= componentSession.getAddress() %>
|
<% if (componentSession.isEncrypted()) {
if (componentSession.getPeerCertificates() != null && componentSession.getPeerCertificates().length > 0) { %>
<% } else { %>
" alt=": <%= componentSession.getTLSProtocolName() + " (" + componentSession.getCipherSuiteName() +")" %>">
<% }
} else { %>
<% } %>
|
<%= StringUtils.escapeHTMLTags(componentSession.getExternalComponent().getName()) %>
|
<%= StringUtils.escapeHTMLTags(componentSession.getExternalComponent().getCategory()) %>
|
<% if ("gateway".equals(componentSession.getExternalComponent().getCategory())) {
if ("aim".equals(componentSession.getExternalComponent().getType())) { %>
 |
<% }
else if ("irc".equals(componentSession.getExternalComponent().getType())) { %>
 |
<% }
}
%>
<%= StringUtils.escapeHTMLTags(componentSession.getExternalComponent().getType()) %> |
|
<% if (clusteringEnabled) { %>
<% if (componentSession instanceof LocalSession) { %>
<% } else { %>
<% } %>
|
<% } %>
<% Date creationDate = componentSession.getCreationDate();
Calendar creationCal = Calendar.getInstance();
creationCal.setTime(creationDate);
Date lastActiveDate = componentSession.getLastActiveDate();
Calendar lastActiveCal = Calendar.getInstance();
lastActiveCal.setTime(lastActiveDate);
Calendar nowCal = Calendar.getInstance();
boolean sameCreationDay = nowCal.get(Calendar.DAY_OF_YEAR) == creationCal.get(Calendar.DAY_OF_YEAR) && nowCal.get(Calendar.YEAR) == creationCal.get(Calendar.YEAR);
boolean sameActiveDay = nowCal.get(Calendar.DAY_OF_YEAR) == lastActiveCal.get(Calendar.DAY_OF_YEAR) && nowCal.get(Calendar.YEAR) == lastActiveCal.get(Calendar.YEAR);
%>
<%= sameCreationDay ? JiveGlobals.formatTime(creationDate) : JiveGlobals.formatDateTime(creationDate) %>
|
<%= sameActiveDay ? JiveGlobals.formatTime(lastActiveDate) : JiveGlobals.formatDateTime(lastActiveDate) %>
|
"
onclick="return confirm('');"
>
|
<% } %>