fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [13512] audience_edit.xsl


From: Saul
Subject: [Fmsystem-commits] [13512] audience_edit.xsl
Date: Thu, 25 Jun 2015 22:41:21 +0000

Revision: 13512
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13512
Author:   psaul
Date:     2015-06-25 22:41:21 +0000 (Thu, 25 Jun 2015)
Log Message:
-----------
audience_edit.xsl

Modified Paths:
--------------
    branches/dev-syncromind/booking/templates/base/audience_edit.xsl

Modified: branches/dev-syncromind/booking/templates/base/audience_edit.xsl
===================================================================
--- branches/dev-syncromind/booking/templates/base/audience_edit.xsl    
2015-06-25 22:40:52 UTC (rev 13511)
+++ branches/dev-syncromind/booking/templates/base/audience_edit.xsl    
2015-06-25 22:41:21 UTC (rev 13512)
@@ -1,57 +1,67 @@
 <xsl:template match="data" xmlns:php="http://php.net/xsl";>
-    <div id="content">
-    <h3><xsl:value-of select="php:function('lang', 'Edit target audience')" 
/></h3>
+    <!--div id="content"-->
+    <!--h3><xsl:value-of select="php:function('lang', 'Edit target audience')" 
/></h3-->
     <xsl:call-template name="msgbox"/>
-       <xsl:call-template name="yui_booking_i18n"/>
-    <form action="" method="POST">
-    
-        <dl class="form-col">
-            <dt><label for="field_name"><xsl:value-of 
select="php:function('lang', 'Target audience')" /></label></dt>
-            <dd>
-                <input id="field_name" name="name" type="text">
-                    <xsl:attribute name="value"><xsl:value-of 
select="audience/name"/></xsl:attribute>
+       <!--xsl:call-template name="yui_booking_i18n"/-->
+    <form action="" method="POST" 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="audience/tabs"/>
+                <div id="audience_edit">
+                    <fieldset>                        
+                        <div class="pure-control-group">
+                            <label>
+                                <xsl:value-of select="php:function('lang', 
'Target audience')" />
+                            </label>
+                                <input id="field_name" name="name" type="text">
+                                    <xsl:attribute name="value"><xsl:value-of 
select="audience/name"/></xsl:attribute>
+                                </input>
+                        </div>
+                        <div class="pure-control-group">
+                            <label>
+                                <xsl:value-of select="php:function('lang', 
'Active')" />
+                            </label>
+                                <select id="field_active" name="active">
+                                    <option value="1">
+                                        <xsl:if test="audience/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="audience/active=0">
+                                                <xsl:attribute 
name="selected">checked</xsl:attribute>
+                                        </xsl:if>
+                                        <xsl:value-of 
select="php:function('lang', 'Inactive')" />
+                                    </option>
+                                </select>
+                        </div>
+                        <div class="pure-control-group">
+                            <label>
+                                <xsl:value-of select="php:function('lang', 
'Sort order')" />
+                            </label>
+                                <input id="field_sort" name="sort" type="text" 
value="{audience/sort}"/>
+                        </div>
+                        <div class="pure-control-group">
+                            <label>
+                                <xsl:value-of select="php:function('lang', 
'Description')" />
+                            </label>
+                                <textarea cols="5" rows="5" 
id="field_description" name="description">
+                                   <xsl:value-of 
select="audience/description"/>
+                                </textarea>
+                        </div>
+                    </fieldset>    
+                </div>
+            </div>
+            <div class="form-buttons">
+                <input type="submit" class="button pure-button 
pure-button-primary">
+                   <xsl:attribute name="value"><xsl:value-of 
select="php:function('lang', 'Create')" /></xsl:attribute>
                 </input>
-            </dd>
-            <dt><label for="field_active"><xsl:value-of 
select="php:function('lang', 'Active')" /></label></dt>
-            <dd>
-                <select id="field_active" name="active">
-                    <option value="1">
-                       <xsl:if test="audience/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="audience/active=0">
-                               <xsl:attribute 
name="selected">checked</xsl:attribute>
-                       </xsl:if>
-                        <xsl:value-of select="php:function('lang', 
'Inactive')" />
-                    </option>
-                </select>
-            </dd>
-            <dt><label for="field_sort"><xsl:value-of 
select="php:function('lang', 'Sort order')" /></label></dt>
-            <dd>
-                <input id="field_sort" name="sort" type="text" 
value="{audience/sort}"/>
-            </dd>
-            <dt><label for="field_description"><xsl:value-of 
select="php:function('lang', 'Description')" /></label></dt>
-            <dd>
-                <textarea cols="5" rows="5" id="field_description" 
name="description">
-                   <xsl:value-of select="audience/description"/>
-                </textarea>
-            </dd>
-        </dl>
-
-
-
-        <div class="form-buttons">
-            <input type="submit">
-                               <xsl:attribute name="value"><xsl:value-of 
select="php:function('lang', 'Create')" /></xsl:attribute>
-                       </input>
-            <a class="cancel">
-                <xsl:attribute name="href"><xsl:value-of 
select="audience/cancel_link"></xsl:value-of></xsl:attribute>
-                <xsl:value-of select="php:function('lang', 'Cancel')" />
-            </a>                       
-               </div>        
+                <a class="cancel">
+                    <xsl:attribute name="href"><xsl:value-of 
select="audience/cancel_link"></xsl:value-of></xsl:attribute>
+                    <xsl:value-of select="php:function('lang', 'Cancel')" />
+                </a>                   
+            </div>
     </form>
-    </div>
+    <!--/div-->
 </xsl:template>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]