[jboss-svn-commits] JBL Code SVN: r5160 - labs/jbossforums/trunk/forums/src/resources/portal-forums-war/views/moderator
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Jul 18 18:10:11 EDT 2006
Author: unibrew
Date: 2006-07-18 18:10:09 -0400 (Tue, 18 Jul 2006)
New Revision: 5160
Modified:
labs/jbossforums/trunk/forums/src/resources/portal-forums-war/views/moderator/delete_topic.xhtml
labs/jbossforums/trunk/forums/src/resources/portal-forums-war/views/moderator/modcp_body.xhtml
labs/jbossforums/trunk/forums/src/resources/portal-forums-war/views/moderator/modcp_move.xhtml
labs/jbossforums/trunk/forums/src/resources/portal-forums-war/views/moderator/modcp_split.xhtml
Log:
[JBFORUMS-43] Just updating security on all views.
Modified: labs/jbossforums/trunk/forums/src/resources/portal-forums-war/views/moderator/delete_topic.xhtml
===================================================================
--- labs/jbossforums/trunk/forums/src/resources/portal-forums-war/views/moderator/delete_topic.xhtml 2006-07-18 21:45:56 UTC (rev 5159)
+++ labs/jbossforums/trunk/forums/src/resources/portal-forums-war/views/moderator/delete_topic.xhtml 2006-07-18 22:10:09 UTC (rev 5160)
@@ -34,8 +34,8 @@
<ui:composition template="/views/common/common.xhtml">
<ui:define name="mainContent">
-<isAllowedChoose>
-<isAllowedWhen fragment="acl://moderateForum" contextData="#{moderator.forum}">
+<forums:isAllowedChoose>
+<forums:isAllowedWhen fragment="acl://moderateForum" contextData="#{moderator.forum}">
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<th class="thHead" height="25" valign="middle"><span class="tableTitle">${resource.Topic_delete_message}</span></th>
@@ -60,8 +60,8 @@
</tr>
</table>
-</isAllowedWhen>
-<isAllowedOtherwise>
+</forums:isAllowedWhen>
+<forums:isAllowedOtherwise>
<table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0">
<tr>
<td>
@@ -81,8 +81,8 @@
</td>
</tr>
</table>
-</isAllowedOtherwise>
-</isAllowedChoose>
+</forums:isAllowedOtherwise>
+</forums:isAllowedChoose>
</ui:define>
</ui:composition>
Modified: labs/jbossforums/trunk/forums/src/resources/portal-forums-war/views/moderator/modcp_body.xhtml
===================================================================
--- labs/jbossforums/trunk/forums/src/resources/portal-forums-war/views/moderator/modcp_body.xhtml 2006-07-18 21:45:56 UTC (rev 5159)
+++ labs/jbossforums/trunk/forums/src/resources/portal-forums-war/views/moderator/modcp_body.xhtml 2006-07-18 22:10:09 UTC (rev 5160)
@@ -32,9 +32,9 @@
<ui:composition template="/views/common/common.xhtml">
<ui:define name="mainContent">
<c:if test="#{moderator.initialized && moderator.forum!=null && moderator.forum.id!=-1}">
-<isAllowedChoose>
+<forums:isAllowedChoose>
- <isAllowedWhen fragment="acl://moderateForum" contextData="#{moderator.forum}">
+ <forums:isAllowedWhen fragment="acl://moderateForum" contextData="#{moderator.forum}">
<h:messages layout="table" infoStyle="color:green" warnStyle="color:red"/>
<h:form>
<input type="hidden" name="f" value="#{moderator.forum.id}"/>
@@ -261,8 +261,8 @@
</td>
</tr>
</table>
- </isAllowedWhen>
- <isAllowedOtherwise>
+ </forums:isAllowedWhen>
+ <forums:isAllowedOtherwise>
<table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0">
<tr>
<td>
@@ -282,9 +282,9 @@
</td>
</tr>
</table>
- </isAllowedOtherwise>
+ </forums:isAllowedOtherwise>
-</isAllowedChoose>
+</forums:isAllowedChoose>
</c:if>
</ui:define>
</ui:composition>
Modified: labs/jbossforums/trunk/forums/src/resources/portal-forums-war/views/moderator/modcp_move.xhtml
===================================================================
--- labs/jbossforums/trunk/forums/src/resources/portal-forums-war/views/moderator/modcp_move.xhtml 2006-07-18 21:45:56 UTC (rev 5159)
+++ labs/jbossforums/trunk/forums/src/resources/portal-forums-war/views/moderator/modcp_move.xhtml 2006-07-18 22:10:09 UTC (rev 5160)
@@ -31,8 +31,8 @@
xmlns:forums="http://www.jboss.com/products/jbossportal/forums" class="bb">
<ui:composition template="/views/common/common.xhtml">
<ui:define name="mainContent">
-<isAllowedChoose>
-<isAllowedWhen fragment="acl://moderateForum" contextData="#{moderator.forum}">
+<forums:isAllowedChoose>
+<forums:isAllowedWhen fragment="acl://moderateForum" contextData="#{moderator.forum}">
<h:form>
<input type="hidden" name="f" value="#{moderator.forum.id}"/>
<table width="100%" cellspacing="2" cellpadding="2" border="0"
@@ -118,8 +118,8 @@
</tr>
</table>
</h:form>
-</isAllowedWhen>
-<isAllowedOtherwise>
+</forums:isAllowedWhen>
+<forums:isAllowedOtherwise>
<table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0">
<tr>
<td>
@@ -139,8 +139,8 @@
</td>
</tr>
</table>
-</isAllowedOtherwise>
-</isAllowedChoose>
+</forums:isAllowedOtherwise>
+</forums:isAllowedChoose>
</ui:define>
</ui:composition>
Modified: labs/jbossforums/trunk/forums/src/resources/portal-forums-war/views/moderator/modcp_split.xhtml
===================================================================
--- labs/jbossforums/trunk/forums/src/resources/portal-forums-war/views/moderator/modcp_split.xhtml 2006-07-18 21:45:56 UTC (rev 5159)
+++ labs/jbossforums/trunk/forums/src/resources/portal-forums-war/views/moderator/modcp_split.xhtml 2006-07-18 22:10:09 UTC (rev 5160)
@@ -35,9 +35,9 @@
<c:choose>
<c:when test="#{splitTopic.initialized && splitTopic.topic!=null && splitTopic.topic.id!=-1}">
-<isAllowedChoose>
+<forums:isAllowedChoose>
-<isAllowedWhen fragment="acl://moderateForum" contextData="#{splitTopic.topic.forum}">
+<forums:isAllowedWhen fragment="acl://moderateForum" contextData="#{splitTopic.topic.forum}">
<h:messages layout="table" infoStyle="color:green" warnStyle="color:red"/>
@@ -215,9 +215,9 @@
</tr>
</table>
-</isAllowedWhen>
+</forums:isAllowedWhen>
-<isAllowedOtherwise>
+<forums:isAllowedOtherwise>
<table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0">
<tr>
<td>
@@ -237,9 +237,9 @@
</td>
</tr>
</table>
-</isAllowedOtherwise>
+</forums:isAllowedOtherwise>
-</isAllowedChoose>
+</forums:isAllowedChoose>
</c:when>
<c:otherwise>
<table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0">
More information about the jboss-svn-commits
mailing list