[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [13522] documentation_form.xsl
From: |
Saul |
Subject: |
[Fmsystem-commits] [13522] documentation_form.xsl |
Date: |
Thu, 25 Jun 2015 22:46:48 +0000 |
Revision: 13522
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13522
Author: psaul
Date: 2015-06-25 22:46:47 +0000 (Thu, 25 Jun 2015)
Log Message:
-----------
documentation_form.xsl
Modified Paths:
--------------
branches/dev-syncromind/booking/templates/base/documentation_form.xsl
Modified: branches/dev-syncromind/booking/templates/base/documentation_form.xsl
===================================================================
--- branches/dev-syncromind/booking/templates/base/documentation_form.xsl
2015-06-25 22:46:13 UTC (rev 13521)
+++ branches/dev-syncromind/booking/templates/base/documentation_form.xsl
2015-06-25 22:46:47 UTC (rev 13522)
@@ -1,15 +1,19 @@
<xsl:template match="data" xmlns:php="http://php.net/xsl">
- <script type="text/javascript">
+ <!--script type="text/javascript">
YAHOO.booking.documentOwnerType = "<xsl:value-of
select="document/owner_type"/>";
YAHOO.booking.documentOwnerAutocomplete = <xsl:value-of
select="document/inline"/> == 0;
- </script>
+ </script-->
- <div id="content">
+ <!--div id="content"-->
<xsl:call-template name="msgbox"/>
- <xsl:call-template name="yui_booking_i18n"/>
+ <!--xsl:call-template name="yui_booking_i18n"/-->
- <form action="" method="POST" enctype='multipart/form-data'>
- <dl class="form">
+ <form action="" method="POST" enctype='multipart/form-data' id='form'
class="pure-form pure-form-aligned" name="form">
+ <input type="hidden" name="tab" value=""/>
+ <div id="tab-content">
+ <xsl:value-of disable-output-escaping="yes"
select="document/tabs"/>
+ <div id="documentation_edit">
+ <div class="pure-control-group">
<xsl:if test="document/id">
<dt class="heading"><xsl:value-of
select="php:function('lang', 'Edit manual')" /></dt>
</xsl:if>
@@ -22,73 +26,74 @@
<xsl:attribute
name="value"><xsl:value-of select="document/id"/></xsl:attribute>
</input>
</xsl:if>
- <dt><label for="field_name"><xsl:value-of
select="php:function('lang', 'Document')" /></label></dt>
- <dd>
- <input name="name" id='field_name'>
- <xsl:attribute
name="value"><xsl:value-of select="document/name"/></xsl:attribute>
- <xsl:attribute name="type">
- <xsl:choose>
- <xsl:when
test="document/id">text</xsl:when>
-
<xsl:otherwise>file</xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
-
- <xsl:if test="document/id">
- <xsl:attribute
name="disabled" value="disabled"/>
- </xsl:if>
-
- <xsl:attribute
name='title'><xsl:value-of select="document/name"/></xsl:attribute>
- </input>
- </dd>
- </dl>
- <dl class="form-col">
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of select="php:function('lang',
'Document')" />
+ </label>
+ <input name="name" id='field_name'>
+ <xsl:attribute
name="value"><xsl:value-of select="document/name"/></xsl:attribute>
+ <xsl:attribute name="type">
+ <xsl:choose>
+ <xsl:when
test="document/id">text</xsl:when>
+
<xsl:otherwise>file</xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
- <dt><label for="field_description"><xsl:value-of
select="php:function('lang', 'Description')" /></label></dt>
- <dd>
- <textarea name="description"
id='field_description'><xsl:value-of select="document/description"/></textarea>
- </dd>
- </dl>
+ <xsl:if test="document/id">
+ <xsl:attribute
name="disabled" value="disabled"/>
+ </xsl:if>
+
+ <xsl:attribute
name='title'><xsl:value-of select="document/name"/></xsl:attribute>
+ </input>
+ </div>
+ <div class="pure-control-group">
+
+ <label>
+ <xsl:value-of select="php:function('lang',
'Description')" />
+ </label>
+ <textarea name="description"
id='field_description'><xsl:value-of select="document/description"/></textarea>
+ </div>
- <dl class="form-col">
-
- <dt><label for="field_category"><xsl:value-of
select="php:function('lang', 'Category')" /></label></dt>
- <dd>
- <select name='category'
id='field_category'>
- <option value=''><xsl:value-of
select="php:function('lang', 'Select Category...')" /></option>
- <xsl:for-each
select="document/document_types/*">
- <option>
- <xsl:if
test="../../category = local-name()">
-
<xsl:attribute name="selected">selected</xsl:attribute>
- </xsl:if>
-
- <xsl:attribute
name="value"><xsl:value-of select="local-name()"/></xsl:attribute>
- <xsl:value-of
select="php:function('lang', string(node()))"/>
- </option>
- </xsl:for-each>
- </select>
- </dd>
-
- </dl>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of select="php:function('lang',
'Category')" />
+ </label>
+ <select name='category' id='field_category'>
+ <option value=''><xsl:value-of
select="php:function('lang', 'Select Category...')" /></option>
+ <xsl:for-each
select="document/document_types/*">
+ <option>
+ <xsl:if
test="../../category = local-name()">
+ <xsl:attribute
name="selected">selected</xsl:attribute>
+ </xsl:if>
- <div class="clr"/>
- <div class="form-buttons">
- <input type="submit">
- <xsl:attribute name="value">
- <xsl:choose>
- <xsl:when test="document/id">
- <xsl:value-of
select="php:function('lang', 'Update')"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of
select="php:function('lang', 'Create')"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
- </input>
- <a class="cancel">
- <xsl:attribute name="href"><xsl:value-of
select="document/cancel_link"/></xsl:attribute>
- <xsl:value-of select="php:function('lang',
'Cancel')" />
- </a>
- </div>
+ <xsl:attribute
name="value"><xsl:value-of select="local-name()"/></xsl:attribute>
+ <xsl:value-of
select="php:function('lang', string(node()))"/>
+ </option>
+ </xsl:for-each>
+ </select>
+ </div>
+ <div class="clr"/>
+ </div>
+ </div>
+ <div class="form-buttons">
+ <input type="submit" class="button pure-button
pure-button-primary">
+ <xsl:attribute name="value">
+ <xsl:choose>
+ <xsl:when test="document/id">
+ <xsl:value-of
select="php:function('lang', 'Update')"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of
select="php:function('lang', 'Create')"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+ </input>
+ <a class="cancel">
+ <xsl:attribute name="href"><xsl:value-of
select="document/cancel_link"/></xsl:attribute>
+ <xsl:value-of
select="php:function('lang', 'Cancel')" />
+ </a>
+ </div>
</form>
- </div>
+ <!--/div-->
</xsl:template>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [13522] documentation_form.xsl,
Saul <=