[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/templates/default/attributes_form.xsl, 1.3.2
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/templates/default/attributes_form.xsl, 1.3.2.1 |
Date: |
Mon, 27 Dec 2004 14:58:53 +0100 |
Update of /property/templates/default
Modified Files:
Branch: proposed-0_9_18-branch
attributes_form.xsl
date: 2004/12/27 13:58:53; author: sigurdne; state: Exp; lines: +19 -1
Log Message:
no message
=====================================================================
Index: property/templates/default/attributes_form.xsl
diff -u property/templates/default/attributes_form.xsl:1.3
property/templates/default/attributes_form.xsl:1.3.2.1
--- property/templates/default/attributes_form.xsl:1.3 Sat Oct 23 22:11:00 2004
+++ property/templates/default/attributes_form.xsl Mon Dec 27 13:58:53 2004
@@ -75,6 +75,24 @@
</xsl:attribute>
</input>
</xsl:when>
+ <xsl:when
test="datatype='VENDOR'">
+
<xsl:variable name="vendor_name"><xsl:value-of
select="name"/><xsl:text>_org_name</xsl:text></xsl:variable>
+
<xsl:variable name="lookup_function"><xsl:text>lookup_</xsl:text><xsl:value-of
select="name"/><xsl:text>();</xsl:text></xsl:variable>
+ <input
type="text" name="{name}" value="{value}" onClick="{$lookup_function}"
readonly="readonly" size="6" onMouseout="window.status='';return true;" >
+
<xsl:attribute name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+
<xsl:value-of select="statustext"/>
+
<xsl:text>'; return true;</xsl:text>
+
</xsl:attribute>
+ </input>
+ <input
size="30" type="text" name="{$vendor_name}" value="{vendor_name}"
onClick="{$lookup_function}" readonly="readonly">
+
<xsl:attribute name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+
<xsl:value-of select="statustext"/>
+
<xsl:text>'; return true;</xsl:text>
+
</xsl:attribute>
+ </input>
+ </xsl:when>
<xsl:when
test="datatype='D'">
<input
type="text" name="values_attribute[{counter}][value]" value="{value}"
onFocus="{//dateformat_validate}" onKeyUp="{//onKeyUp}" onBlur="{//onBlur}"
size="12" maxlength="10" onMouseout="window.status='';return true;" >
<xsl:attribute name="onMouseover">
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/templates/default/attributes_form.xsl, 1.3.2.1,
nomail <=