phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/templates/default nextmatchs.xsl,1.1,1.


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/templates/default nextmatchs.xsl,1.1,1.2
Date: Sat, 05 Oct 2002 22:45:23 -0400

Update of /cvsroot/phpgroupware/phpgwapi/templates/default
In directory subversions:/tmp/cvs-serv1837

Modified Files:
        nextmatchs.xsl 
Log Message:
update nextmatchs

Index: nextmatchs.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/templates/default/nextmatchs.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** nextmatchs.xsl      6 Oct 2002 01:25:15 -0000       1.1
--- nextmatchs.xsl      6 Oct 2002 02:45:21 -0000       1.2
***************
*** 14,18 ****
                        <xsl:choose>
                                <xsl:when test="number($cur_record) > 
number(1)">
!                               <xsl:variable name="first"><xsl:value-of 
select="nextmatchs_params/link_url"/>&amp;currow=1</xsl:variable>
                                        <td width="25">
                                                <a href="{$first}"><img 
src="{$img_path}/first-grey.png" border="2" width="12" height="12"/></a>
--- 14,18 ----
                        <xsl:choose>
                                <xsl:when test="number($cur_record) > 
number(1)">
!                               <xsl:variable name="first"><xsl:value-of 
select="link_url"/>&amp;currow=1</xsl:variable>
                                        <td width="25">
                                                <a href="{$first}"><img 
src="{$img_path}/first-grey.png" border="2" width="12" height="12"/></a>
***************
*** 34,38 ****
                                                                <xsl:when 
test="number($cur_record) - number($record_limit) > number(0)">
                                                                <xsl:variable 
name="prev_number"><xsl:value-of select="number($cur_record) - 
number($record_limit)"/></xsl:variable>
!                                                               <xsl:variable 
name="prev"><xsl:value-of 
select="nextmatchs_params/link_url"/>&amp;currow=<xsl:value-of 
select="$prev_number"/></xsl:variable>
                                                                        <td 
width="25">
                                                                                
<a href="{$prev}"><img src="{$img_path}/left-grey.png" border="2" width="12" 
height="12"/></a>
--- 34,38 ----
                                                                <xsl:when 
test="number($cur_record) - number($record_limit) > number(0)">
                                                                <xsl:variable 
name="prev_number"><xsl:value-of select="number($cur_record) - 
number($record_limit)"/></xsl:variable>
!                                                               <xsl:variable 
name="prev"><xsl:value-of select="link_url"/>&amp;currow=<xsl:value-of 
select="$prev_number"/></xsl:variable>
                                                                        <td 
width="25">
                                                                                
<a href="{$prev}"><img src="{$img_path}/left-grey.png" border="2" width="12" 
height="12"/></a>
***************
*** 40,44 ****
                                                                </xsl:when>
                                                                <xsl:otherwise>
!                                                               <xsl:variable 
name="prev"><xsl:value-of 
select="nextmatchs_params/link_url"/>&amp;currow=1</xsl:variable>
                                                                        <td 
width="25">
                                                                                
<a href="{$prev}"><img src="{$img_path}/left-grey.png" border="2" width="12" 
height="12"/></a>
--- 40,44 ----
                                                                </xsl:when>
                                                                <xsl:otherwise>
!                                                               <xsl:variable 
name="prev"><xsl:value-of select="link_url"/>&amp;currow=1</xsl:variable>
                                                                        <td 
width="25">
                                                                                
<a href="{$prev}"><img src="{$img_path}/left-grey.png" border="2" width="12" 
height="12"/></a>
***************
*** 88,92 ****
                                        <xsl:choose>
                                                <xsl:when 
test="number($num_records) > number($next_num)-number(1)">
!                                               <xsl:variable 
name="next"><xsl:value-of 
select="nextmatchs_params/link_url"/>&amp;currow=<xsl:value-of 
select="$next_num"/></xsl:variable>
                                                        <td width="25" 
align="right">
                                                                <a 
href="{$next}"><img src="{$img_path}/right-grey.png" border="2" width="12" 
height="12"/></a>
--- 88,92 ----
                                        <xsl:choose>
                                                <xsl:when 
test="number($num_records) > number($next_num)-number(1)">
!                                               <xsl:variable 
name="next"><xsl:value-of select="link_url"/>&amp;currow=<xsl:value-of 
select="$next_num"/></xsl:variable>
                                                        <td width="25" 
align="right">
                                                                <a 
href="{$next}"><img src="{$img_path}/right-grey.png" border="2" width="12" 
height="12"/></a>
***************
*** 112,116 ****
                                        <xsl:choose>
                                                <xsl:when 
test="number($last_num) > number($cur_record)">
!                                               <xsl:variable 
name="last"><xsl:value-of 
select="nextmatchs_params/link_url"/>&amp;currow=<xsl:value-of 
select="$last_num"/></xsl:variable>
                                                        <td width="25" 
align="right">
                                                                <a 
href="{$last}"><img src="{$img_path}/last-grey.png" border="2" width="12" 
height="12"/></a>
--- 112,116 ----
                                        <xsl:choose>
                                                <xsl:when 
test="number($last_num) > number($cur_record)">
!                                               <xsl:variable 
name="last"><xsl:value-of select="link_url"/>&amp;currow=<xsl:value-of 
select="$last_num"/></xsl:variable>
                                                        <td width="25" 
align="right">
                                                                <a 
href="{$last}"><img src="{$img_path}/last-grey.png" border="2" width="12" 
height="12"/></a>
***************
*** 133,137 ****
                        <xsl:choose>
                                <xsl:when test="number($all_records) =1">
!                               <xsl:variable name="all"><xsl:value-of 
select="nextmatchs_params/link_url"/>&amp;currow=1</xsl:variable>
                                        <td width="25" align="right">
                                                <a href="{$all}"><img 
src="{$img_path}/arrow_down.png" border="2" width="12" height="12"/></a>
--- 133,137 ----
                        <xsl:choose>
                                <xsl:when test="number($all_records) =1">
!                               <xsl:variable name="all"><xsl:value-of 
select="link_url"/>&amp;currow=1</xsl:variable>
                                        <td width="25" align="right">
                                                <a href="{$all}"><img 
src="{$img_path}/arrow_down.png" border="2" width="12" height="12"/></a>
***************
*** 139,143 ****
                                </xsl:when>
                                <xsl:otherwise>
!                               <xsl:variable name="all"><xsl:value-of 
select="nextmatchs_params/link_url"/>&amp;allrows=1</xsl:variable>
                                        <td width="25" align="right">
                                                <a href="{$all}"><img 
src="{$img_path}/arrow_down.png" border="2" width="12" height="12"/></a>
--- 139,143 ----
                                </xsl:when>
                                <xsl:otherwise>
!                               <xsl:variable name="all"><xsl:value-of 
select="link_url"/>&amp;allrows=1</xsl:variable>
                                        <td width="25" align="right">
                                                <a href="{$all}"><img 
src="{$img_path}/arrow_down.png" border="2" width="12" height="12"/></a>





reply via email to

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