<?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:r="http://www.whitemagicsoftware.com/software/recipe" xmlns:string="http://symphony-cms.com/functions" exclude-result-prefixes="r string"> <xsl:import href="../../common/xsl/main.xsl"/> <!-- | STYLESHEET PARAMETERS +--> <xsl:param name="editable">false</xsl:param> <xsl:param name="account-id">0</xsl:param> <xsl:param name="account-label"><xsl:value-of select="$DEFAULT_USER_NAME" /></xsl:param> <xsl:template match="//tags"> <h1><span class="edit-account-label" id="account-label" account-id="{$account-id}"><xsl:value-of select="$account-label" /></span></h1> <div> <xsl:apply-templates> <xsl:sort select="@category" /> <xsl:sort select="@label" /> </xsl:apply-templates> </div> </xsl:template> <xsl:template name="page-title">Account</xsl:template> <xsl:template match="tag"> <h2 class="category-header"> <xsl:apply-templates select="@label" /> </h2> <div class="recipes"> <xsl:apply-templates select="recipe" /> </div> </xsl:template> <xsl:template match="recipe"> <a href="{$BASE_RECIPE}{@id}" class="recipe"><xsl:apply-templates /></a><br /> </xsl:template> <xsl:template match="title"> <xsl:value-of select="normalize-space(.)" /> </xsl:template> <xsl:template match="@label"> <xsl:value-of select="normalize-space(string:capitalize-words(.))" /> </xsl:template> <xsl:template name="html-head"> <link rel="stylesheet" type="text/css" href="{$BASE_CSS_APP}account.css" /> </xsl:template> <xsl:template name="body-app-footer"> <xsl:if test="$editable"> <xsl:call-template name="include-client-framework" /> <script type="text/javascript" src="{$BASE_JAVASCRIPT}rz.account.min.js" charset="utf-8"></script> </xsl:if> </xsl:template> </xsl:stylesheet>