phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/templates/default about.xsl,1.8,1.9 php


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/templates/default about.xsl,1.8,1.9 phpgw.xsl,1.6,1.7
Date: Sun, 27 Oct 2002 16:30:29 -0500

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

Modified Files:
        about.xsl phpgw.xsl 
Log Message:
update xslt

Index: about.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/templates/default/about.xsl,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** about.xsl   26 Oct 2002 20:28:37 -0000      1.8
--- about.xsl   27 Oct 2002 21:30:27 -0000      1.9
***************
*** 7,12 ****
        <xsl:template match="about_data">
                <table cellpadding="2" cellspacing="2" align="center" 
class="about">
!                       <xsl:variable name="phpgw_logo"><xsl:value-of 
select="phpgw_logo"/></xsl:variable>
!                       <xsl:variable name="lang_url_statustext"><xsl:value-of 
select="lang_url_statustext"/></xsl:variable>
                        <tr>
                                <td colspan="2">
--- 7,12 ----
        <xsl:template match="about_data">
                <table cellpadding="2" cellspacing="2" align="center" 
class="about">
!                       <xsl:variable name="phpgw_logo" select="phpgw_logo"/>
!                       <xsl:variable name="lang_url_statustext" 
select="lang_url_statustext"/>
                        <tr>
                                <td colspan="2">
***************
*** 25,29 ****
                        </tr>
                        <tr>
!                               <td>
                                        <xsl:value-of select="lang_version"/>
                                </td>
--- 25,29 ----
                        </tr>
                        <tr>
!                               <td width="20%">
                                        <xsl:value-of select="lang_version"/>
                                </td>
***************
*** 40,70 ****
  
        <xsl:template match="about_app">
                <tr>
                        <td colspan="2" class="th_text">
!                               <xsl:value-of select="app_title"/>
                        </td>
                </tr>
                <tr>
                        <td colspan="2">
!                               <xsl:value-of disable-output-escaping="yes" 
select="app_descr"/>
                        </td>
                </tr>
                <tr>
                        <td valign="top">
!                               <xsl:value-of select="lang_written_by"/>
!                       </td>
!                       <td>
!                               <xsl:value-of select="developers"/>
!                       </td>
!               </tr>
!               <tr valign="top">
!                       <td>
!                               <xsl:value-of select="lang_maintainer"/>
                        </td>
                        <td>
!                               <xsl:value-of select="app_maintainer"/><br/>
!                               <xsl:value-of disable-output-escaping="yes" 
select="app_maintainer_email"/>
                        </td>
                </tr>
                <tr>
                        <td>
--- 40,82 ----
  
        <xsl:template match="about_app">
+               <xsl:variable name="icon" select="icon"/>
                <tr>
                        <td colspan="2" class="th_text">
!                               <xsl:if test="icon != ''">
!                                       <img src="{$icon}"/>
!                               </xsl:if>
!                               <xsl:value-of select="title"/>
                        </td>
                </tr>
                <tr>
                        <td colspan="2">
!                               <xsl:value-of select="description"/>
                        </td>
                </tr>
+               <xsl:if test="note != ''">
+                       <tr>
+                               <td colspan="2">
+                                       <i><xsl:value-of select="note"/></i>
+                               </td>
+                       </tr>
+               </xsl:if>
                <tr>
                        <td valign="top">
!                               <xsl:value-of select="lang_author"/>
                        </td>
                        <td>
!                               <xsl:value-of select="author"/>
                        </td>
                </tr>
+               <xsl:if test="maintainer != ''">
+                       <tr>
+                               <td valign="top">
+                                       <xsl:value-of select="lang_maintainer"/>
+                               </td>
+                               <td>
+                                       <xsl:apply-templates 
select="maintainer"/>
+                               </td>
+                       </tr>
+               </xsl:if>
                <tr>
                        <td>
***************
*** 72,108 ****
                        </td>
                        <td>
!                               <xsl:value-of select="app_version"/>
                        </td>
                </tr>
