Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Openfire
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Openfire
Commits
0ce9d081
Commit
0ce9d081
authored
Oct 10, 2014
by
Roman S
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OF-842: Additional properties in User Properties view
parent
88caa4d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
openfire_i18n_en.properties
src/i18n/openfire_i18n_en.properties
+4
-0
user-properties.jsp
src/web/user-properties.jsp
+20
-0
No files found.
src/i18n/openfire_i18n_en.properties
View file @
0ce9d081
...
...
@@ -535,6 +535,9 @@
## Added key: 'setup.host.settings.encryption_key_invalid'
## Added key: 'server.properties.delete_confirm'
## Added key: 'server.properties.encrypt_confirm'
##
## 3.10.0
## Added key: 'user.properties.additional_propertie'
# Openfire
...
...
@@ -2453,6 +2456,7 @@ user.properties.locked_set=This account has a lockout scheduled.
user.properties.locksuccess
=
User locked out successfully.
user.properties.unlocksuccess
=
User unlocked successfully.
user.properties.isadmin
=
User has administrative privileges.
user.properties.additional_properties
=
Additional Properties
# User roster Page
...
...
src/web/user-properties.jsp
View file @
0ce9d081
...
...
@@ -32,6 +32,7 @@
<%@ page
import=
"org.xmpp.packet.JID"
%><%@ page
import=
"org.xmpp.packet.Presence"
%>
<%@ page
import=
"java.net.URLEncoder"
%>
<%@ page
import=
"java.util.Collection"
%>
<%@ page
import=
"java.util.Map"
%>
<%@ page
import=
"org.jivesoftware.util.StringUtils"
%>
<%@ taglib
uri=
"http://java.sun.com/jstl/core_rt"
prefix=
"c"
%>
...
...
@@ -302,6 +303,25 @@
</table>
</div>
<br>
<div
class=
"jive-table"
>
<table
cellpadding=
"0"
cellspacing=
"0"
border=
"0"
width=
"100%"
>
<thead>
<tr>
<th
colspan=
"2"
><fmt:message
key=
"user.properties.additional_properties"
/></th>
</tr>
</thead>
<tbody>
<%
for
(
Map
.
Entry
<
String
,
String
>
properties
:
user
.
getProperties
().
entrySet
())
{
%>
<tr>
<td
class=
"c1"
><%=
StringUtils
.
escapeHTMLTags
(
properties
.
getKey
())
%>
:
</td>
<td><%=
StringUtils
.
escapeHTMLTags
(
properties
.
getValue
())
%></td>
</tr>
<%
}
%>
</tbody>
</table>
</div>
<br><br>
<%
if
(
user
!=
null
&&
!
UserManager
.
getUserProvider
().
isReadOnly
())
{
%>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment