[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/templates/default entity.xsl, 1.4, 1.5 attri
From: |
Sigurd Nes <address@hidden> |
Subject: |
[Phpgroupware-cvs] property/templates/default entity.xsl, 1.4, 1.5 attributes_form.xsl, 1.8, 1.9 lookup.xsl, 1.23, 1.24 |
Date: |
Wed, 29 Oct 2003 20:46:18 +0000 |
Update of /cvsroot/phpgroupware/property/templates/default
In directory subversions:/tmp/cvs-serv23390/templates/default
Modified Files:
entity.xsl attributes_form.xsl lookup.xsl
Log Message:
no message
Index: lookup.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/lookup.xsl,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** lookup.xsl 18 Sep 2003 19:06:18 -0000 1.23
--- lookup.xsl 29 Oct 2003 20:46:15 -0000 1.24
***************
*** 28,33 ****
function ExchangeVendor(thisform)
{
! opener.document.form.vendor_id.value =
thisform.elements[0].value;
! opener.document.form.vendor_name.value =
thisform.elements[1].value;
window.close()
}
--- 28,33 ----
function ExchangeVendor(thisform)
{
! opener.document.form.<xsl:value-of
select="contact_id"/>.value = thisform.elements[0].value;
! opener.document.form.<xsl:value-of
select="org_name"/>.value = thisform.elements[1].value;
window.close()
}
Index: attributes_form.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/attributes_form.xsl,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** attributes_form.xsl 18 Oct 2003 22:15:52 -0000 1.8
--- attributes_form.xsl 29 Oct 2003 20:46:15 -0000 1.9
***************
*** 69,72 ****
--- 69,88 ----
</input>
</xsl:when>
+ <xsl:when
test="datatype='AB'">
+ <input
type="text" name="values_attribute[{counter}][value]" value="{value}" size="30"
onMouseout="window.status='';return true;" >
+
<xsl:attribute name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+
<xsl:value-of select="descr"/>
+
<xsl:text>'; return true;</xsl:text>
+
</xsl:attribute>
+ </input>
+ <input
size="30" type="text" value="{org_name}" onClick="vendor_lookup();"
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='T'">
<textarea cols="40" rows="6" name="values_attribute[{counter}][value]"
wrap="virtual" onMouseout="window.status='';return true;">
Index: entity.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/entity.xsl,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** entity.xsl 26 Oct 2003 20:33:01 -0000 1.4
--- entity.xsl 29 Oct 2003 20:46:15 -0000 1.5
***************
*** 165,168 ****
--- 165,173 ----
<SCRIPT LANGUAGE="JavaScript"
SRC="{$dateformat_source}"></SCRIPT>
+ <script language="JavaScript">
+ self.name="first_Window";
+ <xsl:value-of select="lookup_functions"/>
+ </script>
+
<div align="left">
***************
*** 425,428 ****
--- 430,451 ----
</select>
</xsl:when>
+ <xsl:when
test="datatype='AB'">
+
<xsl:variable name="org_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="5" 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="{$org_name}" value="{org_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;" >
***************
*** 514,517 ****
--- 537,556 ----
</xsl:for-each>
</select>
+ </xsl:when>
+ <xsl:when
test="datatype='AB'">
+ <input
type="text" value="{value}" readonly="readonly" size="5"
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" value="{org_name}" 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'">
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/templates/default entity.xsl, 1.4, 1.5 attributes_form.xsl, 1.8, 1.9 lookup.xsl, 1.23, 1.24,
Sigurd Nes <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] phpgroupware test_xmlrpc.xml,1.1.2.1,1.1.2.2
- Next by Date:
[Phpgroupware-cvs] property/inc class.bocommon.inc.php, 1.90, 1.91 class.uientity.inc.php, 1.6, 1.7 class.soentity.inc.php, 1.7, 1.8 class.boadmin_entity.inc.php, 1.6, 1.7 class.boentity.inc.php, 1.4, 1.5 class.uilookup.inc.php, 1.30, 1.31
- Previous by thread:
[Phpgroupware-cvs] phpgroupware test_xmlrpc.xml,1.1.2.1,1.1.2.2
- Next by thread:
[Phpgroupware-cvs] property/inc class.bocommon.inc.php, 1.90, 1.91 class.uientity.inc.php, 1.6, 1.7 class.soentity.inc.php, 1.7, 1.8 class.boadmin_entity.inc.php, 1.6, 1.7 class.boentity.inc.php, 1.4, 1.5 class.uilookup.inc.php, 1.30, 1.31
- Index(es):