phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/templates/default help.xsl,1.2,1.3 next


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/templates/default help.xsl,1.2,1.3 nextmatchs.xsl,1.2,1.3 phpgw_header.xsl,1.1,1.2
Date: Wed, 04 Dec 2002 19:16:29 -0500

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

Modified Files:
        help.xsl nextmatchs.xsl phpgw_header.xsl 
Log Message:
removed pix

Index: help.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/templates/default/help.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** help.xsl    30 Nov 2002 01:56:08 -0000      1.2
--- help.xsl    5 Dec 2002 00:16:27 -0000       1.3
***************
*** 2,22 ****
  
        <xsl:template name="help">
!               <xsl:apply-templates select="help_data"/>
        </xsl:template>
  
!       <xsl:template match="help_data">
                <table cellpadding="0" cellspacing="0" width="100%">
                        <tr class="th">
!                               <td class="th_text">
!                                       <xsl:value-of 
disable-output-escaping="yes" select="space"/>
!                                       <xsl:value-of select="title"/>
                                </td>
                                <td valign="middle" align="right">
!                                       <xsl:apply-templates 
select="control_link"/>
                                </td>
                        </tr>
                        <tr>
                                <td colspan="2">
!                                       <table cellpadding="3" cellspacing="0" 
class="portal">
                                                <xsl:choose>
                                                        <xsl:when test="listbox 
!= ''">
--- 2,28 ----
  
        <xsl:template name="help">
!               <xsl:apply-templates select="help_values"/>
        </xsl:template>
  
!       <xsl:template match="help_values">
!               <xsl:variable name="img" select="img"/>
                <table cellpadding="0" cellspacing="0" width="100%">
                        <tr class="th">
!                               <td class="th_text" valign="middle">
!                                       <img src="{$img}" border="0"/>&nbsp;
!                                       <xsl:value-of select="title"/>&nbsp;
!                                       <xsl:value-of 
select="lang_version"/>:&nbsp;<xsl:value-of select="version"/>
                                </td>
                                <td valign="middle" align="right">
!                                       <xsl:choose>
!                                               <xsl:when test="control_link != 
''">
!                                                       <xsl:apply-templates 
select="control_link"/>
!                                               </xsl:when>
!                                       </xsl:choose>
                                </td>
                        </tr>
                        <tr>
                                <td colspan="2">
!                                       <table cellpadding="3" cellspacing="0" 
class="row_on" width="100%">
                                                <xsl:choose>
                                                        <xsl:when test="listbox 
!= ''">
***************
*** 38,45 ****
                                                                </tr>
                                                        </xsl:when>
!                                                       <xsl:when 
test="xextrabox != ''">
                                                                <tr>
                                                                        <td>
!                                                                               
<xsl:call-template name="extrabox"/>
                                                                        </td>
                                                                </tr>
--- 44,51 ----
                                                                </tr>
                                                        </xsl:when>
!                                                       <xsl:when test="xhelp 
!= ''">
                                                                <tr>
                                                                        <td>
!                                                                               
<xsl:call-template name="help_data"/>
                                                                        </td>
                                                                </tr>

Index: nextmatchs.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/templates/default/nextmatchs.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** nextmatchs.xsl      6 Oct 2002 02:45:21 -0000       1.2
--- nextmatchs.xsl      5 Dec 2002 00:16:27 -0000       1.3
***************
*** 3,7 ****
  <xsl:template name="nextmatchs">
  <!--  <xsl:param name="nextmatchs_params"/> -->
!       <xsl:variable name="cur_record"><xsl:value-of 
select="cur_record"/></xsl:variable>
        <xsl:variable name="record_limit"><xsl:value-of 
select="record_limit"/></xsl:variable>
        <xsl:variable name="num_records"><xsl:value-of 
select="num_records"/></xsl:variable>
--- 3,9 ----
  <xsl:template name="nextmatchs">
  <!--  <xsl:param name="nextmatchs_params"/> -->
!       <xsl:variable name="allow_all_rows"><xsl:value-of 
select="allow_all_rows"/></xsl:variable>
!       <xsl:variable name="start_record"><xsl:value-of 
select="start_record"/></xsl:variable>
!       <xsl:variable name="cur_record"><xsl:value-of 
select="number($start_record) + number(1)"/></xsl:variable>
        <xsl:variable name="record_limit"><xsl:value-of 
select="record_limit"/></xsl:variable>
        <xsl:variable name="num_records"><xsl:value-of 
select="num_records"/></xsl:variable>
***************
*** 14,20 ****
                        <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>
                                        </td>
                                </xsl:when>
--- 16,22 ----
                        <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>
