<!--  $Id$  -->
<!--                                                                  -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

  <xsl:include href="/app/tools/support/templates/layout.xsl" />

  <xsl:template name="mainBody" >
    <xsl:call-template name="bodyTitle" >
      <xsl:with-param name="title">Support Modules</xsl:with-param>
    </xsl:call-template>
    <xsl:call-template name="moduleList" />
  </xsl:template>

  <xsl:template name="moduleList" >
    <xsl:call-template name="collectionList" >
      <xsl:with-param name="columns" >
        <Column align="left" field="ModuleID">Module ID</Column>
        <Column align="left" field="Name">Name</Column>
        <Column align="left" field="Slug">Area</Column>
        <Column align="left" field="DisplayOrder">Index</Column>
      </xsl:with-param>
      <xsl:with-param name="editCommand">module_detail</xsl:with-param>
      <xsl:with-param name="addCommand">module_detail</xsl:with-param>
      <xsl:with-param name="addButtonText">Add Module</xsl:with-param>
      <xsl:with-param name="keyField">ModuleID</xsl:with-param>
    </xsl:call-template>
  </xsl:template>

</xsl:stylesheet>
