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

<xsl:template match="PUBLISH-SETTINGS-CARD-CONTENT">
	<xsl:apply-templates select="STATUS" mode="admin"/>
	<xsl:apply-templates select="PUBLICATION-SETTINGS-FORM"/>
	<xsl:apply-templates select="CONTROL[@NAME='checkTarget']" mode="publishSettings"/>
	<xsl:apply-templates select="PUBLICATION-SETTINGS-FORM" mode="INIT-JS"/>
</xsl:template>

<xsl:template match="CONTROL[@NAME='checkTarget']" mode="publishSettings">
	<xsl:call-template name="BUTTON-CONTROL">
		<xsl:with-param name="title"><xsl:value-of select="@CAPTION"/></xsl:with-param>
		<xsl:with-param name="action">checkTarget('<xsl:value-of select="@ACTION"/>');</xsl:with-param>
		<xsl:with-param name="style">width: 120px;</xsl:with-param>
	</xsl:call-template>
</xsl:template>

</xsl:stylesheet>