Commit 0eb282b5 authored by Dave Cridland's avatar Dave Cridland Committed by Guus der Kinderen

OF-777 Use taglib for error message

parent 8686ad88
......@@ -160,17 +160,7 @@
<br>
<% }%>
<% if (csrfStatus == false) { %>
<div class="jive-error">
<table cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr><td class="jive-icon"><img src="images/error-16x16.gif" width="16" height="16" border="0" alt=""></td>
<td class="jive-icon-label">
<fmt:message key="global.csrf.failed" />
</td></tr>
</tbody>
</table>
</div><br>
<admin:infobox type="error"><fmt:message key="global.csrf.failed" /></admin:infobox>
<% } %>
<p>
<fmt:message key="client.features.info"/>
......
......@@ -255,17 +255,7 @@
<br>
<% }%>
<% if (csrfStatus == false) { %>
<div class="jive-error">
<table cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr><td class="jive-icon"><img src="images/error-16x16.gif" width="16" height="16" border="0" alt=""></td>
<td class="jive-icon-label">
<fmt:message key="global.csrf.failed" />
</td></tr>
</tbody>
</table>
</div><br>
<admin:infobox type="error"><fmt:message key="global.csrf.failed" /></admin:infobox>
<% } %>
......
......@@ -171,18 +171,7 @@
}
else if (csrfStatus == false) {
%>
<div class="jive-error">
<table cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr><td class="jive-icon"><img src="images/error-16x16.gif" width="16" height="16" border="0" alt=""></td>
<td class="jive-icon-label">
<fmt:message key="global.csrf.failed" />
</td></tr>
</tbody>
</table>
</div><br>
<admin:infobox type="error"><fmt:message key="global.csrf.failed" /></admin:infobox>
<%
}
}
......
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