[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [14098]
From: |
Nelson Guerra |
Subject: |
[Fmsystem-commits] [14098] |
Date: |
Fri, 02 Oct 2015 21:03:16 +0000 |
Revision: 14098
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14098
Author: nelson224
Date: 2015-10-02 21:03:16 +0000 (Fri, 02 Oct 2015)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind/booking/templates/base/building_form.xsl
Modified: branches/dev-syncromind/booking/templates/base/building_form.xsl
===================================================================
--- branches/dev-syncromind/booking/templates/base/building_form.xsl
2015-10-02 21:03:01 UTC (rev 14097)
+++ branches/dev-syncromind/booking/templates/base/building_form.xsl
2015-10-02 21:03:16 UTC (rev 14098)
@@ -20,38 +20,38 @@
<input type="hidden" name="tab" value=""/>
<div id="tab-content">
<xsl:value-of disable-output-escaping="yes"
select="building/tabs"/>
- <div id="building_form">
+ <div id="building_form" class="booking-container">
<div class="pure-control-group">
<label for="field_building_name">
- <h4><xsl:value-of
select="php:function('lang', 'Building Name')" /></h4>
+ <xsl:value-of select="php:function('lang',
'Building Name')" />
</label>
<input id="field_building_name" name="name"
type="text" value="{building/name}">
<xsl:attribute name="data-validation">
<xsl:text>required</xsl:text>
</xsl:attribute>
- </input>
+ </input>
</div>
<div class="pure-control-group">
<label for="field_phone">
- <h4><xsl:value-of
select="php:function('lang', 'Telephone')" /></h4>
+ <xsl:value-of select="php:function('lang',
'Telephone')" />
</label>
<input id="field_phone" name="phone"
type="text" value="{building/phone}"/>
</div>
<div class="pure-control-group">
<label for="field_email">
- <h4><xsl:value-of
select="php:function('lang', 'Email')" /></h4>
+ <xsl:value-of select="php:function('lang',
'Email')" />
</label>
<input id="field_email" name="email"
type="text" value="{building/email}"/>
</div>
<div class="pure-control-group">
<label for="field_homepage">
- <h4><xsl:value-of
select="php:function('lang', 'Homepage')" /></h4>
+ <xsl:value-of select="php:function('lang',
'Homepage')" />
</label>
<input id="field_homepage" name="homepage"
type="text" value="{building/homepage}"/>
</div>
<div class="pure-control-group">
<label for="field_location_code_name">
- <h4><xsl:value-of
select="php:function('lang', 'Location Code')" /></h4>
+ <xsl:value-of select="php:function('lang',
'Location Code')" />
</label>
<!--div class="autocomplete"-->
<input id="field_location_code"
name="location_code" type="hidden" value="{building/location_code}"/>
@@ -60,180 +60,180 @@
</div>
<div class="pure-control-group">
<label for="field_street">
- <h4><xsl:value-of
select="php:function('lang', 'Street')"/></h4>
+ <xsl:value-of select="php:function('lang',
'Street')"/>
</label>
<input id="field_street" name="street"
type="text" value="{building/street}"/>
</div>
<div class="pure-control-group">
<label for="field_zip_code">
- <h4><xsl:value-of
select="php:function('lang', 'Zip code')"/></h4>
+ <xsl:value-of select="php:function('lang',
'Zip code')"/>
</label>
<input type="text" name="zip_code"
id="field_zip_code" value="{building/zip_code}"/>
</div>
<div class="pure-control-group">
<label for="field_city">
- <h4><xsl:value-of
select="php:function('lang', 'Postal City')"/></h4>
+ <xsl:value-of select="php:function('lang',
'Postal City')"/>
</label>
<input type="text" name="city" id="field_city"
value="{building/city}"/>
</div>
<div class="pure-control-group">
<label for="field_district">
- <h4><xsl:value-of
select="php:function('lang', 'District')"/></h4>
+ <xsl:value-of select="php:function('lang',
'District')"/>
</label>
<input type="text" name="district"
id="field_district" value="{building/district}"/>
- </div>
+ </div>
+ <xsl:if
test="not(new_form)">
+ <div
class="pure-control-group">
+ <label
for="field_active">
+
<xsl:value-of select="php:function('lang', 'Active')"/>
+ </label>
+ <select
id="field_active" name="active">
+
<option value="1">
+
<xsl:if test="building/active=1">
+
<xsl:attribute name="selected">checked</xsl:attribute>
+
</xsl:if>
+
<xsl:value-of select="php:function('lang', 'Active')"/>
+
</option>
+
<option value="0">
+
<xsl:if test="building/active=0">
+
<xsl:attribute name="selected">checked</xsl:attribute>
+
</xsl:if>
+
<xsl:value-of select="php:function('lang', 'Inactive')"/>
+
</option>
+
</select>
+ </div>
+ </xsl:if>
<div class="pure-control-group">
- <xsl:if test="not(new_form)">
- <label for="field_active">
- <h4><xsl:value-of
select="php:function('lang', 'Active')"/></h4>
- </label>
- <select id="field_active" name="active">
- <option value="1">
- <xsl:if test="building/active=1">
- <xsl:attribute
name="selected">checked</xsl:attribute>
- </xsl:if>
- <xsl:value-of
select="php:function('lang', 'Active')"/>
- </option>
- <option value="0">
- <xsl:if test="building/active=0">
- <xsl:attribute
name="selected">checked</xsl:attribute>
- </xsl:if>
- <xsl:value-of
select="php:function('lang', 'Inactive')"/>
- </option>
- </select>
- </xsl:if>
- </div>
- <div class="pure-control-group">
<label for="field_tilsyn_name">
- <h4><xsl:value-of
select="php:function('lang', 'Tilsynsvakt name')" /></h4>
+ <xsl:value-of select="php:function('lang',
'Tilsynsvakt name')" />
</label>
<input id="field_tilsyn_name"
name="tilsyn_name" type="text" value="{building/tilsyn_name}"/>
</div>
<div class="pure-control-group">
<label for="field_tilsyn_phone">
- <h4><xsl:value-of
select="php:function('lang', 'Tilsynsvakt telephone')" /></h4>
+ <xsl:value-of select="php:function('lang',
'Tilsynsvakt telephone')" />
</label>
<input id="field_tilsyn_phone"
name="tilsyn_phone" type="text" value="{building/tilsyn_phone}"/>
</div>
<div class="pure-control-group">
<label for="field_tilsyn_email">
- <h4><xsl:value-of
select="php:function('lang', 'Tilsynsvakt email')" /></h4>
+ <xsl:value-of select="php:function('lang',
'Tilsynsvakt email')" />
</label>
<input id="field_tilsyn_email"
name="tilsyn_email" type="text" value="{building/tilsyn_email}"/>
</div>
<div class="pure-control-group">
<label for="field_tilsyn_name2">
- <h4><xsl:value-of
select="php:function('lang', 'Tilsynsvakt name')" /></h4>
+ <xsl:value-of select="php:function('lang',
'Tilsynsvakt name')" />
</label>
<input id="field_tilsyn_name2"
name="tilsyn_name2" type="text" value="{building/tilsyn_name2}"/>
</div>
<div class="pure-control-group">
<label for="field_tilsyn_phone2">
- <h4><xsl:value-of
select="php:function('lang', 'Tilsynsvakt telephone')" /></h4>
+ <xsl:value-of select="php:function('lang',
'Tilsynsvakt telephone')" />
</label>
<input id="field_tilsyn_phone2"
name="tilsyn_phone2" type="text" value="{building/tilsyn_phone2}"/>
</div>
<div class="pure-control-group">
<label for="field_tilsyn_email2">
- <h4><xsl:value-of
select="php:function('lang', 'Tilsynsvakt email')" /></h4>
+ <xsl:value-of select="php:function('lang',
'Tilsynsvakt email')" />
</label>
<input id="field_tilsyn_email2"
name="tilsyn_email2" type="text" value="{building/tilsyn_email2}"/>
- </div>
+ </div>
+ <xsl:if
test="not(new_form)">
+ <div
class="pure-control-group">
+ <label
for="for_field_deactivate_application">
+
<xsl:value-of select="php:function('lang', 'Deactivate application')"/>
+ </label>
+ <select
id="for_field_deactivate_application" name="deactivate_application">
+
<option value="1">
+
<xsl:if test="building/deactivate_application=1">
+
<xsl:attribute name="selected">checked</xsl:attribute>
+
</xsl:if>
+
<xsl:value-of select="php:function('lang', 'Yes')"/>
+
</option>
+
<option value="0">
+
<xsl:if test="building/deactivate_application=0">
+
<xsl:attribute name="selected">checked</xsl:attribute>
+
</xsl:if>
+
<xsl:value-of select="php:function('lang', 'No')"/>
+
</option>
+
</select>
+ </div>
+ </xsl:if>
+ <xsl:if
test="not(new_form)">
+ <div
class="pure-control-group">
+ <label
for="for_deactivate_calendar">
+
<xsl:value-of select="php:function('lang', 'Deactivate calendar')"/>
+ </label>
+ <select
id="for_deactivate_calendar" name="deactivate_calendar">
+
<option value="1">
+
<xsl:if test="building/deactivate_calendar=1">
+
<xsl:attribute name="selected">checked</xsl:attribute>
+
</xsl:if>
+
<xsl:value-of select="php:function('lang', 'Yes')"/>
+
</option>
+
<option value="0">
+
<xsl:if test="building/deactivate_calendar=0">
+
<xsl:attribute name="selected">checked</xsl:attribute>
+
</xsl:if>
+
<xsl:value-of select="php:function('lang', 'No')"/>
+
</option>
+
</select>
+ </div>
+ </xsl:if>
+ <xsl:if
test="not(new_form)">
+ <div
class="pure-control-group">
+ <label
for="for_deactivate_sendmessage">
+
<xsl:value-of select="php:function('lang', 'Deactivate send message')"/>
+ </label>
+ <select
id="for_deactivate_sendmessage" name="deactivate_sendmessage">
+
<option value="1">
+
<xsl:if test="building/deactivate_sendmessage=1">
+
<xsl:attribute name="selected">checked</xsl:attribute>
+
</xsl:if>
+
<xsl:value-of select="php:function('lang', 'Yes')"/>
+
</option>
+
<option value="0">
+
<xsl:if test="building/deactivate_sendmessage=0">
+
<xsl:attribute name="selected">checked</xsl:attribute>
+
</xsl:if>
+
<xsl:value-of select="php:function('lang', 'No')"/>
+
</option>
+
</select>
+ </div>
+ </xsl:if>
+ <xsl:if
test="not(new_form) and building/extra=1">
+ <div
class="pure-control-group">
+ <label
for="for_extra_kalendar">
+
<xsl:value-of select="php:function('lang', 'Extra kalendar for public opening
times')"/>
+ </label>
+ <select
id="for_extra_kalendar" name="extra_kalendar">
+
<option value="1">
+
<xsl:if test="building/extra_kalendar=1">
+
<xsl:attribute name="selected">checked</xsl:attribute>
+
</xsl:if>
+
<xsl:value-of select="php:function('lang', 'Yes')"/>
+
</option>
+
<option value="0">
+
<xsl:if test="building/extra_kalendar=0">
+
<xsl:attribute name="selected">checked</xsl:attribute>
+
</xsl:if>
+
<xsl:value-of select="php:function('lang', 'No')"/>
+
</option>
+
</select>
+ </div>
+ </xsl:if>
<div class="pure-control-group">
- <xsl:if test="not(new_form)">
- <label
for="for_field_deactivate_application">
- <h4><xsl:value-of
select="php:function('lang', 'Deactivate application')"/></h4>
- </label>
- <select
id="for_field_deactivate_application" name="deactivate_application">
- <option value="1">
- <xsl:if
test="building/deactivate_application=1">
- <xsl:attribute
name="selected">checked</xsl:attribute>
- </xsl:if>
- <xsl:value-of
select="php:function('lang', 'Yes')"/>
- </option>
- <option value="0">
- <xsl:if
test="building/deactivate_application=0">
- <xsl:attribute
name="selected">checked</xsl:attribute>
- </xsl:if>
- <xsl:value-of
select="php:function('lang', 'No')"/>
- </option>
- </select>
- </xsl:if>
- </div>
- <div class="pure-control-group">
- <xsl:if test="not(new_form)">
- <label for="for_deactivate_calendar">
- <h4><xsl:value-of
select="php:function('lang', 'Deactivate calendar')"/></h4>
- </label>
- <select id="for_deactivate_calendar"
name="deactivate_calendar">
- <option value="1">
- <xsl:if
test="building/deactivate_calendar=1">
- <xsl:attribute
name="selected">checked</xsl:attribute>
- </xsl:if>
- <xsl:value-of
select="php:function('lang', 'Yes')"/>
- </option>
- <option value="0">
- <xsl:if
test="building/deactivate_calendar=0">
- <xsl:attribute
name="selected">checked</xsl:attribute>
- </xsl:if>
- <xsl:value-of
select="php:function('lang', 'No')"/>
- </option>
- </select>
- </xsl:if>
- </div>
- <div class="pure-control-group">
- <xsl:if test="not(new_form)">
- <label for="for_deactivate_sendmessage">
- <h4><xsl:value-of
select="php:function('lang', 'Deactivate send message')"/></h4>
- </label>
- <select id="for_deactivate_sendmessage"
name="deactivate_sendmessage">
- <option value="1">
- <xsl:if
test="building/deactivate_sendmessage=1">
- <xsl:attribute
name="selected">checked</xsl:attribute>
- </xsl:if>
- <xsl:value-of
select="php:function('lang', 'Yes')"/>
- </option>
- <option value="0">
- <xsl:if
test="building/deactivate_sendmessage=0">
- <xsl:attribute
name="selected">checked</xsl:attribute>
- </xsl:if>
- <xsl:value-of
select="php:function('lang', 'No')"/>
- </option>
- </select>
- </xsl:if>
- </div>
- <div class="pure-control-group">
- <xsl:if test="not(new_form) and
building/extra=1">
- <label for="for_extra_kalendar">
- <h4><xsl:value-of
select="php:function('lang', 'Extra kalendar for public opening times')"/></h4>
- </label>
- <select id="for_extra_kalendar"
name="extra_kalendar">
- <option value="1">
- <xsl:if
test="building/extra_kalendar=1">
- <xsl:attribute
name="selected">checked</xsl:attribute>
- </xsl:if>
- <xsl:value-of
select="php:function('lang', 'Yes')"/>
- </option>
- <option value="0">
- <xsl:if
test="building/extra_kalendar=0">
- <xsl:attribute
name="selected">checked</xsl:attribute>
- </xsl:if>
- <xsl:value-of
select="php:function('lang', 'No')"/>
- </option>
- </select>
- </xsl:if>
- </div>
- <div class="pure-control-group">
<label for="field_calendar_text">
- <h4><xsl:value-of
select="php:function('lang', 'Calendar text')" /></h4>
+ <xsl:value-of select="php:function('lang',
'Calendar text')" />
</label>
<textarea id="field_calendar_text"
name="calendar_text" type="text"><xsl:value-of
select="building/calendar_text"/></textarea>
</div>
<div class="pure-control-group">
- <label for="field_description"
style="vertical-align:top;">
- <h4><xsl:value-of
select="php:function('lang', 'Description')" /></h4>
+ <label for="field_description">
+ <xsl:value-of select="php:function('lang',
'Description')" />
</label>
- <div
style="display:inline-block;max-width:80%;">
+ <div class="custom-container">
<textarea id="field_description"
name="description" type="text"><xsl:value-of
select="building/description"/></textarea>
</div>
</div>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [14098],
Nelson Guerra <=