[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [12378]
From: |
Nelson Guerra |
Subject: |
[Fmsystem-commits] [12378] |
Date: |
Wed, 26 Nov 2014 23:20:03 +0000 |
Revision: 12378
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12378
Author: nelson224
Date: 2014-11-26 23:20:01 +0000 (Wed, 26 Nov 2014)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind/property/templates/base/location_form.xsl
Modified: branches/dev-syncromind/property/templates/base/location_form.xsl
===================================================================
--- branches/dev-syncromind/property/templates/base/location_form.xsl
2014-11-26 23:19:42 UTC (rev 12377)
+++ branches/dev-syncromind/property/templates/base/location_form.xsl
2014-11-26 23:20:01 UTC (rev 12378)
@@ -6,22 +6,36 @@
<!-- New template-->
<xsl:template match="location_data" xmlns:php="http://php.net/xsl">
<xsl:for-each select="location">
- <tr>
- <td class="th_text" width="{with}"
align="{align}" title="{statustext}">
- <label>
- <xsl:choose>
- <xsl:when
test="lookup_link=1">
- <a
href="javascript:{lookup_function_call}" title="{statustext}">
-
<xsl:value-of select="name"/>
- </a>
- </xsl:when>
- <xsl:otherwise>
+ <div class="pure-control-group">
+ <label>
+ <xsl:choose>
+ <xsl:when test="lookup_link=1">
+ <a
href="javascript:{lookup_function_call}" title="{statustext}">
<xsl:value-of
select="name"/>
- </xsl:otherwise>
- </xsl:choose>
- </label>
- </td>
- <td>
+ </a>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of
select="name"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </label>
+ <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="title">
+ <xsl:value-of
select="statustext"/>
+ </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="title">
+ <xsl:value-of
select="statustext"/>
+ </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">
@@ -38,37 +52,19 @@
</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="title">
-
<xsl:value-of select="statustext"/>
-
</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="title">
-
<xsl:value-of select="statustext"/>
-
</xsl:attribute>
- </input>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:choose>
- <xsl:when
test="is_entity=1">
- <input
type="checkbox" name="clear_{input_name}_box" onClick="blank_entity_values()">
-
<xsl:attribute name="title">
-
<xsl:value-of select="php:function('lang', 'delete')"/>
-
</xsl:attribute>
-
<xsl:attribute name="readonly">
-
<xsl:text>readonly</xsl:text>
-
</xsl:attribute>
- </input>
- </xsl:when>
- </xsl:choose>
- </xsl:for-each>
- </td>
- </tr>
+ <xsl:choose>
+ <xsl:when test="is_entity=1">
+ <input type="checkbox"
name="clear_{input_name}_box" onClick="blank_entity_values()">
+ <xsl:attribute
name="title">
+
<xsl:value-of select="php:function('lang', 'delete')"/>
+ </xsl:attribute>
+ <xsl:attribute
name="readonly">
+
<xsl:text>readonly</xsl:text>
+ </xsl:attribute>
+ </input>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:for-each>
+ </div>
</xsl:for-each>
</xsl:template>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [12378],
Nelson Guerra <=