Commit d451e6bd authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Added warning text when adding remote JID to group. JM-210

git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@3129 b35dd754-fafc-0310-a699-88a17e54d16e
parent 4a9e6f68
......@@ -490,11 +490,12 @@
%>
<%
boolean showUpdateButtons = memberCount > 0;
boolean showRemoteJIDsWarning = false;
while (admins.hasNext()) {
JID user = (JID)admins.next();
%>
<tr>
<td><%= user %></td>
<td><%= user %><% if (!webManager.getXMPPServer().isLocal(user)) { showRemoteJIDsWarning = true; %> <font color="red"><b>*</b></font><%}%></td>
<td align="center">
<input type="checkbox" name="admin" value="<%= user %>" checked>
</td>
......@@ -510,7 +511,7 @@
JID user = (JID)members.next();
%>
<tr>
<td><%= user %></td>
<td><%= user %><% if (!webManager.getXMPPServer().isLocal(user)) { showRemoteJIDsWarning = true; %> <font color="red"><b>*</b></font><%}%></td>
<td align="center">
<input type="checkbox" name="admin" value="<%= user %>">
</td>
......@@ -535,6 +536,16 @@
<input type="submit" name="remove" value="Remove">
</td>
</tr>
<%
}
if (showRemoteJIDsWarning) {
%>
<tr>
<td colspan="3">
<font color="red">* Note: Remote users or entities should accept presence subscriptions automatically.</font>
</td>
</tr>
<%
}
%>
......
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