phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/templates/default portal.xsl,1.10,1.11


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/templates/default portal.xsl,1.10,1.11
Date: Thu, 24 Oct 2002 23:04:30 -0400

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

Modified Files:
        portal.xsl 
Log Message:
update to use xslt *** HEAD IS CURRENTLY BROKEN ***

Index: portal.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/templates/default/portal.xsl,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** portal.xsl  6 Oct 2002 22:28:41 -0000       1.10
--- portal.xsl  25 Oct 2002 03:04:28 -0000      1.11
***************
*** 1,49 ****
  <!-- $Id$ -->
  
!       <xsl:template match="portal">
!                       <table cellpadding="0" cellspacing="0" class="portal">
!                               <tr>
!                                       <td class="portal_text">
!                                               <xsl:value-of 
disable-output-escaping="yes" select="space"/>
!                                               <xsl:value-of select="title"/>
!                                       </td>
!                                       <td valign="middle" align="right" 
class="portal_text">
!                                               <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">
!                                                                       <tr>
!                                                                               
<td>
!                                                                               
        <ul>
!                                                                               
                <xsl:apply-templates select="listbox"/>
!                                                                               
        </ul>
!                                                                               
</td>
!                                                                       </tr>
!                                                               </xsl:when>
!                                                       </xsl:choose>
!                                                       <xsl:choose>
!                                                               <xsl:when 
test="extrabox">
!                                                                       <tr>
!                                                                               
<td>
!                                                                               
        <xsl:value-of disable-output-escaping="yes" select="extrabox"/>
!                                                                               
</td>
!                                                                       </tr>
!                                                               </xsl:when>
!                                                               <xsl:when 
test="xextrabox">
!                                                                       <tr>
!                                                                               
<td>
!                                                                               
        <xsl:call-template name="extrabox"/>
!                                                                               
</td>
!                                                                       </tr>
!                                                               </xsl:when>
!                                                       </xsl:choose>
!                                               </table>
!                                       </td>
!                               </tr>
!                       </table>
        </xsl:template>
  
--- 1,53 ----
  <!-- $Id$ -->
  
!       <xsl:template name="portal">
!               <xsl:apply-templates select="portal_data"/>
!       </xsl:template>
! 
!       <xsl:template match="portal_data">
!               <table cellpadding="0" cellspacing="0" class="portal">
!                       <tr>
!                               <td class="portal_text">
!                                       <xsl:value-of 
disable-output-escaping="yes" select="space"/>
!                                       <xsl:value-of select="title"/>
!                               </td>
!                               <td valign="middle" align="right" 
class="portal_text">
!                                       <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">
!                                                               <tr>
!                                                                       <td>
!                                                                               
<ul>
!                                                                               
        <xsl:apply-templates select="listbox"/>
!                                                                               
</ul>
!                                                                       </td>
!                                                               </tr>
!                                                       </xsl:when>
!                                               </xsl:choose>
!                                               <xsl:choose>
!                                                       <xsl:when 
test="extrabox">
!                                                               <tr>
!                                                                       <td>
!                                                                               
<xsl:value-of disable-output-escaping="yes" select="extrabox"/>
!                                                                       </td>
!                                                               </tr>
!                                                       </xsl:when>
!                                                       <xsl:when 
test="xextrabox">
!                                                               <tr>
!                                                                       <td>
!                                                                               
<xsl:call-template name="extrabox"/>
!                                                                       </td>
!                                                               </tr>
!                                                       </xsl:when>
!                                               </xsl:choose>
!                                       </table>
!                               </td>
!                       </tr>
!               </table>
        </xsl:template>
  





reply via email to

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