<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xslc="http://xslcomponents.org/TR/WD-xslc">
<xsl:import href="../../xslc.xsl"/>
<xsl:import href="../../Common.xsl"/>
<xsl:template match="/">
<xsl:apply-templates select="document"/>
</xsl:template>
<xsl:template match="document">
<xsl:call-template name="xslc:Page">
<xsl:with-param name="Title">
<xsl:value-of select="/document/Locales/XDB_FormFieldTitle"/>
</xsl:with-param>
<xsl:with-param name="PageTitle">
<img align="absmiddle" src="{$XMLC_PictosPath}ico_service.gif"/> <xsl:value-of select="/document/Locales/XDB_FormFieldPageTitle"/>
</xsl:with-param>
<xsl:with-param name="ToolbarButtonsLeft">
<ToolbarButton>
<xsl:call-template name="ToolButtonRefresh"/>
</ToolbarButton>
<ToolbarButton>
<img border="0" src="{$XMLC_SkinPath}toolbar_separator.gif"/>
</ToolbarButton>
<xsl:call-template name="CommonToolbarButtonsLeft"/>
</xsl:with-param>
<xsl:with-param name="ToolbarButtonsRight">
<xsl:call-template name="CommonToolbarButtonsRight"/>
</xsl:with-param>
<xsl:with-param name="ActionMenu">
<xsl:call-template name="xslc:ActionPanel">
<xsl:with-param name="Name">XDB_FormFieldMenu</xsl:with-param>
<xsl:with-param name="TitleImage">
<xsl:value-of select="$XMLC_PictosPath"/>button_service.gif</xsl:with-param>
<xsl:with-param name="Title">
<xsl:value-of select="/document/Locales/XDB_FormFieldMenuTitle"/>
</xsl:with-param>
<xsl:with-param name="Dark">1</xsl:with-param>
<xsl:with-param name="Items">
<Item HRef="{/document/Aliases/XDBServerManagerDLL}XDB_FormField" ImagePath="{$XMLC_PictosPath}button_service.gif" Caption="{/document/Locales/XDB_FormFieldLink}"/>
</xsl:with-param>
</xsl:call-template>
</xsl:with-param>
<xsl:with-param name="Body">
<xsl:call-template name="xslc:TabControl">
<xsl:with-param name="ActivePageName">XDB_FormField</xsl:with-param>
<xsl:with-param name="Tabs">
<Tab Name="XDB_FormField">
<a href="{/document/Aliases/XDBServerManagerDLL}XDB_FormField">
<img align="absmiddle" border="0" src="{$XMLC_PictosPath}ico_service.gif"/> <xsl:value-of select="/document/Locales/XDB_FormFieldTab"/>
</a>
</Tab>
</xsl:with-param>
<xsl:with-param name="Page">
<xsl:call-template name="xslc:ApplicationMessages"/>
<xsl:apply-templates select="Field"/>
<xsl:call-template name="xslc:PoweredBy"/>
</xsl:with-param>
</xsl:call-template>
</xsl:with-param>
</xsl:call-template>
</xsl:template>
<xsl:template match="Field">
<form name="MainForm" action="{/document/Aliases/XDBServerManagerDLL}XDB_UpdateField" method="post">
<input type="hidden" name="ID" value="{ID}"/>
<table>
<tr>
<td>
<span class="clFieldCaption">
<xsl:value-of select="/document/Locales/FieldNameField"/>
</span>
</td>
<td>
<input type="text" name="Name" value="{Name}" class="clFlatTextInput"/>
</td>
</tr>
<tr>
<td>&#160;</td>
<td>
<xsl:call-template name="xslc:ButtonPad"/>
</td>
</tr>
</table>
</form>
</xsl:template>
</xsl:stylesheet>
