phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] api/skins/default/phpgw.xsl, 1.1.1.1.2.28


From: nomail
Subject: [Phpgroupware-cvs] api/skins/default/phpgw.xsl, 1.1.1.1.2.28
Date: Thu, 20 May 2004 16:39:24 -0000

Update of /api/skins/default
Modified Files:
        Branch: proposal-branch
          phpgw.xsl

date: 2004/04/16 20:59:49;  author: seek3r;  state: Exp;  lines: +14 -13

Log Message:
bringing savannah cvs back up to date with what we were doing on our private 
cvs server. We will not be doing dev from this cvs tree
=====================================================================
Index: api/skins/default/phpgw.xsl
diff -u api/skins/default/phpgw.xsl:1.1.1.1.2.27 
api/skins/default/phpgw.xsl:1.1.1.1.2.28
--- api/skins/default/phpgw.xsl:1.1.1.1.2.27    Wed Feb 25 18:31:43 2004
+++ api/skins/default/phpgw.xsl Fri Apr 16 20:59:49 2004
@@ -6,15 +6,16 @@
 <xsl:output indent="yes"/>
 
 <xsl:variable name="baseurl" select="/PHPGW/API/baseurl"/>
-<xsl:variable name="api_image_path">api/skins/<xsl:value-of 
select="/PHPGW/API/prefs/api.skin" />/images</xsl:variable>
-<xsl:variable name="app_image_path"><xsl:value-of 
select="/PHPGW/API/op/appname" />/skins/<xsl:value-of 
select="/PHPGW/API/prefs/api.skin" />/images</xsl:variable>
+<xsl:variable name="basepath" select="/PHPGW/API/basepath"/>
+<xsl:variable name="api_image_path"><xsl:value-of 
select="/PHPGW/API/basepath"/>/api/skins/<xsl:value-of 
select="/PHPGW/API/prefs/api.skin" />/images</xsl:variable>
+<xsl:variable name="app_image_path"><xsl:value-of 
select="/PHPGW/API/basepath"/>/<xsl:value-of select="/PHPGW/API/op/appname" 
/>/skins/<xsl:value-of select="/PHPGW/API/prefs/api.skin" 
/>/images</xsl:variable>
 
 <xsl:template match="/">
 <html>
 <head>
        <title>phpGroupWare</title>
        <xsl:for-each select="/PHPGW/API/css_list/css_list_item">
-               <link rel="stylesheet" type="text/css" 
href="{app}/skins/default/{file}.css"/>
+               <link rel="stylesheet" type="text/css" 
href="{$basepath}/{app}/skins/default/{file}.css"/>
        </xsl:for-each>
        <link rel="icon" href="favicon.ico" type="image/x-ico" />
        <link rel="shortcut icon" href="favicon.ico" />
@@ -35,10 +36,10 @@
                                                                        
<xsl:for-each select="/PHPGW/API/apps/apps_item[name != 'api']">
                                                                                
<xsl:choose>
                                                                                
        <xsl:when test="/PHPGW/API/form_lock = 1">
-                                                                               
                <td align="center" width="10%"><img height="60" 
border="0"><xsl:attribute name="src"><xsl:value-of select="name" 
/>/skins/<xsl:value-of select="/PHPGW/API/prefs/api.skin" 
/>/images/icon.png</xsl:attribute></img></td>
+                                                                               
                <td align="center" width="10%"><img height="60" 
border="0"><xsl:attribute name="src"><xsl:value-of select="$basepath" 
/>/<xsl:value-of select="icon" /></xsl:attribute></img></td>
                                                                                
        </xsl:when>
                                                                                
        <xsl:otherwise>
-<td align="center" width="10%"><a 
href="{$baseurl}&amp;op={name}.base.start"><img height="60" 
border="0"><xsl:attribute name="src"><xsl:value-of select="name" 
/>/skins/<xsl:value-of select="/PHPGW/API/prefs/api.skin" 
/>/images/icon.png</xsl:attribute></img></a></td>                               
                                                      </xsl:otherwise>
+                                                                               
                <td align="center" width="10%"><a 
href="{$baseurl}&amp;op={name}.base.start"><img height="60" 
border="0"><xsl:attribute name="src"><xsl:value-of select="$basepath" 
/>/<xsl:value-of select="name" />/skins/<xsl:value-of 
select="/PHPGW/API/prefs/api.skin" 
/>/images/icon.png</xsl:attribute></img></a></td>                               
                                                   </xsl:otherwise>
                                                                                
</xsl:choose>
                                                                        
</xsl:for-each>
                                                                <td 
width="*">&#160;</td>
@@ -156,8 +157,8 @@
                                                                <td>
                                                                        
<!--<xsl:apply-templates select="PHPGW/API/hooks/hooks_item" />-->
                                                                        
<xsl:choose>
-                                                                               
<xsl:when test="PHPGW/APP != '' or /PHPGW/API/APPHTML">
-                                                                               
        <form method="GET" name="phpgw_form" action="{/PHPGW/API/baseurl}">
+                                                                               
<xsl:when test="PHPGW/APP != '' or /PHPGW/APPHTML">
+                                                                               
        <form method="POST" name="phpgw_form" action="{/PHPGW/API/baseurl}">
                                                                                
                <table cellSpacing="0" cellPadding="0" width="100%" border="0">
                                                                                
                        <tr> 
                                                                                
                                <td vAlign="top" height="100%">
@@ -199,8 +200,8 @@
                                                                                
                                                        <td height="20" 
colSpan="2" bgColor="#efefef" class="mainnote">
                                                                                
                                                                
<xsl:apply-templates select="PHPGW/API/msgbox" />
                                                                                
                                                                <xsl:choose>
-                                                                               
                                                                        
<xsl:when test="/PHPGW/API/APPHTML">
-                                                                               
                                                                                
<xsl:value-of disable-output-escaping="yes" select="/PHPGW/API/APPHTML" />
+                                                                               
                                                                        
<xsl:when test="/PHPGW/APPHTML">
+                                                                               
                                                                                
<xsl:value-of disable-output-escaping="yes" select="/PHPGW/APPHTML" />
                                                                                
                                                                        
</xsl:when>
                                                                                
                                                                        
<xsl:otherwise>
                                                                                
                                                                                
<br />
@@ -273,8 +274,8 @@
                                                <td height="20" colSpan="2" 
bgColor="#efefef" class="mainnote">
                                                        <xsl:apply-templates 
select="PHPGW/API/msgbox" />
                                                        <xsl:choose>
-                                                               <xsl:when 
test="/PHPGW/API/APPHTML">
-                                                                       
<xsl:value-of disable-output-escaping="yes" select="/PHPGW/API/APPHTML" />
+                                                               <xsl:when 
test="/PHPGW/APPHTML">
+                                                                       
<xsl:value-of disable-output-escaping="yes" select="/PHPGW/APPHTML" />
                                                                </xsl:when>
                                                                <xsl:otherwise>
                                                                        <br />




reply via email to

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