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.3,1.


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/templates/default nextmatchs.xsl,1.3,1.4 search_field.xsl,1.4,1.5
Date: Sat, 19 Apr 2003 18:23:26 -0400

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

Modified Files:
        nextmatchs.xsl search_field.xsl 
Log Message:
added css entry for alarm

Index: nextmatchs.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/templates/default/nextmatchs.xsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** nextmatchs.xsl      5 Dec 2002 00:16:27 -0000       1.3
--- nextmatchs.xsl      19 Apr 2003 22:23:23 -0000      1.4
***************
*** 9,14 ****
        <xsl:variable name="num_records"><xsl:value-of 
select="num_records"/></xsl:variable>
        <xsl:variable name="all_records"><xsl:value-of 
select="all_records"/></xsl:variable>
!       <xsl:variable name="link_url"><xsl:value-of 
select="link_url"/></xsl:variable>
!       <xsl:variable name="img_path"><xsl:value-of 
select="img_path"/></xsl:variable>
  
        <table border="0" width="100%">
--- 9,14 ----
        <xsl:variable name="num_records"><xsl:value-of 
select="num_records"/></xsl:variable>
        <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%">
***************
*** 16,27 ****
                        <xsl:choose>
                                <xsl:when test="number($cur_record) > 
number(1)">
!                               <xsl:variable name="first"><xsl:value-of 
select="link_url"/>&amp;start=0</xsl:variable>
                                        <td width="25">
!                                               <a href="{$first}"><img 
src="{$img_path}/first.png" border="2" width="12" height="12"/></a>
                                        </td>
                                </xsl:when>
                                <xsl:otherwise>
                                        <td width="25">
!                                               <img 
src="{$img_path}/first-grey.png" border="2" width="12" height="12"/>
                                        </td>
                                </xsl:otherwise>
--- 16,27 ----
                        <xsl:choose>
                                <xsl:when test="number($cur_record) > 
number(1)">
!                               <xsl:variable name="first"><xsl:value-of 
select="nextmatchs_url"/>&amp;start=0</xsl:variable>
                                        <td width="25">
!                                               <a href="{$first}"><img 
src="{$nextmatchs_img_path}/first.png" border="2" width="12" height="12"/></a>
                                        </td>
                                </xsl:when>
                                <xsl:otherwise>
                                        <td width="25">
!                                               <img 
src="{$nextmatchs_img_path}/first-grey.png" border="2" width="12" height="12"/>
                                        </td>
                                </xsl:otherwise>
***************
*** 36,48 ****
                                                                <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;start=<xsl:value-of 
select="number($prev_number) - number(1)"/></xsl:variable>
                                                                        <td 
width="25">
!                                                                               
<a href="{$prev}"><img src="{$img_path}/left.png" border="2" width="12" 
height="12"/></a>
                                                                        </td>
                                                                </xsl:when>
                                                                <xsl:otherwise>
!                                                               <xsl:variable 
name="prev"><xsl:value-of select="link_url"/>&amp;start=0</xsl:variable>
                                                                        <td 
width="25">
!                                                                               
<a href="{$prev}"><img src="{$img_path}/left-grey.png" border="2" width="12" 
height="12"/></a>
                                                                        </td>
                                                                </xsl:otherwise>
--- 36,48 ----
                                                                <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_url"/>&amp;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" 
width="12" height="12"/></a>
                                                                        </td>
                                                                </xsl:when>
                                                                <xsl:otherwise>
!                                                               <xsl:variable 
name="prev"><xsl:value-of select="nextmatchs_url"/>&amp;start=0</xsl:variable>
                                                                        <td 
width="25">
!                                                                               
<a href="{$prev}"><img src="{$nextmatchs_img_path}/left-grey.png" border="2" 
width="12" height="12"/></a>
                                                                        </td>
                                                                </xsl:otherwise>
***************
*** 51,55 ****
                                                <xsl:otherwise>
                                                        <td width="25">
