[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [13530]
From: |
Nelson Guerra |
Subject: |
[Fmsystem-commits] [13530] |
Date: |
Fri, 26 Jun 2015 22:53:26 +0000 |
Revision: 13530
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13530
Author: nelson224
Date: 2015-06-26 22:53:25 +0000 (Fri, 26 Jun 2015)
Log Message:
-----------
Added Paths:
-----------
branches/dev-syncromind/rental/templates/base/composite.xsl
Copied: branches/dev-syncromind/rental/templates/base/composite.xsl (from rev
13528, branches/dev-syncromind/rental/templates/base/party.xsl)
===================================================================
--- branches/dev-syncromind/rental/templates/base/composite.xsl
(rev 0)
+++ branches/dev-syncromind/rental/templates/base/composite.xsl 2015-06-26
22:53:25 UTC (rev 13530)
@@ -0,0 +1,58 @@
+ <!-- $Id: composite.xsl 12604 2015-01-15 17:06:11Z nelson224 $ -->
+<xsl:template match="data">
+ <xsl:apply-templates select="edit" />
+ <xsl:call-template name="jquery_phpgw_i18n"/>
+</xsl:template>
+
+<!-- add / edit -->
+<xsl:template xmlns:php="http://php.net/xsl" match="edit">
+
+ <div>
+ <xsl:variable name="form_action">
+ <xsl:value-of select="form_action"/>
+ </xsl:variable>
+
+ <xsl:value-of select="validator"/>
+
+ <form id="form" name="form" method="post"
action="{$form_action}" class="pure-form pure-form-aligned">
+ <dl>
+ <xsl:choose>
+ <xsl:when test="msgbox_data != ''">
+ <dt>
+ <xsl:call-template
name="msgbox"/>
+ </dt>
+ </xsl:when>
+ </xsl:choose>
+ </dl>
+ <div id="tab-content">
+ <xsl:value-of disable-output-escaping="yes"
select="tabs"/>
+ <div id="details">
+ <fieldset>
+ </fieldset>
+ </div>
+ </div>
+ <div class="proplist-col">
+ <input type="submit" class="pure-button
pure-button-primary" name="save_party" value="{lang_save}"
onMouseout="window.status='';return true;"/>
+ <xsl:choose>
+ <xsl:when test="use_fellesdata = 1">
+ <input type="button"
onclick="onGetSync_data('{sync_info_url}')" class="pure-button
pure-button-primary" name="synchronize" value="{lang_sync_data}"
onMouseout="window.status='';return true;"/>
+ </xsl:when>
+ </xsl:choose>
+ <input type="button" class="pure-button
pure-button-primary" name="party_back" value="{lang_cancel}"
onMouseout="window.status='';return true;"
onClick="document.cancel_form.submit();"/>
+ </div>
+ </form>
+ <xsl:variable name="cancel_url">
+ <xsl:value-of select="cancel_url"/>
+ </xsl:variable>
+ <form name="cancel_form" id="cancel_form"
action="{$cancel_url}" method="post"></form>
+ </div>
+</xsl:template>
+
+<xsl:template match="options">
+ <option value="{id}">
+ <xsl:if test="selected != 0">
+ <xsl:attribute name="selected" value="selected"/>
+ </xsl:if>
+ <xsl:value-of disable-output-escaping="yes" select="name"/>
+ </option>
+</xsl:template>
\ No newline at end of file
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [13530],
Nelson Guerra <=