[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] api/skins/default setup.xsl, 1.1.1.1, 1.1.1.1.2.1 wid
From: |
Dan Kuykendall <address@hidden> |
Subject: |
[Phpgroupware-cvs] api/skins/default setup.xsl, 1.1.1.1, 1.1.1.1.2.1 widgets.xsl, 1.1.1.1, 1.1.1.1.2.1 |
Date: |
Thu, 23 Oct 2003 21:51:08 +0000 |
Update of /cvsroot/phpgroupware/api/skins/default
In directory subversions:/tmp/cvs-serv1248/api/skins/default
Modified Files:
Tag: proposal-branch
setup.xsl widgets.xsl
Log Message:
added initial tabs widgets, but they are rather funky at this stage
Index: widgets.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/api/skins/default/widgets.xsl,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** widgets.xsl 23 Oct 2003 07:25:03 -0000 1.1.1.1
--- widgets.xsl 23 Oct 2003 21:51:05 -0000 1.1.1.1.2.1
***************
*** 93,95 ****
--- 93,150 ----
</xsl:template>
+ <xsl:template name="widget_tab_start">
+ <xsl:param name="value"/>
+ <xsl:param name="current"/>
+ <xsl:choose>
+ <xsl:when test="$value = $current"><td align="right"><img
src="api/skins/default/images/tabs-start1.gif"/></td></xsl:when>
+ <xsl:otherwise><td align="right"><img
src="api/skins/default/images/tabs-start0.gif"/></td></xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template name="widget_tab">
+ <xsl:param name="name"/>
+ <xsl:param name="title"/>
+ <xsl:param name="op"/>
+ <xsl:param name="value" select="$title"/>
+ <xsl:param name="current"/>
+ <td align="left"><img src="api/skins/default/images/tabs-sepm.gif"/></td>
+ <xsl:choose>
+ <xsl:when test="$value = $current">
+ <td align="left" background="api/skins/default/images/tabs-bg1.gif"><b><a
href="{$baseurl}&op={$op}&{$name}={$value}"
class="tablink"><xsl:value-of select="$title"/></a></b></td>
+ </xsl:when>
+ <xsl:otherwise>
+ <td align="left" background="api/skins/default/images/tabs-bg0.gif"><b><a
href="{$baseurl}&op={$op}&{$name}={$value}"
class="tablink"><xsl:value-of select="$title"/></a></b></td>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+ <!--
+
+ <table border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td align="right"><img
src="/phpgroupware/phpgwapi/templates/idots/images/tabs-start1.gif"/></td>
+ <td align="left"
background="/phpgroupware/phpgwapi/templates/idots/images/tabs-bg1.gif">
+ <b><a
href="/phpgroupware/preferences/preferences.php?appname=preference13bb046a8"
class="tablink">Your Preferences</a></b>
+ </td>
+ <td align="left"><img
src="/phpgroupware/phpgwapi/templates/idots/images/tabs-sepr.gif"/></td>
+ <td align="left"
background="/phpgroupware/phpgwapi/templates/idots/images/tabs-bg0.gif">
+ <b><a
href="/phpgroupware/preferences/preferences.php?appnam13bb046a8"
class="tablink">Default Preferences</a></b>
+ </td>
+ <td align="left"><img
src="/phpgroupware/phpgwapi/templates/idots/images/tabs-sepm.gif"/></td>
+ <td align="left"
background="/phpgroupware/phpgwapi/templates/idots/images/tabs-bg0.gif">
+ <b><a href="/phpgroupware/preferences046a8"
class="tablink">Forced Preferences</a></b>
+ </td>
+ <td align="left"><img
src="/phpgroupware/phpgwapi/templates/idots/images/tabs-end0.gif"/></td>
+ </table>
+ -->
+
+ <xsl:template name="widget_tab_end">
+ <xsl:param name="value"/>
+ <xsl:param name="current"/>
+ <xsl:choose>
+ <xsl:when test="$value = $current"><td align="right"><img
src="api/skins/default/images/tabs-end1.gif"/></td></xsl:when>
+ <xsl:otherwise><td align="right"><img
src="api/skins/default/images/tabs-end0.gif"/></td></xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+
</xsl:stylesheet>
Index: setup.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/api/skins/default/setup.xsl,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** setup.xsl 23 Oct 2003 07:25:03 -0000 1.1.1.1
--- setup.xsl 23 Oct 2003 21:51:05 -0000 1.1.1.1.2.1
***************
*** 1,48 ****
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
! <xsl:output indent="yes"/>
<xsl:template match="APP">
<center>
! <table border="1">
<tr>
! <td colspan="4" nowrap="nowrap"
align="center"><h2>|| Setup Program ||</h2></td>
</tr>
<tr nowrap="nowrap">
! <xsl:choose>
! <xsl:when test="stage = '1'">
! <td><b>Stage 1<br/>Config
File</b></td>
! </xsl:when>
! <xsl:otherwise>
! <td><a
href="{$baseurl}&op=api.setup.start&stage=1"><b>Stage 1<br/>Config
File</b></a></td>
! </xsl:otherwise>
! </xsl:choose>
! <xsl:choose>
! <xsl:when test="stage = '2'">
! <td><b>Stage
2<br/>Applications</b></td>
! </xsl:when>
! <xsl:otherwise>
! <td><a
href="{$baseurl}&op=api.setup.start&stage=2"><b>Stage
2<br/>Applications</b></a></td>
! </xsl:otherwise>
! </xsl:choose>
! <xsl:choose>
! <xsl:when test="stage = '3'">
! <td><b>Stage
3<br/>Configuration</b></td>
! </xsl:when>
! <xsl:otherwise>
! <td><a
href="{$baseurl}&op=api.setup.start&stage=3"><b>Stage
3<br/>Configuration</b></a></td>
! </xsl:otherwise>
! </xsl:choose>
! <xsl:choose>
! <xsl:when test="stage = '4'">
! <td><b>Stage 4<br/>Initial
Accounts</b></td>
! </xsl:when>
! <xsl:otherwise>
! <td><a
href="{$baseurl}&op=api.setup.start&stage=4"><b>Stage 4<br/>Initial
Accounts</b></a></td>
! </xsl:otherwise>
! </xsl:choose>
</tr>
<tr>
! <td colspan="4" width="100%">
<xsl:if test="message =
node()"><center><b><xsl:value-of
select="message"/></b></center><br/><br/></xsl:if>
<center>
--- 1,65 ----
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
! <xsl:output indent="yes"/>
<xsl:template match="APP">
<center>
! <table border="1" width="90%">
<tr>
! <td nowrap="nowrap" align="center"><h2>|| Setup
Program ||</h2></td>
</tr>
<tr nowrap="nowrap">
! <td><table border="0" cellspacing="0"
cellpadding="0"><tr>
! <td>
! <xsl:call-template
name="widget_tab_start">
! <xsl:with-param name="value"
select="'1'"/>
! <xsl:with-param name="current"
select="stage"/>
! </xsl:call-template>
! </td>
! <td>
! <xsl:call-template name="widget_tab">
! <xsl:with-param name="name"
select="'stage'"/>
! <xsl:with-param name="value"
select="'1'"/>
! <xsl:with-param name="title"
select="'Config File'"/>
! <xsl:with-param name="op"
select="'api.setup.start'"/>
! <xsl:with-param name="current"
select="stage"/>
! </xsl:call-template>
! </td>
! <td>
! <xsl:call-template name="widget_tab">
! <xsl:with-param name="name"
select="'stage'"/>
! <xsl:with-param name="value"
select="'2'"/>
! <xsl:with-param name="title"
select="'Applications'"/>
! <xsl:with-param name="op"
select="'api.setup.start'"/>
! <xsl:with-param name="current"
select="stage"/>
! </xsl:call-template>
! </td>
! <td>
! <xsl:call-template name="widget_tab">
! <xsl:with-param name="name"
select="'stage'"/>
! <xsl:with-param name="value"
select="'3'"/>
! <xsl:with-param name="title"
select="'Configuration'"/>
! <xsl:with-param name="op"
select="'api.setup.start'"/>
! <xsl:with-param name="current"
select="stage"/>
! </xsl:call-template>
! </td>
! <td>
! <xsl:call-template name="widget_tab">
! <xsl:with-param name="name"
select="'stage'"/>
! <xsl:with-param name="value"
select="'4'"/>
! <xsl:with-param name="title"
select="'Initial Accounts'"/>
! <xsl:with-param name="op"
select="'api.setup.start'"/>
! <xsl:with-param name="current"
select="stage"/>
! </xsl:call-template>
! </td>
! <td>
! <xsl:call-template
name="widget_tab_end">
! <xsl:with-param name="value"
select="'4'"/>
! <xsl:with-param name="current"
select="stage"/>
! </xsl:call-template>
! </td></tr></table></td>
</tr>
<tr>
! <td width="100%">
<xsl:if test="message =
node()"><center><b><xsl:value-of
select="message"/></b></center><br/><br/></xsl:if>
<center>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] api/skins/default setup.xsl, 1.1.1.1, 1.1.1.1.2.1 widgets.xsl, 1.1.1.1, 1.1.1.1.2.1,
Dan Kuykendall <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] addressbook/setup index.php,NONE,1.1.2.1
- Next by Date:
[Phpgroupware-cvs] api/skins/default/images boxbg.png, NONE, 1.1.2.1 greybar.png, NONE, 1.1.2.1 greybar_bottom.png, NONE, 1.1.2.1 greybar_vert.png, NONE, 1.1.2.1 spacer.png, NONE, 1.1.2.1 tabs-bg0.png, NONE, 1.1.2.1 tabs-bg1.png, NONE, 1.1.2.1 tabs-end0.png, NONE, 1.1.2.1 tabs-end1.png, NONE, 1.1.2.1 tabs-sepl.png, NONE, 1.1.2.1 tabs-sepm.png, NONE, 1.1.2.1 tabs-sepr.png, NONE, 1.1.2.1 tabs-start0.png, NONE, 1.1.2.1 tabs-start1.png, NONE, 1.1.2.1
- Previous by thread:
[Phpgroupware-cvs] addressbook/setup index.php,NONE,1.1.2.1
- Next by thread:
[Phpgroupware-cvs] api/skins/default/images boxbg.png, NONE, 1.1.2.1 greybar.png, NONE, 1.1.2.1 greybar_bottom.png, NONE, 1.1.2.1 greybar_vert.png, NONE, 1.1.2.1 spacer.png, NONE, 1.1.2.1 tabs-bg0.png, NONE, 1.1.2.1 tabs-bg1.png, NONE, 1.1.2.1 tabs-end0.png, NONE, 1.1.2.1 tabs-end1.png, NONE, 1.1.2.1 tabs-sepl.png, NONE, 1.1.2.1 tabs-sepm.png, NONE, 1.1.2.1 tabs-sepr.png, NONE, 1.1.2.1 tabs-start0.png, NONE, 1.1.2.1 tabs-start1.png, NONE, 1.1.2.1
- Index(es):