[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/templates/default nextmatchs.xsl, 1.6, 1.7
From: |
Bettina Gille <address@hidden> |
Subject: |
[Phpgroupware-cvs] phpgwapi/templates/default nextmatchs.xsl, 1.6, 1.7 |
Date: |
Tue, 11 Nov 2003 12:46:10 +0000 |
Update of /cvsroot/phpgroupware/phpgwapi/templates/default
In directory subversions:/tmp/cvs-serv32398
Modified Files:
nextmatchs.xsl
Log Message:
update nextmatchs
Index: nextmatchs.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/templates/default/nextmatchs.xsl,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** nextmatchs.xsl 10 Nov 2003 17:31:54 -0000 1.6
--- nextmatchs.xsl 11 Nov 2003 12:46:08 -0000 1.7
***************
*** 2,5 ****
--- 2,13 ----
<xsl:template name="nextmatchs">
+ <xsl:choose>
+ <xsl:when test="nm_data != ''">
+ <xsl:apply-templates select="nm_data"/>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template match="nm_data">
<!-- <xsl:param name="nextmatchs_params"/> -->
<xsl:variable name="allow_all_rows"><xsl:value-of
select="allow_all_rows"/></xsl:variable>
***************
*** 10,14 ****
<xsl:variable name="all_records"><xsl:value-of
select="all_records"/></xsl:variable>
<xsl:variable name="nextmatchs_url"><xsl:value-of
select="nextmatchs_url"/></xsl:variable>
! <xsl:variable name="nextmatchs_img_path"><xsl:value-of
select="nextmatchs_img_path"/></xsl:variable>
<table border="0" width="100%">
--- 18,36 ----
<xsl:variable name="all_records"><xsl:value-of
select="all_records"/></xsl:variable>
<xsl:variable name="nextmatchs_url"><xsl:value-of
select="nextmatchs_url"/></xsl:variable>
! <xsl:variable name="first_img"><xsl:value-of
select="first_img"/></xsl:variable>
! <xsl:variable name="first_grey_img"><xsl:value-of
select="first_grey_img"/></xsl:variable>
! <xsl:variable name="left_img"><xsl:value-of
select="left_img"/></xsl:variable>
! <xsl:variable name="left_grey_img"><xsl:value-of
select="left_grey_img"/></xsl:variable>
! <xsl:variable name="right_img"><xsl:value-of
select="right_img"/></xsl:variable>
! <xsl:variable name="right_grey_img"><xsl:value-of
select="right_grey_img"/></xsl:variable>
! <xsl:variable name="last_img"><xsl:value-of
select="last_img"/></xsl:variable>
! <xsl:variable name="last_grey_img"><xsl:value-of
select="last_grey_img"/></xsl:variable>
! <xsl:variable name="all_img"><xsl:value-of
select="all_img"/></xsl:variable>
!
! <xsl:variable name="title_first"><xsl:value-of
select="title_first"/></xsl:variable>
! <xsl:variable name="title_previous"><xsl:value-of
select="title_previous"/></xsl:variable>
! <xsl:variable name="title_next"><xsl:value-of
select="title_next"/></xsl:variable>
! <xsl:variable name="title_last"><xsl:value-of
select="title_last"/></xsl:variable>
! <xsl:variable name="title_all"><xsl:value-of
select="title_all"/></xsl:variable>
<table border="0" width="100%">
***************
*** 18,27 ****
<xsl:variable name="first"><xsl:value-of
select="nextmatchs_url"/>&start=0</xsl:variable>
<td width="25">
! <a href="{$first}"><img
src="{$nextmatchs_img_path}/first.png" border="0"/></a>
</td>
</xsl:when>
<xsl:otherwise>
<td width="25">
! <img
src="{$nextmatchs_img_path}/first-grey.png" border="0"/>
</td>
</xsl:otherwise>
--- 40,49 ----
<xsl:variable name="first"><xsl:value-of
select="nextmatchs_url"/>&start=0</xsl:variable>
<td width="25">
! <a href="{$first}"><img
src="{$first_img}" border="0" alt="{$title_first}" title="{$title_first}"/></a>
</td>
</xsl:when>
<xsl:otherwise>
<td width="25">
! <img src="{$first_grey_img}"
border="0"/>
</td>
</xsl:otherwise>
***************
*** 38,42 ****
<xsl:variable
name="prev"><xsl:value-of select="nextmatchs_url"/>&start=<xsl:value-of
select="number($prev_number) - number(1)"/></xsl:variable>
<td
width="25">
!
<a href="{$prev}"><img src="{$nextmatchs_img_path}/left.png" border="2"/></a>
</td>
</xsl:when>
--- 60,64 ----
<xsl:variable
name="prev"><xsl:value-of select="nextmatchs_url"/>&start=<xsl:value-of
select="number($prev_number) - number(1)"/></xsl:variable>
<td
width="25">
!
<a href="{$prev}"><img src="{$left_img}" border="0" alt="{$title_previous}"
title="{$title_previous}"/></a>
</td>
</xsl:when>
***************
*** 44,48 ****
<xsl:variable
name="prev"><xsl:value-of select="nextmatchs_url"/>&start=0</xsl:variable>
<td
width="25">
!
<a href="{$prev}"><img src="{$nextmatchs_img_path}/left-grey.png"
border="0"/></a>
</td>
</xsl:otherwise>
--- 66,70 ----
<xsl:variable
name="prev"><xsl:value-of select="nextmatchs_url"/>&start=0</xsl:variable>
<td
width="25">
!
<a href="{$prev}"><img src="{$left_grey_img}" border="0"/></a>
</td>
</xsl:otherwise>
***************
*** 51,55 ****
<xsl:otherwise>
<td width="25">
! <img
src="{$nextmatchs_img_path}/left-grey.png" border="0"/>
</td>
</xsl:otherwise>
--- 73,77 ----
<xsl:otherwise>
<td width="25">
! <img
src="{$left_grey_img}" border="0"/>
</td>
</xsl:otherwise>
***************
*** 58,62 ****
<xsl:otherwise>
<td width="25">
! <img
src="{$nextmatchs_img_path}/left-grey.png" border="0"/>
</td>
</xsl:otherwise>
--- 80,84 ----
<xsl:otherwise>
<td width="25">
! <img src="{$left_grey_img}"
border="0"/>
</td>
</xsl:otherwise>
***************
*** 92,101 ****
<xsl:variable
name="next"><xsl:value-of select="nextmatchs_url"/>&start=<xsl:value-of
select="number($next_num) - number(1)"/></xsl:variable>
<td width="25"
align="right">
! <a
href="{$next}"><img src="{$nextmatchs_img_path}/right.png" border="0"/></a>
</td>
</xsl:when>
<xsl:otherwise>
<td width="25"
align="right">
! <img
src="{$nextmatchs_img_path}/right-grey.png" border="0"/>
</td>
</xsl:otherwise>
--- 114,123 ----
<xsl:variable
name="next"><xsl:value-of select="nextmatchs_url"/>&start=<xsl:value-of
select="number($next_num) - number(1)"/></xsl:variable>
<td width="25"
align="right">
! <a
href="{$next}"><img src="{$right_img}" border="0" alt="{$title_next}"
title="{$title_next}"/></a>
</td>
</xsl:when>
<xsl:otherwise>
<td width="25"
align="right">
! <img
src="{$right_grey_img}" border="0"/>
</td>
</xsl:otherwise>
***************
*** 104,108 ****
<xsl:otherwise>
<td width="25" align="right">
! <img
src="{$nextmatchs_img_path}/right-grey.png" border="0"/>
</td>
</xsl:otherwise>
--- 126,130 ----
<xsl:otherwise>
<td width="25" align="right">
! <img src="{$right_grey_img}"
border="0"/>
</td>
</xsl:otherwise>
***************
*** 116,125 ****
<xsl:variable
name="last"><xsl:value-of select="nextmatchs_url"/>&start=<xsl:value-of
select="number($last_num)-number(1)"/></xsl:variable>
<td width="25"
align="right">
! <a
href="{$last}"><img src="{$nextmatchs_img_path}/last-grey.png" border="0"/></a>
</td>
</xsl:when>
<xsl:otherwise>
<td width="25"
align="right">
! <img
src="{$nextmatchs_img_path}/last-grey.png" border="0"/>
</td>
</xsl:otherwise>
--- 138,147 ----
<xsl:variable
name="last"><xsl:value-of select="nextmatchs_url"/>&start=<xsl:value-of
select="number($last_num)-number(1)"/></xsl:variable>
<td width="25"
align="right">
! <a
href="{$last}"><img src="{$last_img}" border="0" alt="{$title_last}"
title="{$title_last}"/></a>
</td>
</xsl:when>
<xsl:otherwise>
<td width="25"
align="right">
! <img
src="{$last_grey_img}" border="0"/>
</td>
</xsl:otherwise>
***************
*** 128,149 ****
<xsl:otherwise>
<td width="25" align="right">
! <img
src="{$nextmatchs_img_path}/last-grey.png" border="0"/>
</td>
</xsl:otherwise>
</xsl:choose>
!
<xsl:choose>
! <xsl:when test="number($all_records) =1">
<xsl:variable name="all"><xsl:value-of
select="nextmatchs_url"/>&start=0</xsl:variable>
<td width="25" align="right">
! <a href="{$all}"><img
src="{$nextmatchs_img_path}/down_nm.png" border="0"/></a>
</td>
</xsl:when>
! <xsl:otherwise>
<xsl:variable name="all"><xsl:value-of
select="nextmatchs_url"/>&allrows=1</xsl:variable>
<td width="25" align="right">
! <a href="{$all}"><img
src="{$nextmatchs_img_path}/down_nm.png" border="0"/></a>
</td>
! </xsl:otherwise>
</xsl:choose>
</tr>
--- 150,172 ----
<xsl:otherwise>
<td width="25" align="right">
! <img src="{$last_grey_img}"
border="0"/>
</td>
</xsl:otherwise>
</xsl:choose>
!
<xsl:choose>
! <!--<xsl:when test="number($all_records) =1"> -->
! <xsl:when test="allow_all_rows != ''">
<xsl:variable name="all"><xsl:value-of
select="nextmatchs_url"/>&start=0</xsl:variable>
<td width="25" align="right">
! <a href="{$all}"><img
src="{$all_img}" border="0" alt="{$title_all}" title="{$title_all}"/></a>
</td>
</xsl:when>
! <!-- <xsl:otherwise>
<xsl:variable name="all"><xsl:value-of
select="nextmatchs_url"/>&allrows=1</xsl:variable>
<td width="25" align="right">
! <a href="{$all}"><img
src="{$all_img}" border="0"/></a>
</td>
! </xsl:otherwise> -->
</xsl:choose>
</tr>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/templates/default nextmatchs.xsl, 1.6, 1.7,
Bettina Gille <address@hidden> <=