## Sitemanage Site access info editing page
<div class ="portletBody">
	#if($menu)#toolbar($menu)#end
	<h3>
		$tlang.getString("sitegen.manageaccess.change") $validator.escapeHtml($site.Title)	
	</h3>
	#if ($alertMessage)
		<div class="alertMessage">$tlang.getString("sitegen.manageaccess.alert") $validator.escapeHtml($alertMessage)</div>
		<div class="clear"></div>
	#end
	<form name="editParticipantForm" action="#toolForm("SiteAction")" method="post">
		<h4>
			$tlang.getString("sitegen.manageaccess.sitest")
		</h4>
		<p class="instruction">
			$tlang.getString("sitegen.manageaccess.publi")
		</p>
		<p class="checkbox indnt1">
			<input type="checkbox" name="publishunpublish" id="publishunpublish" value="publish" #if (($siteEdit && $site.isPublished()) || (!$siteEdit && $published)) checked="checked" #end />	
			<label for="publishunpublish">
				$tlang.getString("sitegen.manageaccess.publis")
			</label>
		</p>	
		<h4>
			$tlang.getString("sitegen.manageaccess.global")
		</h4>
		<p class="instruction">
			$tlang.getString("sitegen.manageaccess.your")
		</p>
		<p class="checkbox indnt1">
			<input type="radio" name="include" id="access_private" value="false" #if(!$!include)checked="checked"#end />
			<label for="access_private">
				$tlang.getString("sitegen.manageaccess.private")
			</label>
		</p>
		<p class="checkbox indnt1">
			<input type="radio" name="include" id="access_public" value="true" #if($!include)checked="checked"#end />
			<label for="access_public">
				$tlang.getString("sitegen.manageaccess.publict")
			</label>
		</p>
##		<p class="checkbox indnt1">
##			<input type="radio" name="include" id="access_public_select" value="false" #if(!$!includeSelected)checked="checked"#end />
##			<label for="access_public select">
##				$tlang.getString("sitegen.manageaccess.publics")
##			</label>
##		</p>
##		<p class="checkbox indnt1">
##			<input type="radio" name="include" id="access_public_all" value="false" #if(!$!includeAll)checked="checked"#end />
##			<label for="access_public select">
##				$tlang.getString("sitegen.manageaccess.publica")
##			</label>
##		</p>
		<p class="checkbox indnt1">
			<input type="checkbox" name="joinable" id="joinable" value="true" #if ($site.isJoinable()) checked="checked"#end />
			<label for="joinable">
				$tlang.getString("sitegen.manageaccess.canbe")<br />
			</label>
		</p>
		<p class="checkbox indnt3">
			<label for="joinerRole">
				$tlang.getString("sitegen.manageaccess.role")
			</label>
			<select name="joinerRole" id="joinerRole">
				#foreach($r in $roles)
					<option value ="$r.Id"
						#if($r.Id == $site.getJoinerRole())
							selected="selected"
						#end
					>
						$r.Id
					</option>
				#end
			</select>
		</p>
		<input type="hidden" name="continue" value="31" />
		<input type="hidden" name="template-index" value="39" />
		<input type="hidden" name="back" value="31" />
		<div class ="act">
			<input type="submit" accesskey="s" class="active" name="eventSubmit_doSitemanage_update_site_access" value="$tlang.getString("sitegen.manageaccess.update")" />
			<input type="submit" accesskey="x" name="eventSubmit_doCancel" value="$tlang.getString("sitegen.manageaccess.cancel")" />
		</div>
	</form>
</div>