***************
*** 34,44 ****
                                                                <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>
                                                                        </td>
                                                                </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>
--- 36,46 ----
                                                                <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>
***************
*** 68,74 ****
                                        <xsl:choose>
                                                <xsl:when 
test="number($cur_record) + number($record_limit) > number($num_records)">
!                                               <xsl:variable 
name="of_num"><xsl:value-of select="$num_records"/></xsl:variable>
                                                        <td nowrap="nowrap" 
align="center">
!                                                               <xsl:value-of 
select="$cur_record"/> - <xsl:value-of select="$of_num"/> of <xsl:value-of 
select="$num_records"/>&#160;
                                                        </td>
                                                </xsl:when>
--- 70,76 ----
                                        <xsl:choose>
                                                <xsl:when 
test="number($cur_record) + number($record_limit) > number($num_records)">
!                                               <xsl:variable 
name="of_num"><xsl:value-of select="number($cur_record)+number($num_records) - 
number(1)"/></xsl:variable>
                                                        <td nowrap="nowrap" 
align="center">
!                                                               <xsl:value-of 
select="$cur_record"/> - <xsl:value-of select="$of_num"/> of <xsl:value-of 
select="$all_records"/>&#160;
                                                        </td>
                                                </xsl:when>
***************
*** 76,80 ****
                                                <xsl:variable 
name="of_num"><xsl:value-of select="number($cur_record) + number($record_limit) 
- number(1)"/></xsl:variable>
                                                        <td nowrap="nowrap" 
align="center">
!                                                               <xsl:value-of 
select="$cur_record"/> - <xsl:value-of select="$of_num"/> of <xsl:value-of 
select="$num_records"/>&#160;
                                                        </td>
                                                </xsl:otherwise>
--- 78,82 ----
                                                <xsl:variable 
name="of_num"><xsl:value-of select="number($cur_record) + number($record_limit) 
- number(1)"/></xsl:variable>
                                                        <td nowrap="nowrap" 
align="center">
!                                                               <xsl:value-of 
select="$cur_record"/> - <xsl:value-of select="$of_num"/> of <xsl:value-of 
select="$all_records"/>&#160;
                                                        </td>
                                                </xsl:otherwise>
***************
*** 84,94 ****
                        
                        <xsl:choose>
!                               <xsl:when test="number($num_records) > 
number($record_limit)">
                                <xsl:variable name="next_num"><xsl:value-of 
select="number($cur_record) + number($record_limit)"/></xsl:variable>
                                        <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>
                                                        </td>
                                                </xsl:when>
--- 86,96 ----
                        
                        <xsl:choose>
!                               <xsl:when test="number($all_records) > 
(number($start_record) + number($record_limit))">
                                <xsl:variable name="next_num"><xsl:value-of 
select="number($cur_record) + number($record_limit)"/></xsl:variable>
                                        <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>
***************
*** 108,116 ****
  
                        <xsl:choose>
!                               <xsl:when test="number($num_records) > 
number($record_limit)">
!                               <xsl:variable name="last_num"><xsl:value-of 
select="number($num_records)-number($record_limit)+number(1)"/></xsl:variable>
                                        <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>
--- 110,118 ----
  
                        <xsl:choose>
!                               <xsl:when test="number($all_records) > 
(number($start_record) + number($record_limit))">
!                               <xsl:variable name="last_num"><xsl:value-of 
select="number($all_records)-number($record_limit)+number(1)"/></xsl:variable>
                                        <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>
***************
*** 133,139 ****
                        <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>
                                        </td>
                                </xsl:when>
--- 135,141 ----
                        <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>
***************
*** 141,145 ****
                                <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>
                                        </td>
                                </xsl:otherwise>
--- 143,147 ----
                                <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>

Index: phpgw_header.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/templates/default/phpgw_header.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** phpgw_header.xsl    30 Nov 2002 01:31:29 -0000      1.1
--- phpgw_header.xsl    5 Dec 2002 00:16:27 -0000       1.2
***************
*** 23,31 ****
                                        <tr valign="top" width="100%">
                                                <td>
!                                                       <xsl:choose>
!                                                               <xsl:when 
test="$current_app = 'help'">
                                                                        
<xsl:call-template name="help"/>
!                                                               </xsl:when>
!                                                       </xsl:choose>
                                                </td>
                                        </tr>
--- 23,31 ----
                                        <tr valign="top" width="100%">
                                                <td>
!                                                       <!-- <xsl:choose>
!                                                               <xsl:when 
test="$current_app = 'help'"> -->
                                                                        
<xsl:call-template name="help"/>
!                                                               <!-- </xsl:when>
!                                                       </xsl:choose> -->
                                                </td>
                                        </tr>





reply via email to

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