phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] api/skins/default_frames/menu.xsl, 1.1.2.1


From: nomail
Subject: [Phpgroupware-cvs] api/skins/default_frames/menu.xsl, 1.1.2.1
Date: Thu, 20 May 2004 14:36:41 -0000

Update of /api/skins/default_frames
Added Files:
        Branch: proposal-branch
          menu.xsl

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

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
=====================================================================
<?xml version="1.0"?>
<!-- $Id: menu.xsl,v 1.1.2.1 2004/04/16 20:59:49 seek3r Exp $ -->
<!-- $Source: /cvsroot/phpgroupware/api/skins/default_frames/Attic/menu.xsl,v $ 
-->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
<xsl:output indent="yes"/>

<xsl:variable name="baseurl" select="/PHPGW/API/baseurl"/>
<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>Sparta Calendars Tracker</title>
        <xsl:for-each select="/PHPGW/API/css_list/css_list_item">
                <link rel="stylesheet" type="text/css" 
href="{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" />
</head>
<body bgcolor="#e5e5e5">
                                                <table width="100%" border="0" 
cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="background-repeat: 
repeat-x;"><xsl:attribute name="background"><xsl:value-of 
select="$api_image_path" />/panel.png</xsl:attribute>
                                                        <tr valign="center">
                                                                <td 
width="1%">&#160;</td>
                                                                <xsl:if 
test="count(/PHPGW/API/apps/apps_item) = 0"><td align="center" width="10%" 
height="60">&#160;</td></xsl:if>
                                                                        
<xsl:for-each select="/PHPGW/API/apps/apps_item[name != 'api']">
                                                                                
<td align="center" width="10%"><a href="{$baseurl}&amp;op={name}.base.start" 
target="AppFrame"><img height="60" border="0"><xsl:attribute 
name="src"><xsl:value-of select="$basepath" />/<xsl:value-of select="icon" 
/></xsl:attribute></img></a></td>
                                                                        
</xsl:for-each>
                                                                <td 
width="*">&#160;</td>
                                                        </tr>
                                                        <tr valign="top" 
bgcolor="#FFFFFF">
                                                                <td 
width="1%">&#160;</td>
                                                                <xsl:if 
test="count(/PHPGW/API/apps/apps_item) = 0"><td align="center" 
class="mainnote">&#160;</td></xsl:if>
                                                                        
<xsl:for-each select="/PHPGW/API/apps/apps_item[name != 'api']">
                                                                                
<td align="center" class="mainnote"><a 
href="{$baseurl}&amp;op={name}.base.start" target="AppFrame"><xsl:value-of 
select="title" /></a></td>
                                                                        
</xsl:for-each>
                                                                <td width="*" 
colspan="100">&#160;</td>
                                                        </tr>
                                                </table>
</body>
</html>
</xsl:template> 

<xsl:template match="hooks_item">
</xsl:template> 

</xsl:stylesheet>




reply via email to

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