[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: property/templates/default project.xsl,1.11,1.12
From: |
Sigurd Nes <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: property/templates/default project.xsl,1.11,1.12 |
Date: |
Thu, 19 Jun 2003 08:10:01 -0400 |
Update of /cvsroot/phpgroupware/property/templates/default
In directory subversions:/tmp/cvs-serv12097/templates/default
Modified Files:
project.xsl
Log Message:
no message
Index: project.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/project.xsl,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** project.xsl 26 May 2003 18:18:17 -0000 1.11
--- project.xsl 19 Jun 2003 12:09:59 -0000 1.12
***************
*** 39,46 ****
</table>
<table width="100%" cellpadding="2" cellspacing="2"
align="center">
! <xsl:apply-templates
select="table_header_project"/>
<xsl:choose>
! <xsl:when
test="values_project[project_id]">
! <xsl:apply-templates
select="values_project"/>
</xsl:when>
</xsl:choose>
--- 39,46 ----
</table>
<table width="100%" cellpadding="2" cellspacing="2"
align="center">
! <xsl:call-template name="table_header"/>
<xsl:choose>
! <xsl:when test="values">
! <xsl:call-template
name="values"/>
</xsl:when>
</xsl:choose>
***************
*** 48,51 ****
--- 48,103 ----
</table>
</xsl:template>
+ <!--
+ <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>
+
+ <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>
+ -->
<xsl:template match="table_header_project">
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: property/templates/default project.xsl,1.11,1.12,
Sigurd Nes <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: property/templates/default table_header.xsl,NONE,1.1 values.xsl,NONE,1.1
- Next by Date:
[Phpgroupware-cvs] CVS: property/templates/default location_view_2.xsl,1.1,NONE location_form_2.xsl,1.2,NONE
- Previous by thread:
[Phpgroupware-cvs] CVS: property/templates/default table_header.xsl,NONE,1.1 values.xsl,NONE,1.1
- Next by thread:
[Phpgroupware-cvs] CVS: property/templates/default location_view_2.xsl,1.1,NONE location_form_2.xsl,1.2,NONE
- Index(es):