<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="VIEW-CONTENT">
	<table width="100%" cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td>&#160;</td>
		</tr>
		<tr>
			<td>
				<xsl:apply-templates select="/SITEBUILDER-PAGE/ACTION-STATUS"/>
				<xsl:apply-templates/>
			</td>
		</tr>
	</table>
</xsl:template>

<xsl:template match="SITE-CREATE-CONTENT">
	<script type="text/javascript" src="/js/Admin/Sites.js?{$version}.{$build}"/>
	
	<table width="100%" cellpadding="0" border="0">
		<tr>
			<td>
				<form name="editSite" method="post" id="editSite" action="{$baseUrl}/Admin/Site/Create" onsubmit="return validateForm();">
					<xsl:apply-templates/>
					<!-- input image needed for work default submit via Enter -->
					<input type="image" style="border-width: 0px; height: 0px; width: 0px;"/>
				</form>
			</td>
		</tr>
	</table>
	<table border="0" cellpadding="0" cellspacing="0" width="100%">
		<tr>
			<td align="left" style="padding-left: 25px"><xsl:call-template name="REQUIRED-FIELDS"/></td>
			<td>
				<xsl:call-template name="OK-CANCEL-BUTTONS">
					<xsl:with-param name="okAction">if(validateForm()){document.forms.editSite.submit();}</xsl:with-param>
					<xsl:with-param name="cancelAction">document.location.href="<xsl:value-of select="$baseUrl"/>/Admin/Site/List";</xsl:with-param>
				</xsl:call-template>
			</td>
		</tr>
	</table>
	
</xsl:template>

</xsl:stylesheet>