#--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<#if !rootForumId?has_content>
<#assign rootForumId=requestParameters.rootForumId!/>
#if>
<#if !rootForumId?has_content>
<#assign rootForumId=defaultSiteId!/>
#if>
<@checkPermission entityOperation="_ADMIN" targetOperation="CONTENT_ADMIN" >
|
|
<#if requestParameters.moderatedSiteId?has_content>
|
Unapproved entries for forum Id:${requestParameters.moderatedSiteId} |
|
<@moderateSite rootForumId=rootForumId forumId=requestParameters.moderatedSiteId />
|
#if>
<#if requestParameters.permRoleSiteId?has_content>
|
Associated roles for forum Id:${requestParameters.permRoleSiteId} |
|
<@grantSiteRoles rootForumId=rootForumId forumId=requestParameters.permRoleSiteId/>
|
#if>
@checkPermission>
<#macro showSites forumId formAction="/enableSites" indentIndex=0 catTrail=[]>
<#local thisContentId=catTrail[indentIndex]!/>
<#local indent = "">
<#if 0 < indentIndex >
<#list 0..(indentIndex - 1) as idx>
<#local indent = indent + " ">
#list>
#if>
<@loopSubContent contentId=forumId viewIndex=0 viewSize=9999 contentAssocTypeId="SUBSITE" returnAfterPickWhen="1==1";>
${indent}
<#local plusMinus="-"/>
${plusMinus} ${content.contentName!}
|
Moderate
|
| |
User Roles
|
| |
Add Child Forum
|
| |
RemoveSite
|
<#assign rowCount = rowCount + 1 />
<@showSites forumId=subContentId indentIndex=(indentIndex + 1)/>
@loopSubContent>
#macro>
<#macro moderateSite forumId rootForumId >
#macro>
<#macro grantSiteRoles forumId rootForumId >
#macro>