phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/templates/verdilak phpgw.xsl,1.6,1.7


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/templates/verdilak phpgw.xsl,1.6,1.7
Date: Sun, 20 Apr 2003 16:41:09 -0400

Update of /cvsroot/phpgroupware/phpgwapi/templates/verdilak
In directory subversions:/tmp/cvs-serv4315/templates/verdilak

Modified Files:
        phpgw.xsl 
Log Message:
added app_header via $GLOBALS['phpgw_info']['flags']['app_header']


Index: phpgw.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/templates/verdilak/phpgw.xsl,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** phpgw.xsl   28 Mar 2003 16:17:43 -0000      1.6
--- phpgw.xsl   20 Apr 2003 20:41:07 -0000      1.7
***************
*** 38,55 ****
                                <link rel="stylesheet" type="text/css" 
href="{$phpgw_css_file}"/>
                                <link rel="stylesheet" type="text/css" 
href="{$theme_css_file}"/>
                        </head>
                        <body>
                                <table width="100%" height="100%" 
cellspacing="0" cellpadding="0">
                                        <tr height="30">
                                                <td colspan="2" valign="top">
-                                               <!-- BEGIN top_part -->
                                                        <table class="navbar" 
height="30" width="100%" cellspacing="0" cellpadding="0" border="0">
                                                                <tr 
valign="bottom">
!                                                                       <td>
!                                                                               
<a href="http://www.phpgroupware.org"; target="_blank" 
title="{$phpgw_statustext}">
!                                                                               
<img src="{$logo_img}" border="0"/></a>
!                                                                       </td>
!                                                                       <td 
class="info" width="99%" align="center">
!                                                                               
<xsl:value-of select="user_info"/>
                                                                        </td>
                                                                        <td 
rowspan="2" nowrap="nowrap">
--- 38,61 ----
                                <link rel="stylesheet" type="text/css" 
href="{$phpgw_css_file}"/>
                                <link rel="stylesheet" type="text/css" 
href="{$theme_css_file}"/>
+                               <xsl:value-of disable-output-escaping="yes" 
select="java_script"/>
+                               <xsl:choose>
+                                       <xsl:when test="app_css">
+                                               <style type="text/css">
+                                                       
<xsl:text>&lt;!--</xsl:text>
+                                                               <xsl:value-of 
disable-output-escaping="yes" select="app_css"/>
+                                                       <xsl:text>--></xsl:text>
+                                               </style>
+                                       </xsl:when>
+                               </xsl:choose>
                        </head>
                        <body>
                                <table width="100%" height="100%" 
cellspacing="0" cellpadding="0">
+                                       <!-- BEGIN top_part -->
                                        <tr height="30">
                                                <td colspan="2" valign="top">
                                                        <table class="navbar" 
height="30" width="100%" cellspacing="0" cellpadding="0" border="0">
                                                                <tr 
valign="bottom">
!                                                                       <td 
width="95%">
!                                                                               
<a href="http://www.phpgroupware.org"; target="_blank" 
title="{$phpgw_statustext}"><img src="{$logo_img}" border="0"/></a>
                                                                        </td>
                                                                        <td 
rowspan="2" nowrap="nowrap">
***************
*** 62,66 ****
                                                                                
                <td><a href="{$logout_link}"><img src="{$logout_img}" 
border="0" alt="{$logout_title}" title="{$logout_title}"/></a></td>
                                                                                
                <td><a href="{$about_link}"><img src="{$about_img}" border="0" 
alt="{$about_title}" title="{$about_title}"/></a></td>
!                                                                               
                <td><a href="{$help_link}" target="_blank"><img 
src="{$help_img}" border="0" alt="{$help_title}" 
title="{$help_title}"/></a></td>                       
                                                                                
        </tr>
                                                                                
</table>
--- 68,72 ----
                                                                                
                <td><a href="{$logout_link}"><img src="{$logout_img}" 
border="0" alt="{$logout_title}" title="{$logout_title}"/></a></td>
                                                                                
                <td><a href="{$about_link}"><img src="{$about_img}" border="0" 
alt="{$about_title}" title="{$about_title}"/></a></td>
!                                                                               
                <td><a href="{$help_link}" target="_blank"><img 
src="{$help_img}" border="0" alt="{$help_title}" 
title="{$help_title}"/></a></td>
                                                                                
        </tr>
                                                                                
</table>
***************
*** 68,93 ****
                                                                </tr>
                                                                <tr 
valign="bottom">
!                                                                       <td 
colspan="2" valign="bottom">
!                                                                               
<img src="{$greybar}" height="6" width="100%"/>
!                                                                       </td>
                                                                </tr>
                                                        </table>
