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
c8836d9b
Commit
c8836d9b
authored
May 04, 2017
by
Greg Thomas
Committed by
Guus der Kinderen
Jul 11, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix NPE on User Properties screen
parent
c31c4ac2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
24 deletions
+27
-24
user-properties.jsp
src/web/user-properties.jsp
+27
-24
No files found.
src/web/user-properties.jsp
View file @
c8836d9b
...
@@ -301,34 +301,37 @@
...
@@ -301,34 +301,37 @@
</table>
</table>
</div>
</div>
<br>
<%
if
(
user
!=
null
)
{
%>
<div
class=
"jive-table"
>
<br>
<table
cellpadding=
"0"
cellspacing=
"0"
border=
"0"
width=
"100%"
>
<div
class=
"jive-table"
>
<thead>
<table
cellpadding=
"0"
cellspacing=
"0"
border=
"0"
width=
"100%"
>
<tr>
<thead>
<th
colspan=
"2"
><fmt:message
key=
"user.properties.additional_properties"
/></th>
<tr>
</tr>
<th
colspan=
"2"
><fmt:message
key=
"user.properties.additional_properties"
/></th>
</thead>
</tr>
<tbody>
</thead>
<%
for
(
Map
.
Entry
<
String
,
String
>
properties
:
user
.
getProperties
().
entrySet
())
{
%>
<tbody>
<tr>
<%
for
(
Map
.
Entry
<
String
,
String
>
properties
:
user
.
getProperties
().
entrySet
())
{
%>
<td
class=
"c1"
><%=
StringUtils
.
escapeHTMLTags
(
properties
.
getKey
())
%>
:
</td>
<tr>
<td><%=
StringUtils
.
escapeHTMLTags
(
properties
.
getValue
())
%></td>
<td
class=
"c1"
><%=
StringUtils
.
escapeHTMLTags
(
properties
.
getKey
())
%>
:
</td>
</tr>
<td><%=
StringUtils
.
escapeHTMLTags
(
properties
.
getValue
())
%></td>
<%
}
%>
</tr>
</tbody>
<%
}
%>
</table>
</tbody>
</div>
</table>
</div>
<br><br>
<%
if
(
user
!=
null
&&
!
UserManager
.
getUserProvider
().
isReadOnly
())
{
%>
<%
if
(
!
UserManager
.
getUserProvider
().
isReadOnly
())
{
%>
<form
action=
"user-edit-form.jsp"
>
<br><br>
<input
type=
"hidden"
name=
"username"
value=
"
<%=
StringUtils
.
escapeForXML
(
user
.
getUsername
())
%>
"
>
<input
type=
"submit"
value=
"
<fmt:message
key=
"global.edit_properties"
/>
"
>
</form>
<form
action=
"user-edit-form.jsp"
>
<input
type=
"hidden"
name=
"username"
value=
"
<%=
StringUtils
.
escapeForXML
(
user
.
getUsername
())
%>
"
>
<input
type=
"submit"
value=
"
<fmt:message
key=
"global.edit_properties"
/>
"
>
</form>
<%
}
%>
<%
}
%>
<%
}
%>
</body>
</body>
...
...
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