[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/templates/default wo_hour.xsl,1.6
From: |
sigurdne |
Subject: |
[Phpgroupware-cvs] property/templates/default wo_hour.xsl,1.6 |
Date: |
Fri, 9 Sep 2005 12:52:00 +0200 |
Update of property/templates/default
Modified Files:
Branch: MAIN
wo_hour.xsl lines: +46 -1
Log Message:
no message
====================================================
Index: property/templates/default/wo_hour.xsl
diff -u property/templates/default/wo_hour.xsl:1.5
property/templates/default/wo_hour.xsl:1.6
--- property/templates/default/wo_hour.xsl:1.5 Thu Aug 11 10:46:40 2005
+++ property/templates/default/wo_hour.xsl Fri Sep 9 10:52:13 2005
@@ -1309,6 +1309,9 @@
<td class="th_text" width="5%" align="center">
<xsl:value-of select="lang_select"/>
</td>
+ <td class="th_text" width="5%" align="center">
+ <xsl:value-of select="lang_category"/>
+ </td>
</tr>
</xsl:template>
@@ -1381,6 +1384,19 @@
</xsl:when>
</xsl:choose>
</td>
+
+ <td>
+ <xsl:variable
name="lang_wo_hour_cat_statustext"><xsl:value-of
select="lang_wo_hour_cat_statustext"/></xsl:variable>
+ <select
name="values[wo_hour_cat][{counter}]" class="forms"
onMouseover="window.status='{$lang_wo_hour_cat_statustext}'; return true;"
onMouseout="window.status='';return true;">
+ <option
value=""><xsl:value-of select="//lang_no_wo_hour_cat"/></option>
+ <xsl:for-each
select="//wo_hour_cat_list" >
+ <xsl:variable
name="id"><xsl:value-of select="id"/></xsl:variable>
+ <option
value="{$id}"><xsl:value-of disable-output-escaping="yes"
select="name"/></option>
+ </xsl:for-each>
+ </select>
+ </td>
+
+
</tr>
</xsl:template>
@@ -1417,6 +1433,9 @@
<xsl:value-of select="lang_result"/>
</td>
<td class="th_text" width="5%" align="center">
+ <xsl:value-of select="lang_category"/>
+ </td>
+ <td class="th_text" width="5%" align="center">
<xsl:value-of select="lang_edit"/>
</td>
<td class="th_text" width="5%" align="center">
@@ -1483,6 +1502,9 @@
<td align="right">
<xsl:value-of select="result"/>
</td>
+ <td align="right">
+ <xsl:value-of
select="wo_hour_category"/>
+ </td>
<td align="center">
<xsl:variable
name="link_edit"><xsl:value-of select="link_edit"/>&from=<xsl:value-of
select="//function"/>&template_id=<xsl:value-of
select="//template_id"/></xsl:variable>
<a href="{$link_edit}"
onMouseover="window.status='{$lang_edit_statustext}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="text_edit"/></a>
@@ -1878,6 +1900,18 @@
</td>
</tr>
<tr>
+ <td>
+ <xsl:value-of
select="lang_wo_hour_category"/>
+ </td>
+ <td>
+ <xsl:variable
name="lang_wo_hour_cat_statustext"><xsl:value-of
select="lang_to_email_address_statustext"/></xsl:variable>
+ <select name="values[wo_hour_cat]"
class="forms" onMouseover="window.status='{$lang_wo_hour_cat_statustext}';
return true;" onMouseout="window.status='';return true;">
+ <option value=""><xsl:value-of
select="lang_select_wo_hour_category"/></option>
+ <xsl:apply-templates
select="wo_hour_cat_list"/>
+ </select>
+ </td>
+ </tr>
+ <tr>
<td valign="top">
<xsl:value-of select="lang_quantity"/>
</td>
@@ -2081,4 +2115,15 @@
</div>
</xsl:template>
+ <xsl:template match="wo_hour_cat_list">
+ <xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
+ <xsl:choose>
+ <xsl:when test="selected">
+ <option value="{$id}"
selected="selected"><xsl:value-of disable-output-escaping="yes"
select="name"/></option>
+ </xsl:when>
+ <xsl:otherwise>
+ <option value="{$id}"><xsl:value-of
disable-output-escaping="yes" select="name"/></option>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/templates/default wo_hour.xsl,1.6,
sigurdne <=