[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [12701]
From: |
Nelson Guerra |
Subject: |
[Fmsystem-commits] [12701] |
Date: |
Wed, 04 Feb 2015 15:32:50 +0000 |
Revision: 12701
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12701
Author: nelson224
Date: 2015-02-04 15:32:50 +0000 (Wed, 04 Feb 2015)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind/property/templates/pure/contact_form.xsl
Modified: branches/dev-syncromind/property/templates/pure/contact_form.xsl
===================================================================
--- branches/dev-syncromind/property/templates/pure/contact_form.xsl
2015-02-04 14:20:02 UTC (rev 12700)
+++ branches/dev-syncromind/property/templates/pure/contact_form.xsl
2015-02-04 15:32:50 UTC (rev 12701)
@@ -13,48 +13,34 @@
}
</script>
<div class="pure-control-group">
-
- <div class="pure-u-1 pure-u-md-1-3">
- <label for='contact'>
- <a href="javascript:{field}_contact_lookup()"
title="{lang_select_contact_help}">
- <xsl:value-of select="lang_contact"/>
- </a>
- </label>
- <div class="pure-u-md-1-3">
- <table id = 'contact'>
- <tr>
- <td>
- <input type="hidden"
name="{field}" value="{value_contact_id}">
- </input>
- <input size="30"
type="text" name="{field}_name" value="{value_contact_name}"
onClick="{field}_contact_lookup();" readonly="readonly">
- <xsl:attribute
name="title">
-
<xsl:value-of select="lang_select_contact_help"/>
- </xsl:attribute>
- </input>
- </td>
- </tr>
- <xsl:choose>
- <xsl:when
test="value_contact_tel!=''">
- <tr>
- <td>
-
<xsl:value-of select="value_contact_tel"/>
- </td>
- </tr>
- </xsl:when>
- </xsl:choose>
- <xsl:choose>
- <xsl:when
test="value_contact_email!=''">
- <tr>
- <td>
- <a
href="mailto:{value_contact_email}">
-
<xsl:value-of select="value_contact_email"/>
- </a>
- </td>
- </tr>
- </xsl:when>
- </xsl:choose>
- </table>
- </div>
+ <label for='contact'>
+ <a href="javascript:{field}_contact_lookup()"
title="{lang_select_contact_help}">
+ <xsl:value-of select="lang_contact"/>
+ </a>
+ </label>
+ <div class="pure-custom">
+ <input type="hidden" name="{field}"
value="{value_contact_id}"></input>
+ <input size="30" type="text" name="{field}_name"
value="{value_contact_name}" onClick="{field}_contact_lookup();"
readonly="readonly">
+ <xsl:attribute name="title">
+ <xsl:value-of
select="lang_select_contact_help"/>
+ </xsl:attribute>
+ </input>
+ <xsl:choose>
+ <xsl:when test="value_contact_tel!=''">
+ <div>
+ <xsl:value-of
select="value_contact_tel"/>
+ </div>
+ </xsl:when>
+ </xsl:choose>
+ <xsl:choose>
+ <xsl:when test="value_contact_email!=''">
+ <div>
+ <a
href="mailto:{value_contact_email}">
+ <xsl:value-of
select="value_contact_email"/>
+ </a>
+ </div>
+ </xsl:when>
+ </xsl:choose>
</div>
</div>
</xsl:template>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [12701],
Nelson Guerra <=