!                                                               <img 
src="{$img_path}/left-grey.png" border="2" width="12" height="12"/>
                                                        </td>
                                                </xsl:otherwise>
--- 51,55 ----
                                                <xsl:otherwise>
                                                        <td width="25">
!                                                               <img 
src="{$nextmatchs_img_path}/left-grey.png" border="2" width="12" height="12"/>
                                                        </td>
                                                </xsl:otherwise>
***************
*** 58,62 ****
                                <xsl:otherwise>
                                        <td width="25">
!                                               <img 
src="{$img_path}/left-grey.png" border="2" width="12" height="12"/>
                                        </td>
                                </xsl:otherwise>
--- 58,62 ----
                                <xsl:otherwise>
                                        <td width="25">
!                                               <img 
src="{$nextmatchs_img_path}/left-grey.png" border="2" width="12" height="12"/>
                                        </td>
                                </xsl:otherwise>
***************
*** 90,101 ****
                                        <xsl:choose>
                                                <xsl:when 
test="number($all_records) > number($next_num)-number(1)">
!                                               <xsl:variable 
name="next"><xsl:value-of select="link_url"/>&amp;start=<xsl:value-of 
select="number($next_num) - number(1)"/></xsl:variable>
                                                        <td width="25" 
align="right">
!                                                               <a 
href="{$next}"><img src="{$img_path}/right.png" border="2" width="12" 
height="12"/></a>
                                                        </td>
                                                </xsl:when>
                                                <xsl:otherwise>
                                                        <td width="25" 
align="right">
!                                                               <img 
src="{$img_path}/right-grey.png" border="2" width="12" height="12"/>
                                                        </td>
                                                </xsl:otherwise>
--- 90,101 ----
                                        <xsl:choose>
                                                <xsl:when 
test="number($all_records) > number($next_num)-number(1)">
!                                               <xsl:variable 
name="next"><xsl:value-of select="nextmatchs_url"/>&amp;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="2" 
width="12" height="12"/></a>
                                                        </td>
                                                </xsl:when>
                                                <xsl:otherwise>
                                                        <td width="25" 
align="right">
!                                                               <img 
src="{$nextmatchs_img_path}/right-grey.png" border="2" width="12" height="12"/>
                                                        </td>
                                                </xsl:otherwise>
***************
*** 104,108 ****
                                <xsl:otherwise>
                                        <td width="25" align="right">
!                                               <img 
src="{$img_path}/right-grey.png" border="2" width="12" height="12"/>
                                        </td>
                                </xsl:otherwise>
--- 104,108 ----
                                <xsl:otherwise>
                                        <td width="25" align="right">
!                                               <img 
src="{$nextmatchs_img_path}/right-grey.png" border="2" width="12" height="12"/>
                                        </td>
                                </xsl:otherwise>
***************
*** 114,125 ****
                                        <xsl:choose>
                                                <xsl:when 
test="number($last_num) > number($cur_record)">
!                                               <xsl:variable 
name="last"><xsl:value-of select="link_url"/>&amp;start=<xsl:value-of 
select="number($last_num)-number(1)"/></xsl:variable>
                                                        <td width="25" 
align="right">
!                                                               <a 
href="{$last}"><img src="{$img_path}/last-grey.png" border="2" width="12" 
height="12"/></a>
                                                        </td>
                                                </xsl:when>
                                                <xsl:otherwise>
                                                        <td width="25" 
align="right">
!                                                               <img 
src="{$img_path}/last-grey.png" border="2" width="12" height="12"/>
                                                        </td>
                                                </xsl:otherwise>
--- 114,125 ----
                                        <xsl:choose>
                                                <xsl:when 
test="number($last_num) > number($cur_record)">
!                                               <xsl:variable 
name="last"><xsl:value-of select="nextmatchs_url"/>&amp;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="2" 
width="12" height="12"/></a>
                                                        </td>
                                                </xsl:when>
                                                <xsl:otherwise>
                                                        <td width="25" 
