phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/templates/default phpgw.xsl,1.7,1.8


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/templates/default phpgw.xsl,1.7,1.8
Date: Sun, 27 Oct 2002 22:01:03 -0500

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

Modified Files:
        phpgw.xsl 
Log Message:
update xslt

Index: phpgw.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/templates/default/phpgw.xsl,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** phpgw.xsl   27 Oct 2002 21:30:27 -0000      1.7
--- phpgw.xsl   28 Oct 2002 03:01:01 -0000      1.8
***************
*** 2,23 ****
  
        <xsl:template match="phpgw">
!       <xsl:variable name="phpgw_css_file"><xsl:value-of 
select="phpgw_css_file"/></xsl:variable>
!       <xsl:variable name="theme_css_file"><xsl:value-of 
select="theme_css_file"/></xsl:variable>
!       <xsl:variable name="charset"><xsl:value-of 
select="charset"/></xsl:variable>
!       <xsl:variable name="onload"><xsl:value-of 
select="onload"/></xsl:variable>
!       <xsl:variable name="home_link"><xsl:value-of 
select="home_link"/></xsl:variable>
!       <xsl:variable name="prefs_link"><xsl:value-of 
select="prefs_link"/></xsl:variable>
!       <xsl:variable name="logout_link"><xsl:value-of 
select="logout_link"/></xsl:variable>
!       <xsl:variable name="about_link"><xsl:value-of 
select="about_link"/></xsl:variable>
!       <xsl:variable name="home_img"><xsl:value-of 
select="home_img"/></xsl:variable>
!       <xsl:variable name="prefs_img"><xsl:value-of 
select="prefs_img"/></xsl:variable>
!       <xsl:variable name="logout_img"><xsl:value-of 
select="logout_img"/></xsl:variable>
!       <xsl:variable name="about_img"><xsl:value-of 
select="about_img"/></xsl:variable>
!       <xsl:variable name="home_title"><xsl:value-of 
select="home_title"/></xsl:variable>
!       <xsl:variable name="prefs_title"><xsl:value-of 
select="prefs_title"/></xsl:variable>
!       <xsl:variable name="logout_title"><xsl:value-of 
select="logout_title"/></xsl:variable>
!       <xsl:variable name="about_title"><xsl:value-of 
select="about_title"/></xsl:variable>
!       <xsl:variable name="navbar_format"><xsl:value-of 
select="navbar_format"/></xsl:variable>
!       <xsl:variable name="app_tpl"><xsl:value-of 
select="app_tpl"/></xsl:variable>
                <html>
                        <head>
--- 2,23 ----
  
        <xsl:template match="phpgw">
!       <xsl:variable name="phpgw_css_file" select="phpgw_css_file"/>
!       <xsl:variable name="theme_css_file" select="theme_css_file"/>
!       <xsl:variable name="charset" select="charset"/>
!       <xsl:variable name="onload" select="onload"/>
!       <xsl:variable name="home_link" select="home_link"/>
!       <xsl:variable name="prefs_link" select="prefs_link"/>
!       <xsl:variable name="logout_link" select="logout_link"/>
!       <xsl:variable name="about_link" select="about_link"/>
!       <xsl:variable name="home_img" select="home_img"/>
!       <xsl:variable name="prefs_img" select="prefs_img"/>
!       <xsl:variable name="logout_img" select="logout_img"/>
!       <xsl:variable name="about_img" select="about_img"/>
!       <xsl:variable name="home_title" select="home_title"/>
!       <xsl:variable name="prefs_title" select="prefs_title"/>
!       <xsl:variable name="logout_title" select="logout_title"/>
!       <xsl:variable name="about_title" select="about_title"/>
!       <xsl:variable name="navbar_format" select="navbar_format"/>
!       <xsl:variable name="app_tpl" select="app_tpl"/>
                <html>
                        <head>
***************
*** 40,50 ****
                                                                <tr 
width="100%">
                                                                        <td 
colspan="4">
!                                                                               
<table cellspacing="0" cellpadding="0" width="100%">
!                                                                               
        <tr>
!                                                                               
                <xsl:apply-templates select="applications">
!                                                                               
                        <xsl:with-param name="navbar_format" 
select="navbar_format"/>
!                                                                               
                </xsl:apply-templates>
!                                                                               
        </tr>
!                                                                               
</table>
                                                                        </td>
                                                                </tr>
--- 40,57 ----
                                                                <tr 
width="100%">
                                                                        <td 
colspan="4">
!                                                                               
<xsl:choose>
!                                                                               
        <xsl:when test="navbar_format = 'text'">
!                                                                               
                <xsl:value-of disable-output-escaping="yes" select="app_tabs"/>
!                                                                               
        </xsl:when>
!                                                                               
        <xsl:otherwise>
!                                                                               
                <table cellspacing="0" cellpadding="0" width="100%">
!                                                                               
                        <tr>
!                                                                               
                                <xsl:apply-templates select="applications">
