Location: PHPKode > projects > YaCM Portal System > yacm-0.2/themes/default/templates/nevsor/targy.xsl.tpl
<xsl:template match="Nevsor-Place"><span class="s-info">
<b><i><xsl:value-of select="@title"/><br /><xsl:value-of select="@subtitle"/></i></b><br />
<xsl:for-each select="Param"><b><xsl:value-of select="@name"/>: </b><xsl:value-of select="@value"/><xsl:if
test="position()!=last()"><br/></xsl:if></xsl:for-each></span>
</xsl:template>

<!-- EAF -->
<xsl:template match="Bead-Time">
<xsl:apply-templates/>
</xsl:template>

<xsl:template match="Bead-Time/Item">
<b><xsl:value-of select="@title"/></b><br/>
<xsl:value-of select="@first-title"/>: <xsl:value-of select="@first"/><br />
<xsl:value-of select="@second-title"/>: <xsl:value-of select="@second"/><br />
</xsl:template>


<xsl:template match="Bead-Time/Item-ZH">
<b><xsl:value-of select="@title"/></b><br/>
<span style="font-style: italic;"><xsl:value-of select="@time-title"/>: 
<xsl:value-of select="@time"/><br />
<xsl:value-of select="@terem-title"/>: <xsl:value-of select="@terem"/></span><br />
</xsl:template>
<!-- /EAF -->

<xsl:template match="Emph-N">
<span style="font-style: italic; color: red;font-weight: normal"><xsl:apply-templates/>
</span>
</xsl:template>

<!-- ADA -->
<xsl:template match="Ada">
 <xsl:choose>
  <xsl:when test=". = -3"><span class="ada_copied"><smarty>lang_get str=copied</smarty></span></xsl:when>
  <xsl:when test=". = -2"><span class="ada_sent"><smarty>lang_get str=ada_sent</smarty></span></xsl:when>
  <xsl:when test=". = -1"><span class="ada_bad"><smarty>lang_get str=notgood</smarty></span></xsl:when>
  <xsl:when test=". = 0"><span class="ada_none"><smarty>lang_get str=ada_none</smarty></span></xsl:when>
  <xsl:when test=". = 1"><span class="ada_good"><smarty>lang_get str=good</smarty></span></xsl:when>
  <xsl:when test=". = 2"><span class="ada_late"><smarty>lang_get str=ada_late</smarty></span></xsl:when>
</xsl:choose>
</xsl:template>

<!-- /ADA -->
<xsl:template match="null-N">
<span style="color: #f88"><xsl:apply-templates/></span>
</xsl:template>
Return current item: YaCM Portal System