<div class="portletBody">
	<h3>
		$tlang.getString("delcat.delcat"): "$category"
	</h3>
	#if ($alertMessage)<div class="alertMessage">$tlang.getString("gen.alert") $validator.escapeHtml($alertMessage)</div><div class="clear"></div>#end
	<script type="text/javascript">
		focus_path = [ "eventSubmit_doDelete_category" ];
		if (parent) if (parent.parent) parent.parent.window.scrollTo(0,400);
	</script>
	#if (!$delete_messages || !$delete_messages.hasNext())
		<div class="alertMessage">$tlang.getString("delcat.areyousure1") "$category"? </div><div class="clear"></div>
	#else
		<div class="alertMessage">$tlang.getString("delcat.areyousure2") "$category"?  $tlang.getString("delcat.allmes")</div><div class="clear"></div>
		#set ($depthUnit="em")
		<form name="forNotLetDeleteSelectedOnLoad"></form>
			#foreach ($delete_item in $delete_messages)
				#if ($delete_item.ReplyToDepth >= 4)
					#set($header=6)
				#else	
					#set($header = ($delete_item.ReplyToDepth + 3))
				#end
				#if ($delete_item.ReplyToDepth==0)
					<hr class="itemSeparator" />
				#end
					<div style="margin-left:$delete_item.ReplyToDepth$depthUnit">
						<h$header  class="textPanelHeader">
							#if ($delete_item.Header.draft)
								<span class="highlight">$tlang.getString("gen.dra") </span>
							#end
							$validator.escapeHtml($delete_item.Header.subject)
						</h$header>	
					
					<p class="textPanelFooter">
						$validator.escapeHtml($delete_item.Header.From.DisplayName)
						$delete_item.Header.Date.toStringLocalFullZ()
					</p>	
				</div>	
				#end

	#end
	<form action="#toolForm($action)" method="post">
		<div class="act">
			<input type="hidden" name="category" value="$validator.escapeHtml($category)" />
			<input type="submit"  accesskey ="s"  class="active"  name="eventSubmit_doDelete_category" id="eventSubmit_doDelete_category" value="$tlang.getString("delcat.delcat")" />
			<input type="submit"  accesskey ="x"  name="eventSubmit_doCancel_delete_category" value="$tlang.getString("gen.can")" />
		</div>
	</form>
</div>
