phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] property/templates/default/location_form.xsl, 1.2


From: nomail
Subject: [Phpgroupware-cvs] property/templates/default/location_form.xsl, 1.2
Date: Wed, 2 Jun 2004 21:10:19 +0200

Update of /property/templates/default
Added Files:
        Branch: 
          location_form.xsl

date: 2004/06/02 19:10:19;  author: sigurdne;  state: Exp;  lines: +70 -0

Log Message:
no message
=====================================================================
<!-- $Id: location_form.xsl,v 1.2 2004/06/02 19:10:19 sigurdne Exp $ -->

        <xsl:template name="location_form">
                <xsl:apply-templates select="location_data"/>
        </xsl:template>

        <xsl:template match="location_data">
                <script language="JavaScript">
                        self.name="first_Window";
                        <xsl:value-of select="lookup_functions"/>
                </script>
                        <xsl:for-each select="location" >
                                <tr>
                                        <td class="th_text" width="{with}" 
align="{align}">
                                                <xsl:choose>
                                                        <xsl:when 
test="lookup_link=1">
                                                                <a 
href="javascript:{lookup_function_call}" 
onMouseover="window.status='{statustext}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of select="name"/></a>
                                                        </xsl:when>
                                                        <xsl:otherwise>
                                                                <xsl:value-of 
select="name"/>                                   
                                                        </xsl:otherwise>
                                                </xsl:choose>
                                        </td>
                                        <td>
                                                <xsl:choose>
                                                        <xsl:when 
test="readonly=1">
                                                                <input 
size="{size}" type="{input_type}" name="{input_name}" value="{value}"  
onClick="{lookup_function_call}" 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:otherwise>
                                                                <input 
size="{size}" type="{input_type}" name="{input_name}" value="{value}"  
onClick="{lookup_function_call}" >
                                                                        
<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:otherwise>
                                                </xsl:choose>
                                        <xsl:for-each select="extra" >
                                                <xsl:choose>
                                                        <xsl:when 
test="readonly=1">
                                                                <input 
size="{size}" type="{input_type}" name="{input_name}" value="{value}"  
onClick="{lookup_function_call}" 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:otherwise>
                                                                <input 
size="{size}" type="{input_type}" name="{input_name}" value="{value}"  
onClick="{lookup_function_call}" >
                                                                        
<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:otherwise>
                                                </xsl:choose>
                                        </xsl:for-each>
                                        </td>
                                </tr>
                        </xsl:for-each>
        </xsl:template>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]