!               <tr>
!                       <td>
!                               <xsl:value-of select="lang_license"/>
!                       </td>
!                       <td>
!                               <xsl:value-of select="app_license"/>
!                       </td>
!               </tr>
!               <xsl:choose>
!                       <xsl:when test="app_source">
!                               <tr>
!                                       <td valign="top"><xsl:value-of 
select="lang_based_on"/></td>
!                                       <td><xsl:value-of 
select="app_source"/></td>
!                               </tr>
!                       </xsl:when>
!               </xsl:choose>
!               <xsl:choose>
!                       <xsl:when test="app_source_url">
!                               <tr>
!                                       <td height="5"></td>
!                                       <td>
!                                               <a target="_blank">
!                                                       <xsl:attribute 
name="href">
!                                                               <xsl:value-of 
select="app_source_url"/>
!                                                       </xsl:attribute>
!                                                       <xsl:value-of 
select="app_source_url_name"/>
!                                               </a>
!                                       </td>
!                               </tr>
!                       </xsl:when>
!               </xsl:choose>
        </xsl:template>
--- 84,127 ----
                        </td>
                        <td>
!                               <xsl:value-of select="version"/>
                        </td>
                </tr>
!               <xsl:if test="license != ''">
!                       <tr>
!                               <td>
!                                       <xsl:value-of select="lang_license"/>
!                               </td>
!                               <td>
!                                       <xsl:value-of select="license"/>
!                               </td>
!                       </tr>
!               </xsl:if>
!               <xsl:if test="based_on != ''">
!                       <tr>
!                               <td valign="top"><xsl:value-of 
select="lang_based_on"/></td>
!                               <td><xsl:value-of select="based_on"/></td>
!                       </tr>
!               </xsl:if>
!               <xsl:if test="based_on_url != ''">
!                       <tr>
!                               <td height="5"></td>
!                               <td>
!                                       <a target="_blank">
!                                               <xsl:attribute name="href">
!                                                       <xsl:value-of 
select="based_on_url"/>
!                                               </xsl:attribute>
!                                               <xsl:value-of 
select="based_on_url"/>
!                                       </a>
!                               </td>
!                       </tr>
!               </xsl:if>
!       </xsl:template>
! 
!       <xsl:template match="maintainer">
!       <xsl:variable name="email"><xsl:value-of select="email"/></xsl:variable>
!               <table>
!                       <tr>
!                               <td><xsl:value-of select="name"/><xsl:text> 
[</xsl:text><a href="mailto:{$email}";><xsl:value-of 
select="email"/></a><xsl:text>]</xsl:text></td>
!                       </tr>
!               </table>
        </xsl:template>

Index: phpgw.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/templates/default/phpgw.xsl,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** phpgw.xsl   27 Oct 2002 00:31:41 -0000      1.6
--- phpgw.xsl   27 Oct 2002 21:30:27 -0000      1.7
***************
*** 50,65 ****
                                                                </tr>
                                                                <tr 
width="100%">
!                                                                       <td 
width="33%" class="info"><xsl:value-of select="user_info_name"/></td>
                                                                                
<xsl:choose>
                                                                                
        <xsl:when test="current_users">
                                                                                
                <xsl:variable name="url_current_users"><xsl:value-of 
select="url_current_users"/></xsl:variable>
!                                                                               
                <td width="33%" class="info"><a 
href="{$url_current_users}"><xsl:value-of select="current_users"/></a></td>
                                                                                
        </xsl:when>
                                                                                
        <xsl:otherwise>
!                                                                               
                <td width="33%"></td>
                                                                                
        </xsl:otherwise>
                                                                                
</xsl:choose>
!                                                                       <td 
width="33%" class="info" align="right"><xsl:value-of 
select="user_info_date"/></td>
!                                                                       <td>
                                                                                
<table cellspacing="0" cellpadding="0" align="right">
                                                                                
        <tr>
--- 50,65 ----
                                                                </tr>
                                                                <tr 
width="100%">
!                                                                       <td 
width="25%" class="info"><xsl:value-of select="user_info_name"/></td>
                                                                                
<xsl:choose>
                                                                                
        <xsl:when test="current_users">
                                                                                
                <xsl:variable name="url_current_users"><xsl:value-of 
select="url_current_users"/></xsl:variable>
!                                                                               
                <td width="25%" class="info"><a 
href="{$url_current_users}"><xsl:value-of select="current_users"/></a></td>
                                                                                
        </xsl:when>
                                                                                
        <xsl:otherwise>
!                                                                               
                <td width="25%"></td>
                                                                                
        </xsl:otherwise>
                                                                                
</xsl:choose>
!                                                                       <td 
class="info" width="25%" align="right"><xsl:value-of 
select="user_info_date"/></td>
!                                                                       <td 
width="25%">
                                                                                
<table cellspacing="0" cellpadding="0" align="right">
                                                                                
        <tr>





reply via email to

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