-                                               <!-- END top_part -->
                                                </td>
                                        </tr>
!                                       <!-- BEGIN top_part 2 -->
!                                       <tr height="20" valign="top">
!                                               <td class="left">
!                                               </td>
!                                               <td align="right">
                                                        <xsl:choose>
!                                                               <xsl:when 
test="current_users">
!                                                               <xsl:variable 
name="url_current_users"><xsl:value-of 
select="url_current_users"/></xsl:variable>
!                                                                       <a 
href="{$url_current_users}"><xsl:value-of select="current_users"/></a>
                                                                </xsl:when>
                                                        </xsl:choose>
                                                </td>
                                        </tr>
!                                       <!-- END top_part 2 -->
                                        <tr valign="top">
                                                <td class="left" width="32">
--- 74,96 ----
                                                                </tr>
                                                                <tr 
valign="bottom">
!                                                                       <td 
valign="bottom"><img src="{$greybar}" height="6" width="100%"/></td>
                                                                </tr>
                                                        </table>
                                                </td>
                                        </tr>
!                                       <!-- END top_part -->
!                                       <!-- BEGIN app_header -->
!                                       <tr valign="top">
!                                               <td class="left"></td>
!                                               <td height="15">
                                                        <xsl:choose>
!                                                               <xsl:when 
test="app_header">
!                                                                       
<xsl:attribute name="class">app_header</xsl:attribute>
!                                                                       
<xsl:value-of disable-output-escaping="yes" select="app_header"/>
                                                                </xsl:when>
                                                        </xsl:choose>
                                                </td>
                                        </tr>
!                                       <!-- END app_header -->
                                        <tr valign="top">
                                                <td class="left" width="32">
***************
*** 132,148 ****
                                        </tr>
                                        <tr class="navbar">
!                                               <td colspan="2" align="center" 
class="info">
!                                               <!-- BEGIN bottom_part -->
!                                                       <xsl:value-of 
select="lang_powered_by"/>
!                                                       <a 
href="http://www.phpgroupware.org"; target="blank" 
onMouseout="window.status='';return true;">
!                                                               <xsl:attribute 
name="onMouseover">
!                                                                       
<xsl:text>window.status='</xsl:text>
!                                                                       
<xsl:value-of select="lang_phpgw_statustext"/>
!                                                                       
<xsl:text>'; return true;</xsl:text>
!                                                               </xsl:attribute>
!                                                               <xsl:text> 
phpGroupWare </xsl:text>
!                                                       </a>
!                                                       <xsl:text> 
</xsl:text><xsl:value-of select="lang_version"/><xsl:text> 
</xsl:text><xsl:value-of select="phpgw_version"/>
!                                               <!-- END bottom_part -->
                                                </td>
                                        </tr>
--- 135,168 ----
                                        </tr>
                                        <tr class="navbar">
!                                               <td colspan="2">
!                                                       <!-- BEGIN bottom_part 
-->
!                                                       <table width="100%" 
cellspacing="0" cellpadding="0" border="0">
!                                                               <tr>
!                                                                       <td 
align="left" width="30%" class="info">
!                                                                               
<xsl:value-of select="user_info"/>
!                                                                       </td>
!                                                                       <td 
align="center" width="30%" class="info">
!                                                                               
<xsl:choose>
!                                                                               
        <xsl:when test="current_users">
!                                                                               
        <xsl:variable name="url_current_users"><xsl:value-of 
select="url_current_users"/></xsl:variable>
!                                                                               
                <a href="{$url_current_users}"><xsl:value-of 
select="current_users"/></a>
!                                                                               
        </xsl:when>
!                                                                               
</xsl:choose>
!                                                                       </td>
!                                                                       <td 
align="right" width="30%" class="info">
!                                                                               
<xsl:value-of select="lang_powered_by"/>
!                                                                               
<a href="http://www.phpgroupware.org"; target="blank" 
onMouseout="window.status='';return true;">
!                                                                               
        <xsl:attribute name="onMouseover">
!                                                                               
                <xsl:text>window.status='</xsl:text>
!                                                                               
                <xsl:value-of select="lang_phpgw_statustext"/>
!                                                                               
                <xsl:text>'; return true;</xsl:text>
!                                                                               
        </xsl:attribute>
!                                                                               
        <xsl:text> phpGroupWare </xsl:text>
!                                                                               
</a>
!                                                                               
<xsl:text> </xsl:text><xsl:value-of select="lang_version"/><xsl:text> 
</xsl:text><xsl:value-of select="phpgw_version"/>
!                                                                       </td>
!                                                               </tr>
!                                                       </table>
!                                                       <!-- END bottom_part -->
                                                </td>
                                        </tr>





reply via email to

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