align="right">
!                                                               <img 
src="{$nextmatchs_img_path}/last-grey.png" border="2" width="12" height="12"/>
                                                        </td>
                                                </xsl:otherwise>
***************
*** 128,132 ****
                                <xsl:otherwise>
                                        <td width="25" align="right">
!                                               <img 
src="{$img_path}/last-grey.png" border="2" width="12" height="12"/>
                                        </td>
                                </xsl:otherwise>
--- 128,132 ----
                                <xsl:otherwise>
                                        <td width="25" align="right">
!                                               <img 
src="{$nextmatchs_img_path}/last-grey.png" border="2" width="12" height="12"/>
                                        </td>
                                </xsl:otherwise>
***************
*** 135,147 ****
                        <xsl:choose>
                                <xsl:when test="number($all_records) =1">
!                               <xsl:variable name="all"><xsl:value-of 
select="link_url"/>&amp;start=0</xsl:variable>
                                        <td width="25" align="right">
!                                               <a href="{$all}"><img 
src="{$img_path}/down_nm.png" border="2" width="12" height="12"/></a>
                                        </td>
                                </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}/down_nm.png" border="2" width="12" height="12"/></a>
                                        </td>
                                </xsl:otherwise>
--- 135,147 ----
                        <xsl:choose>
                                <xsl:when test="number($all_records) =1">
!                               <xsl:variable name="all"><xsl:value-of 
select="nextmatchs_url"/>&amp;start=0</xsl:variable>
                                        <td width="25" align="right">
!                                               <a href="{$all}"><img 
src="{$nextmatchs_img_path}/down_nm.png" border="2" width="12" height="12"/></a>
                                        </td>
                                </xsl:when>
                                <xsl:otherwise>
!                               <xsl:variable name="all"><xsl:value-of 
select="nextmatchs_url"/>&amp;allrows=1</xsl:variable>
                                        <td width="25" align="right">
!                                               <a href="{$all}"><img 
src="{$nextmatchs_img_path}/down_nm.png" border="2" width="12" height="12"/></a>
                                        </td>
                                </xsl:otherwise>

Index: search_field.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/templates/default/search_field.xsl,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** search_field.xsl    6 Oct 2002 18:04:05 -0000       1.4
--- search_field.xsl    19 Apr 2003 22:23:23 -0000      1.5
***************
*** 2,9 ****
  
        <xsl:template name="search_field">
!               <xsl:variable name="select_action"><xsl:value-of 
select="select_action"/></xsl:variable>
                <xsl:variable name="query"><xsl:value-of 
select="query"/></xsl:variable>
!               <xsl:variable name="lang_submit"><xsl:value-of 
select="lang_submit"/></xsl:variable>
!                       <form method="post" action="{$select_action}">
                                <input type="text" name="query" 
value="{$query}" onMouseout="window.status='';return true;">
                                        <xsl:attribute name="onMouseover">
--- 2,9 ----
  
        <xsl:template name="search_field">
!               <xsl:variable name="search_url"><xsl:value-of 
select="search_url"/></xsl:variable>
                <xsl:variable name="query"><xsl:value-of 
select="query"/></xsl:variable>
!               <xsl:variable name="lang_search"><xsl:value-of 
select="lang_search"/></xsl:variable>
!                       <form method="post" action="{$search_url}">
                                <input type="text" name="query" 
value="{$query}" onMouseout="window.status='';return true;">
                                        <xsl:attribute name="onMouseover">
***************
*** 14,18 ****
                                </input>
                                <xsl:text> </xsl:text>
!                               <input type="submit" name="submit" 
value="{$lang_submit}" onMouseout="window.status='';return true;"> 
                                        <xsl:attribute name="onMouseover">
                                                
<xsl:text>window.status='</xsl:text>
--- 14,18 ----
                                </input>
                                <xsl:text> </xsl:text>
!                               <input type="submit" name="submit" 
value="{$lang_search}" onMouseout="window.status='';return true;"> 
                                        <xsl:attribute name="onMouseover">
                                                
<xsl:text>window.status='</xsl:text>





reply via email to

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