phpgroupware-cvs
[Top][All Lists]
Advanced

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

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


From: nomail
Subject: [Phpgroupware-cvs] api/skins/default_frames/phpgw.xsl, 1.1.2.1
Date: Thu, 20 May 2004 21:32:33 -0000

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

date: 2004/04/16 20:59:49;  author: seek3r;  state: Exp;  lines: +168 -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: phpgw.xsl,v 1.1.2.1 2004/04/16 20:59:49 seek3r Exp $ -->
<!-- $Source: /cvsroot/phpgroupware/api/skins/default_frames/Attic/phpgw.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" />
        <script type="text/javascript">
        <![CDATA[<!---
                if (top.location == self.location) {
                self.location.replace("]]><xsl:value-of 
select="/PHPGW/API/baseurl"/><![CDATA[&op=api.base.frames")
        }
-->]]>
</script>

</head>
<body bgcolor="#e5e5e5">
        <div style="position:absolute; left:4; top:4; bottom:0; padding:0; 
width:98%; height:99%;">
        <table class="box" height="90%" cellSpacing="0" cellPadding="1" 
width="100%" bgcolor="#ffffff" border="0">
        <tr> 
                <td vAlign="top">
                                                                        
<xsl:choose>
                                                                                
<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%">
                                                                                
                                        <table align="center" class="box" 
cellSpacing="1" cellPadding="0" width="100%" border="0">
                                                                                
                                                <tr> 
                                                                                
                                                        <td height="23" 
colSpan="2" align="center" class="articletitle">
                                                                                
                                                                <table 
border="0" align="center" width="100%">
                                                                                
                                                                        <tr>
                                                                                
                                                                                
<td align="left" width="5%">
                                                                                
                                                                                
        <xsl:if test="/PHPGW/API/form_lock = 1">
                                                                                
                                                                                
                <input type="image" name="op" value="api.statecache.clear" 
src="{$api_image_path}/clear.png" />
                                                                                
                                                                                
        </xsl:if>
                                                                                
                                                                                
</td>
                                                                                
                                                                                
<td align="center">
                                                                                
                                                                                
        <xsl:choose>
                                                                                
                                                                                
                <xsl:when test="/PHPGW/API/title">
                                                                                
                                                                                
                        <xsl:value-of select="/PHPGW/API/title"/>
                                                                                
                                                                                
                </xsl:when>
                                                                                
                                                                                
                <xsl:otherwise>
                                                                                
                                                                                
                        <xsl:variable name="app" 
select="/PHPGW/API/op/appname"/>
                                                                                
                                                                                
                        <xsl:value-of 
select="/PHPGW/API/apps/apps_item[name=$app]/title"/>
                                                                                
                                                                                
                </xsl:otherwise>
                                                                                
                                                                                
        </xsl:choose>
                                                                                
                                                                                
        <xsl:if test="/PHPGW/API/subtitle"> - <xsl:value-of 
select="/PHPGW/API/subtitle"/></xsl:if>
                                                                                
                                                                                
</td>
                                                                                
                                                                                
<td align="right" width="5%">
                                                                                
                                                                                
        <xsl:if test="/PHPGW/API/form_lock = 1">
                                                                                
                                                                                
                <input type="image" name="op" value="api.statecache.minimize" 
src="{$api_image_path}/min.png" /></xsl:if>
                                                                                
                                                                                
        <xsl:if test="count(/PHPGW/API/op_history/op_history_item) != 1">
                                                                                
                                                                                
                <input type="image" name="op" value="api.statecache.close" 
src="{$api_image_path}/close.png" />
                                                                                
                                                                                
                <input type="hidden" name="position_id" 
value="{/PHPGW/API/current_history_position}" />
                                                                                
                                                                                
        </xsl:if>
                                                                                
                                                                                
</td>
                                                                                
                                                                        </tr>
                                                                                
                                                                </table>
                                                                                
                                                        </td>
                                                                                
                                                </tr>
                                                                                
                                                <tr align="center"> 
                                                                                
                                                        <td height="20" 
colSpan="2" bgColor="#efefef" class="mainnote">
                                                                                
                                                                
<xsl:apply-templates select="PHPGW/API/msgbox" />
                                                                                
                                                                <xsl:choose>
                                                                                
                                                                        
<xsl:when test="/PHPGW/APPHTML">
                                                                                
                                                                                
<xsl:value-of disable-output-escaping="yes" select="/PHPGW/APPHTML" />
                                                                                
                                                                        
</xsl:when>
                                                                                
                                                                        
<xsl:otherwise>
                                                                                
                                                                                
<br />
                                                                                
                                                                                
<xsl:apply-templates select="PHPGW/APP" />
                                                                                
                                                                                
<br />
                                                                                
                                                                        
</xsl:otherwise>
                                                                                
                                                                </xsl:choose>
                                                                                
                                                        </td>
                                                                                
                                                </tr>
                                                                                
                                        </table>
                                                                                
                                </td>
                                                                                
                        </tr>
                                                                                
                </table>
                                                                                
        </form>
                                                                                
</xsl:when>
                                                                                
<xsl:otherwise>
                                                                                
        <xsl:apply-templates select="PHPGW/API/msgbox" />
                                                                                
</xsl:otherwise>
                                                                        
</xsl:choose>
                </td>
        </tr>
</table>
        <p align="center" class="copyright">Powered by <a 
href="http://www.phpgroupware.org/"; target="_new">phpGroupWare</a> version 
1.9.0</p>
</div>
</body>
</html>
</xsl:template> 

<!--
<xsl:template name="inside_app_box">
        <xsl:param name="title" select="''" />

        <table cellSpacing="0" cellPadding="0" width="100%" border="0">
                <tr> 
                        <td vAlign="top" height="100%">

                                <table align="center" class="box" 
cellSpacing="1" cellPadding="0" width="100%" border="0">
                                        <tr> 
                                                <td height="23" colSpan="2" 
align="center" class="articletitle">

                                                        <table border="0" 
align="center" width="100%">
                                                                <tr>
                                                                        <td 
align="center">
                                                                                
<xsl:choose>
                                                                                
        <xsl:when test="/PHPGW/API/title">
                                                                                
                <xsl:value-of select="/PHPGW/API/title"/>
                                                                                
        </xsl:when>
                                                                                
        <xsl:otherwise>
                                                                                
                <xsl:variable name="app" select="/PHPGW/API/op/appname"/>
                                                                                
                <xsl:value-of 
select="/PHPGW/API/apps/apps_item[name=$app]/title"/>
                                                                                
        </xsl:otherwise>
                                                                                
</xsl:choose>
                                                                                
<xsl:if test="/PHPGW/API/subtitle"> - <xsl:value-of 
select="/PHPGW/API/subtitle"/></xsl:if>
                                                                        </td>
                                                                        <td 
align="right" width="5%">
                                                                                
<input type="image" name="op" value="api.statecache.pause"  
src="{$api_image_path}/min.png" />&#160;<input type="image" name="op" 
value="api.statecache.cancel" src="{$api_image_path}/close.png" />
                                                                        </td>
                                                                </tr>
                                                        </table>
                                                </td>
                                        </tr>
                                        <tr align="center"> 
                                                <td height="20" colSpan="2" 
bgColor="#efefef" class="mainnote">
                                                        <xsl:apply-templates 
select="PHPGW/API/msgbox" />
                                                        <xsl:choose>
                                                                <xsl:when 
test="/PHPGW/APPHTML">
                                                                        
<xsl:value-of disable-output-escaping="yes" select="/PHPGW/APPHTML" />
                                                                </xsl:when>
                                                                <xsl:otherwise>
                                                                        <br />
                                                                        
<xsl:apply-templates select="PHPGW/APP" />
                                                                        <br />
                                                                </xsl:otherwise>
                                                        </xsl:choose>
                                                </td>
                                        </tr>
                                </table>
                        </td>
                </tr>
        </table>
</xsl:template>
-->

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

</xsl:stylesheet>




reply via email to

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