[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: notes/templates/default list.xsl,1.6,1.7
From: |
Bettina Gille <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: notes/templates/default list.xsl,1.6,1.7 |
Date: |
Thu, 26 Sep 2002 20:15:41 -0400 |
Update of /cvsroot/phpgroupware/notes/templates/default
In directory subversions:/tmp/cvs-serv18342/templates/default
Modified Files:
list.xsl
Log Message:
update xsl functions
Index: list.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/notes/templates/default/list.xsl,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** list.xsl 26 Sep 2002 03:56:23 -0000 1.6
--- list.xsl 27 Sep 2002 00:15:39 -0000 1.7
***************
*** 2,26 ****
<xsl:template match="list">
- <xsl:variable name="select_action"><xsl:value-of
select="select_action"/></xsl:variable>
<xsl:call-template name="app_header"/>
<table border="0" cellpadding="2" cellspacing="4" width="80%"
align="center">
<tr>
<td>
! <form method="post"
action="{$select_action}">
! <select name="cat_id"
onChange="this.form.submit();">
! <xsl:call-template
name="cat_select"/>
! </select>
! </form>
</td>
! <td>
! <form method="post"
action="{$select_action}">
! <select name="filter"
onChange="this.form.submit()">
! <xsl:call-template
name="filter_select"/>
! </select>
! </form>
</td>
</tr>
</table>
! <table border="0" cellpadding="2" cellspacing="4" width="80%"
align="center">
<xsl:apply-templates select="table_header"/>
<xsl:apply-templates select="values"/>
--- 2,20 ----
<xsl:template match="list">
<xsl:call-template name="app_header"/>
<table border="0" cellpadding="2" cellspacing="4" width="80%"
align="center">
<tr>
<td>
! <xsl:call-template name="cat_select"/>
</td>
! <td align="center">
! <xsl:call-template
name="filter_select"/>
! </td>
! <td align="right">
! <xsl:call-template name="search_field"/>
</td>
</tr>
</table>
! <table border="0" cellpadding="2" cellspacing="2" width="80%"
align="center">
<xsl:apply-templates select="table_header"/>
<xsl:apply-templates select="values"/>
***************
*** 30,53 ****
<xsl:template match="table_header">
! <tr>
! <td width="10%" align="right">
<xsl:value-of select="lang_note_id"/>
</td>
! <td width="40%">
<xsl:value-of select="lang_content"/>
</td>
! <td width="20%" align="center">
<xsl:value-of
select="lang_time_created"/>
</td>
! <td width="10%" align="center">
<xsl:value-of select="lang_owner"/>
</td>
! <td width="5%" align="center">
<xsl:value-of select="lang_view"/>
</td>
! <td width="5%" align="center">
<xsl:value-of select="lang_edit"/>
</td>
! <td width="5%" align="center">
<xsl:value-of select="lang_delete"/>
</td>
--- 24,47 ----
<xsl:template match="table_header">
! <tr class="th">
! <td class="th_text" width="10%" align="right">
<xsl:value-of select="lang_note_id"/>
</td>
! <td class="th_text" width="40%">
<xsl:value-of select="lang_content"/>
</td>
! <td class="th_text" width="20%" align="center">
<xsl:value-of
select="lang_time_created"/>
</td>
! <td class="th_text" width="10%" align="center">
<xsl:value-of select="lang_owner"/>
</td>
! <td class="th_text" width="5%" align="center">
<xsl:value-of select="lang_view"/>
</td>
! <td class="th_text" width="5%" align="center">
<xsl:value-of select="lang_edit"/>
</td>
! <td class="th_text" width="5%" align="center">
<xsl:value-of select="lang_delete"/>
</td>
***************
*** 57,60 ****
--- 51,68 ----
<xsl:template match="values">
<tr>
+ <xsl:attribute name="class">
+ <xsl:choose>
+ <xsl:when test="@class">
+ <xsl:value-of
select="@class"/>
+ </xsl:when>
+ <xsl:when test="position() mod
2 = 0">
+
<xsl:text>row_on</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+
<xsl:text>row_off</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+
<td align="right">
<xsl:value-of select="note_id"/>
***************
*** 90,94 ****
<xsl:variable
name="lang_add"><xsl:value-of select="lang_add"/></xsl:variable>
<form method="post"
action="{$add_action}">
! <input type="submit" name="add"
value="{$lang_add}"/>
</form>
</td>
--- 98,102 ----
<xsl:variable
name="lang_add"><xsl:value-of select="lang_add"/></xsl:variable>
<form method="post"
action="{$add_action}">
! <input type="submit" class="forms"
name="add" value="{$lang_add}"/>
</form>
</td>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: notes/templates/default list.xsl,1.6,1.7,
Bettina Gille <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: phpgwapi/templates/default search_field.xsl,NONE,1.1 app_header.xsl,1.1,1.2 cat_select.xsl,1.2,1.3 filter_select.xsl,1.1,1.2
- Next by Date:
[Phpgroupware-cvs] CVS: notes/inc class.so.inc.php,1.8,1.9 class.ui.inc.php,1.27,1.28
- Previous by thread:
[Phpgroupware-cvs] CVS: phpgwapi/templates/default search_field.xsl,NONE,1.1 app_header.xsl,1.1,1.2 cat_select.xsl,1.2,1.3 filter_select.xsl,1.1,1.2
- Next by thread:
[Phpgroupware-cvs] CVS: notes/inc class.so.inc.php,1.8,1.9 class.ui.inc.php,1.27,1.28
- Index(es):