phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: property/templates/default table_header.xsl,NON


From: Sigurd Nes <address@hidden>
Subject: [Phpgroupware-cvs] CVS: property/templates/default table_header.xsl,NONE,1.1 values.xsl,NONE,1.1
Date: Thu, 19 Jun 2003 08:11:06 -0400

Update of /cvsroot/phpgroupware/property/templates/default
In directory subversions:/tmp/cvs-serv12334/templates/default

Added Files:
        table_header.xsl values.xsl 
Log Message:
no message

--- NEW FILE ---
        <xsl:template name="table_header">
                        <tr class="th">
                                <xsl:for-each select="table_header" >
                                        <td class="th_text" width="{with}" 
align="{align}">
                                                <xsl:choose>
                                                        <xsl:when 
test="sort_link!=''">
                                                                <a 
href="{sort}" onMouseover="window.status='{header}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of select="header"/></a>
                                                        </xsl:when>
                                                        <xsl:otherwise>
                                                                <xsl:value-of 
select="header"/>                                 
                                                        </xsl:otherwise>
                                                </xsl:choose>
                                        </td>
                                </xsl:for-each>
                        </tr>
        </xsl:template>

--- NEW FILE ---
        <xsl:template name="values">
                <xsl:for-each select="values" >
                        <tr>
                        <xsl:attribute name="class">
                                <xsl:choose>
                                        <xsl:when test="@class">
                                                <xsl:value-of select="@class"/>
                                        </xsl:when>
                                        <xsl:when test="position() mod 2 = 0">
                                                <xsl:text>row_off</xsl:text>
                                        </xsl:when>
                                        <xsl:otherwise>
                                                <xsl:text>row_on</xsl:text>
                                        </xsl:otherwise>
                                </xsl:choose>
                        </xsl:attribute>
                                <xsl:for-each select="row" >
                                        <xsl:choose>
                                                <xsl:when test="link">
                                                        <td align="center">
                                                                <a 
href="{link}" onMouseover="window.status='{statustext}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of select="text"/></a>
                                                        </td>
                                                </xsl:when>
                                                <xsl:otherwise>
                                                        <td align="left">
                                                                <xsl:value-of 
select="value"/>                                  
                                                        </td>
                                                </xsl:otherwise>
                                        </xsl:choose>
                                </xsl:for-each>
                        </tr>
                </xsl:for-each>
        </xsl:template>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]