[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/templates/base wo_hour.xsl
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-cvs] property/templates/base wo_hour.xsl |
Date: |
Fri, 10 Mar 2006 09:20:39 +0000 |
CVSROOT: /sources/phpgroupware
Module name: property
Branch:
Changes by: Sigurd Nes <address@hidden> 06/03/10 09:20:39
Modified files:
templates/base : wo_hour.xsl
Log message:
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgroupware/property/templates/base/wo_hour.xsl.diff?tr1=1.5&tr2=1.6&r1=text&r2=text
Patches:
Index: property/templates/base/wo_hour.xsl
diff -u property/templates/base/wo_hour.xsl:1.5
property/templates/base/wo_hour.xsl:1.6
--- property/templates/base/wo_hour.xsl:1.5 Thu Mar 9 22:05:38 2006
+++ property/templates/base/wo_hour.xsl Fri Mar 10 09:20:39 2006
@@ -1,4 +1,4 @@
-<!-- $Id: wo_hour.xsl,v 1.5 2006/03/09 22:05:38 sigurdne Exp $ -->
+<!-- $Id: wo_hour.xsl,v 1.6 2006/03/10 09:20:39 sigurdne Exp $ -->
<xsl:template name="app_data">
<xsl:choose>
@@ -960,6 +960,12 @@
<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>
+ <td class="th_text" width="5%" align="center">
+ <xsl:value-of select="lang_per_cent"/>
+ </td>
</tr>
</xsl:template>
@@ -1037,8 +1043,22 @@
</xsl:attribute>
</input>
</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>
+ <td>
+ <input type="text" size="3" maxlength =
"3" name="values[cat_per_cent][{counter}]"></input>
+ </td>
</tr>
</xsl:template>
+
<xsl:template match="prizebook">
@@ -1399,7 +1419,7 @@
</select>
</td>
<td>
- <input type="text" size="3"
name="values[per_cent][{counter}]"></input>
+ <input type="text" size="3" maxlength =
"3" name="values[cat_per_cent][{counter}]"></input>
</td>
</tr>
@@ -1514,7 +1534,7 @@
<xsl:value-of
select="wo_hour_category"/>
</td>
<td align="right">
- <xsl:value-of
select="wo_hour_category_percent"/>
+ <xsl:value-of select="cat_per_cent"/>
</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>
@@ -1920,7 +1940,8 @@
<option value=""><xsl:value-of
select="lang_select_wo_hour_category"/></option>
<xsl:apply-templates
select="wo_hour_cat_list"/>
</select>
- <input type="text" size = "3"
name="values[hour_cat_per_cent]" value="{value_cat_per_cent}"
onMouseout="window.status='';return true;">
+ <xsl:value-of select="lang_per_cent"/>
+ <input type="text" size = "3"
maxlength = "3" name="values[cat_per_cent]" value="{value_cat_per_cent}"
onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
<xsl:value-of
select="lang_cat_per_cent_statustext"/>