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.12,1.13


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/templates/default phpgw.xsl,1.12,1.13
Date: Sun, 20 Apr 2003 16:41:08 -0400

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

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/default/phpgw.xsl,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** phpgw.xsl   28 Mar 2003 16:18:41 -0000      1.12
--- phpgw.xsl   20 Apr 2003 20:41:06 -0000      1.13
***************
*** 36,39 ****
--- 36,49 ----
                                <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 onLoad="{$onload}">
***************
*** 61,75 ****
                                                                </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%" 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'">
--- 71,74 ----
***************
*** 98,103 ****
                                                </td>
                                        </tr>
                                        <tr>
!                                               <td width="100%" height="100%" 
valign="top" align="center">
                                                        <xsl:choose>
                                                                <xsl:when 
test="msgbox_data">
--- 97,115 ----
                                                </td>
                                        </tr>
+                                       <!-- BEGIN app_header -->
+                                       <tr valign="top">
+                                               <td height="15" 
class="app_body">
+                                                       <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"/>
+                                                                       <hr/>
+                                                               </xsl:when>
+                                                       </xsl:choose>
+                                               </td>
+                                       </tr>
+                                       <!-- END app_header -->
                                        <tr>
!                                               <td width="100%" height="100%" 
valign="top" align="center" class="app_body">
                                                        <xsl:choose>
                                                                <xsl:when 
test="msgbox_data">
***************
*** 132,147 ****
                                        <tr valign="top">
                                                <td align="center" valign="top" 
class="bottom">
!                                               <!-- 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>
--- 144,176 ----
                                        <tr valign="top">
                                                <td align="center" valign="top" 
class="bottom">
!                                                       <!-- 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}" class="info"><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"; class="info" 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]