##<!-- $Header: /cvs/sakai2/legacy/tools/src/webapp/vm/sitesetup/chef_site-addParticipant-notification.vm,v 1.1 2005/04/14 20:22:06 ggolden.umich.edu Exp $ -->
## Add a participant to the worksite
<div class ="portletBody">
	<h3>
		$tlang.getString("add.addpart") $validator.escapeHtml($title)...
	</h3>
	#if ($alertMessage)<div class="alertMessage">$tlang.getString("gen.alert") $validator.escapeHtml($alertMessage)</div>#end
	<form action="#toolForm("SiteAction")" method="post">
		#if ($!sitePublished)
			<p class="instruction">
				$tlang.getString("addnoti.anemail")
			</p>
			<p class="checkbox">
				<input type="radio" name="notify" value="true" id="notify_yes" 
					#if ($notify)
						checked="checked"
					#end
				/>
				<label for="notify_yes">
					$tlang.getString("addnoti.sendnow")
				</label>
			</p>
			<p class="checkbox">
				<input type="radio" name="notify" value="false" id="notify_no"
					#if (!$notify)
						checked="checked"
					#end
				/>
				<label for="notify_no">
					$tlang.getString("addnoti.dontsend")
				</label>
			</p>
		#else
			## if the site hasn't been published yet, show instruction, don't allow sending emails to added users
			<p class="instruction">
				$tlang.getString("addnoti.toUnpublishedSite")
			</p>
			<input type="hidden" name="notify" value="false" />
		#end

		<input type="hidden" name="continue" value="22" />
		<input type="hidden" name="back" value="$backIndex" />
		<input type="hidden" name="template-index" value="21" />
		<p class ="act">
			<input type="submit" accesskey="s" class="active"  name="eventSubmit_doContinue" value="$tlang.getString('gen.continue')" />
			<input type="submit" accesskey="b" name="eventSubmit_doBack" value="$tlang.getString('gen.back')" />
			<input type="submit" accesskey="x" name="eventSubmit_doCancel" value="$tlang.getString('gen.cancel')" />
		</p>
	</form>
</div>