!                                                                               
                                        <xsl:with-param name="navbar_format" 
select="navbar_format"/>
!                                                                               
                                </xsl:apply-templates>
!                                                                               
                        </tr>
!                                                                               
                </table> 
!                                                                               
        </xsl:otherwise>
!                                                                               
</xsl:choose>
                                                                        </td>
                                                                </tr>
***************
*** 54,74 ****
                                                                                
        <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>
!                                                                               
                <td><a href="{$home_link}" onMouseOver="" onMouseOut=""><img 
src="{$home_img}" border="0" name="nine" alt="{$home_title}" 
title="{$home_title}"/></a></td>
!                                                                               
                <td><a href="{$prefs_link}" onMouseOver="" onMouseOut=""><img 
src="{$prefs_img}" border="0" name="ten" alt="{$prefs_title}" 
title="{$prefs_title}"/></a></td>
!                                                                               
                <td><a href="{$logout_link}" onMouseOver="" onMouseOut=""><img 
src="{$logout_img}" border="0" name="eleven" alt="{$logout_title}" 
title="{$logout_title}"/></a></td>
!                                                                               
                <td><a href="{$about_link}" onMouseOver="" onMouseOut=""><img 
src="{$about_img}" border="0" name="about" alt="{$about_title}" 
title="{$about_title}"/></a></td>
!                                                                               
        </tr>
!                                                                               
</table>
!                                                                       </td>
                                                                </tr>
                                                        </table>
--- 61,90 ----
                                                                                
        <xsl:when test="current_users">
                                                                                
                <xsl:variable name="url_current_users"><xsl:value-of 
select="url_current_users"/></xsl:variable>
!                                                                               
                <td width="25%" nowrap="nowrap" 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 
width="25%" class="info" align="right"><xsl:value-of 
select="user_info_date"/></td>
!                                                                       
<xsl:choose>
!                                                                               
<xsl:when test="navbar_format = 'text'">
!                                                                               
        <td align="right">
!                                                                               
                <xsl:value-of disable-output-escaping="yes" select="base_tabs"/>
!                                                                               
        </td>
!                                                                               
</xsl:when>
!                                                                               
<xsl:otherwise>
!                                                                               
        <td>
!                                                                               
                <table cellspacing="0" cellpadding="0" align="right">
!                                                                               
                        <tr>
!                                                                               
                                <td><a href="{$home_link}" onMouseOver="" 
onMouseOut=""><img src="{$home_img}" border="0" name="nine" alt="{$home_title}" 
title="{$home_title}"/></a></td>
!                                                                               
                                <td><a href="{$prefs_link}" onMouseOver="" 
onMouseOut=""><img src="{$prefs_img}" border="0" name="ten" 
alt="{$prefs_title}" title="{$prefs_title}"/></a></td>
!                                                                               
                                <td><a href="{$logout_link}" onMouseOver="" 
onMouseOut=""><img src="{$logout_img}" border="0" name="eleven" 
alt="{$logout_title}" title="{$logout_title}"/></a></td>
!                                                                               
                                <td><a href="{$about_link}" onMouseOver="" 
onMouseOut=""><img src="{$about_img}" border="0" name="about" 
alt="{$about_title}" title="{$about_title}"/></a></td>
!                                                                               
                        </tr>
!                                                                               
                </table>
!                                                                               
        </td>
!                                                                               
</xsl:otherwise>
!                                                                       
</xsl:choose>
                                                                </tr>
                                                        </table>
***************
*** 120,130 ****
  
        <xsl:template match="applications">
!       <xsl:param name="navbar_format" select="'icon'"/>
!       <xsl:variable name="url"><xsl:value-of select="url"/></xsl:variable>
!       <xsl:variable name="name"><xsl:value-of select="name"/></xsl:variable>
!       <xsl:variable name="icon"><xsl:value-of select="icon"/></xsl:variable>
!       <xsl:variable name="title"><xsl:value-of select="title"/></xsl:variable>
!               <td>
!                               <a href="{$url}" onMouseOver="" 
onMouseOut=""><img src="{$icon}" border="0" alt="{$title}" title="{$title}" 
name="{$name}"/></a>
                </td>
        </xsl:template>
--- 136,152 ----
  
        <xsl:template match="applications">
!       <xsl:param name="navbar_format"/>
!       <xsl:variable name="url" select="url"/>
!       <xsl:variable name="icon" select="icon"/>
!       <xsl:variable name="title" select="title"/>
!               <td align="center">
!                               <a href="{$url}">
!                                       <xsl:if test="$navbar_format != 'text'">
!                                               <img src="{$icon}" border="0" 
alt="{$title}" title="{$title}"/>
!                                       </xsl:if>
!                                       <xsl:if test="$navbar_format != 
'icons'">
!                                               <br/><xsl:value-of 
select="title"/>
!                                       </xsl:if>
!                               </a>
                </td>
        </xsl:template>





reply via email to

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