fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [16644] More on eventplanner


From: sigurdne
Subject: [Fmsystem-commits] [16644] More on eventplanner
Date: Thu, 27 Apr 2017 11:52:49 -0400 (EDT)

Revision: 16644
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16644
Author:   sigurdne
Date:     2017-04-27 11:52:49 -0400 (Thu, 27 Apr 2017)
Log Message:
-----------
More on eventplanner

Modified Paths:
--------------
    trunk/eventplanner/inc/class.uiapplication.inc.php
    trunk/eventplanner/inc/model/class.application.inc.php
    trunk/eventplanner/setup/phpgw_no.lang
    trunk/eventplanner/setup/setup.inc.php
    trunk/eventplanner/setup/tables_current.inc.php
    trunk/eventplanner/setup/tables_update.inc.php
    trunk/eventplanner/templates/base/application.xsl
    trunk/eventplanner/templates/base/application_info.xsl
    trunk/eventplannerfrontend/templates/base/application.xsl
    trunk/eventplannerfrontend/templates/base/application_info.xsl
    trunk/eventplannerfrontend/templates/base/customer.xsl
    trunk/eventplannerfrontend/templates/base/vendor.xsl

Modified: trunk/eventplanner/inc/class.uiapplication.inc.php
===================================================================
--- trunk/eventplanner/inc/class.uiapplication.inc.php  2017-04-27 14:31:07 UTC 
(rev 16643)
+++ trunk/eventplanner/inc/class.uiapplication.inc.php  2017-04-27 15:52:49 UTC 
(rev 16644)
@@ -418,7 +418,8 @@
                                        'select_name' => 'category_id',
                                        'selected'      => 
$application->category_id ? $application->category_id : $default_category,
                                        'use_acl' => $this->_category_acl,
-                                       'required' => true)),
+                                       'required' => true,
+                                       'class'=>'pure-input-1-2')),
                                'status_list' => array('options' => 
$this->get_status_options($application->status)),
                                'application_type_list' => 
$application_type_list,
                                'wardrobe_list' =>  array('options' => 
$wardrobe_list),

Modified: trunk/eventplanner/inc/model/class.application.inc.php
===================================================================
--- trunk/eventplanner/inc/model/class.application.inc.php      2017-04-27 
14:31:07 UTC (rev 16643)
+++ trunk/eventplanner/inc/model/class.application.inc.php      2017-04-27 
15:52:49 UTC (rev 16644)
@@ -62,6 +62,7 @@
                        $audience_limit,
                        $title,
                        $description,
+                       $summary,
                        $remark,
                        $contact_name,
                        $contact_email,
@@ -177,6 +178,11 @@
                                        'label' => 'application description',
                                        'sortable' => false,
                                        ),
+                               'summary' => array('action'=> PHPGW_ACL_ADD | 
PHPGW_ACL_EDIT,
+                                       'type' => 'string',
+                                       'label' => 'summary',
+                                       'sortable' => false,
+                                       ),
                                'remark' => array('action'=> PHPGW_ACL_ADD | 
PHPGW_ACL_EDIT,
                                        'type' => 'string',
                                        'label' => 'description',

Modified: trunk/eventplanner/setup/phpgw_no.lang
===================================================================
--- trunk/eventplanner/setup/phpgw_no.lang      2017-04-27 14:31:07 UTC (rev 
16643)
+++ trunk/eventplanner/setup/phpgw_no.lang      2017-04-27 15:52:49 UTC (rev 
16644)
@@ -120,4 +120,5 @@
 booking interval       eventplanner    no      Booking intervall
 days   eventplanner    no      dager
 hours  eventplanner    no      Timer
-there is a minimum interval of %1 hours        eventplanner    no      Det er 
et minimumsintervall på %1 time(r)
\ No newline at end of file
+there is a minimum interval of %1 hours        eventplanner    no      Det er 
et minimumsintervall på %1 time(r)
+summary        eventplanner    no      kortversjon programbeskrivelse
\ No newline at end of file

Modified: trunk/eventplanner/setup/setup.inc.php
===================================================================
--- trunk/eventplanner/setup/setup.inc.php      2017-04-27 14:31:07 UTC (rev 
16643)
+++ trunk/eventplanner/setup/setup.inc.php      2017-04-27 15:52:49 UTC (rev 
16644)
@@ -11,7 +11,7 @@
         * @version $Id: setup.inc.php 14728 2016-02-11 22:28:46Z sigurdne $
         */
        $setup_info['eventplanner']['name'] = 'eventplanner';
-       $setup_info['eventplanner']['version'] = '0.9.18.008';
+       $setup_info['eventplanner']['version'] = '0.9.18.009';
        $setup_info['eventplanner']['app_order'] = 20;
        $setup_info['eventplanner']['enable'] = 1;
        $setup_info['eventplanner']['app_group'] = 'office';

Modified: trunk/eventplanner/setup/tables_current.inc.php
===================================================================
--- trunk/eventplanner/setup/tables_current.inc.php     2017-04-27 14:31:07 UTC 
(rev 16643)
+++ trunk/eventplanner/setup/tables_current.inc.php     2017-04-27 15:52:49 UTC 
(rev 16644)
@@ -148,6 +148,7 @@
                                'other_participants' => array('type' => 'text', 
'nullable' => True),
                                'title' => array('type' => 'text', 'nullable' 
=> False),
                                'description' => array('type' => 'text', 
'nullable' => False),
+                               'summary' => array('type' => 'text', 'nullable' 
=> true),
                                'remark' => array('type' => 'text', 'nullable' 
=> True),
                                'contact_name' => array('type' => 'text', 
'nullable' => False),
                                'contact_email' => array('type' => 'text', 
'nullable' => False),

Modified: trunk/eventplanner/setup/tables_update.inc.php
===================================================================
--- trunk/eventplanner/setup/tables_update.inc.php      2017-04-27 14:31:07 UTC 
(rev 16643)
+++ trunk/eventplanner/setup/tables_update.inc.php      2017-04-27 15:52:49 UTC 
(rev 16644)
@@ -355,3 +355,20 @@
                }
                return $GLOBALS['setup_info']['eventplanner']['currentver'];
        }
+
+       $test[] = '0.9.18.008';
+       function eventplanner_upgrade0_9_18_008()
+       {
+               $GLOBALS['phpgw_setup']->oProc->m_odb->transaction_begin();
+
+               
$GLOBALS['phpgw_setup']->oProc->AddColumn('eventplanner_application', 
'summary', array(
+                       'type' => 'text',
+                       'nullable' => true
+               ));
+
+               if($GLOBALS['phpgw_setup']->oProc->m_odb->transaction_commit())
+               {
+                       $GLOBALS['setup_info']['eventplanner']['currentver'] = 
'0.9.18.009';
+               }
+               return $GLOBALS['setup_info']['eventplanner']['currentver'];
+       }

Modified: trunk/eventplanner/templates/base/application.xsl
===================================================================
--- trunk/eventplanner/templates/base/application.xsl   2017-04-27 14:31:07 UTC 
(rev 16643)
+++ trunk/eventplanner/templates/base/application.xsl   2017-04-27 15:52:49 UTC 
(rev 16644)
@@ -129,7 +129,7 @@
                                                                                
<xsl:value-of select="$lang_vendor"/>
                                                                        
</xsl:attribute>
                                                                </input>
-                                                               <input 
type="text" id="vendor_name" name="vendor_name" 
value="{application/vendor_name}">
+                                                               <input 
type="text" id="vendor_name" name="vendor_name" 
value="{application/vendor_name}" class="pure-input-1-2" >
                                                                        
<xsl:attribute name="placeholder">
                                                                                
<xsl:value-of select="$lang_vendor"/>
                                                                        
</xsl:attribute>
@@ -149,7 +149,7 @@
                                                                <label>
                                                                        
<xsl:value-of select="php:function('lang', 'contact name')"/>
                                                                </label>
-                                                               <input 
type="text" id="contact_name" name="contact_name" 
value="{application/contact_name}">
+                                                               <input 
type="text" id="contact_name" name="contact_name" 
value="{application/contact_name}" class="pure-input-1-2" >
                                                                        
<xsl:attribute name="data-validation">
                                                                                
<xsl:text>required</xsl:text>
                                                                        
</xsl:attribute>
@@ -165,7 +165,7 @@
                                                                <label>
                                                                        
<xsl:value-of select="php:function('lang', 'contact email')"/>
                                                                </label>
-                                                               <input 
type="text" id="contact_email" name="contact_email" 
value="{application/contact_email}">
+                                                               <input 
type="text" id="contact_email" name="contact_email" 
value="{application/contact_email}" class="pure-input-1-2" >
                                                                        
<xsl:attribute name="data-validation">
                                                                                
<xsl:text>required</xsl:text>
                                                                        
</xsl:attribute>
@@ -182,7 +182,7 @@
                                                                <label>
                                                                        
<xsl:value-of select="php:function('lang', 'contact phone')"/>
                                                                </label>
-                                                               <input 
type="text" id="contact_phone" name="contact_phone" 
value="{application/contact_phone}">
+                                                               <input 
type="text" id="contact_phone" name="contact_phone" 
value="{application/contact_phone}" class="pure-input-1-2" >
                                                                        
<xsl:attribute name="data-validation">
                                                                                
<xsl:text>required</xsl:text>
                                                                        
</xsl:attribute>
@@ -198,7 +198,7 @@
                                                                <label>
                                                                        
<xsl:value-of select="php:function('lang', 'other participants')"/>
                                                                </label>
-                                                               <textarea 
cols="47" rows="7" name="other_participants">
+                                                               <textarea 
cols="47" rows="7" name="other_participants" class="pure-input-1-2" >
                                                                        
<xsl:value-of select="application/other_participants"/>
                                                                </textarea>
                                                        </div>
@@ -211,7 +211,7 @@
                                                                <label>
                                                                        
<xsl:value-of select="php:function('lang', 'program title')"/>
                                                                </label>
-                                                               <input 
type="text" id="title" name="title" value="{application/title}">
+                                                               <input 
type="text" id="title" name="title" value="{application/title}" 
class="pure-input-1-2" >
                                                                        
<xsl:attribute name="data-validation">
                                                                                
<xsl:text>required</xsl:text>
                                                                        
</xsl:attribute>
@@ -227,7 +227,7 @@
                                                                <label>
                                                                        
<xsl:value-of select="php:function('lang', 'program description')"/>
                                                                </label>
-                                                               <textarea 
cols="47" rows="7" name="description">
+                                                               <textarea 
cols="47" rows="7" name="description" class="pure-input-1-2" >
                                                                        
<xsl:attribute name="title">
                                                                                
<xsl:value-of select="php:function('lang', 'might be published')"/>
                                                                        
</xsl:attribute>
@@ -377,7 +377,7 @@
                                                                <label>
                                                                        
<xsl:value-of select="php:function('lang', 'remark')"/>
                                                                </label>
-                                                               <textarea 
cols="47" rows="7" name="remark">
+                                                               <textarea 
cols="47" rows="7" name="remark" class="pure-input-1-2" >
                                                                        
<xsl:value-of select="application/remark"/>
                                                                </textarea>
                                                        </div>
@@ -438,9 +438,17 @@
                                                        </div>
                                                        <div 
class="pure-control-group">
                                                                <label>
+                                                                       
<xsl:value-of select="php:function('lang', 'summary')"/>
+                                                               </label>
+                                                               <textarea 
cols="47" rows="7" name="summary" class="pure-input-1-2" >
+                                                                       
<xsl:value-of select="application/summary"/>
+                                                               </textarea>
+                                                       </div>
+                                                       <div 
class="pure-control-group">
+                                                               <label>
                                                                        
<xsl:value-of select="php:function('lang', 'comment')"/>
                                                                </label>
-                                                               <textarea 
cols="47" rows="7" name="comment">
+                                                               <textarea 
cols="47" rows="7" name="comment" class="pure-input-1-2" >
                                                                        
<xsl:value-of select="application/comment"/>
                                                                </textarea>
                                                        </div>
@@ -504,7 +512,7 @@
                                                                <label>
                                                                        
<xsl:value-of select="php:function('lang', 'stage requirement')"/>
                                                                </label>
-                                                               <textarea 
cols="47" rows="7" name="stage_requirement">
+                                                               <textarea 
cols="47" rows="7" name="stage_requirement" class="pure-input-1-2" >
                                                                        
<xsl:value-of select="application/stage_requirement"/>
                                                                </textarea>
                                                        </div>
@@ -683,7 +691,7 @@
                                                        <div 
class="pure-control-group">
                                                                <label>
                                                                </label>
-                                                               <textarea 
cols="47" rows="7" name="raider">
+                                                               <textarea 
cols="47" rows="7" name="raider" class="pure-input-1-2" >
                                                                        
<xsl:value-of select="application/raider"/>
                                                                </textarea>
                                                        </div>

Modified: trunk/eventplanner/templates/base/application_info.xsl
===================================================================
--- trunk/eventplanner/templates/base/application_info.xsl      2017-04-27 
14:31:07 UTC (rev 16643)
+++ trunk/eventplanner/templates/base/application_info.xsl      2017-04-27 
15:52:49 UTC (rev 16644)
@@ -18,6 +18,12 @@
 
        <div class="pure-control-group">
                <label>
+                       <xsl:value-of select="php:function('lang', 'program 
description')"/>
+               </label>
+               <xsl:value-of select="application/summary"/>
+       </div>
+       <div class="pure-control-group">
+               <label>
                        <xsl:value-of select="php:function('lang', 'remark')"/>
                </label>
                <xsl:value-of select="application/remark"/>

Modified: trunk/eventplannerfrontend/templates/base/application.xsl
===================================================================
--- trunk/eventplannerfrontend/templates/base/application.xsl   2017-04-27 
14:31:07 UTC (rev 16643)
+++ trunk/eventplannerfrontend/templates/base/application.xsl   2017-04-27 
15:52:49 UTC (rev 16644)
@@ -129,7 +129,7 @@
                                                                                
<xsl:value-of select="$lang_vendor"/>
                                                                        
</xsl:attribute>
                                                                </input>
-                                                               <input 
type="text" id="vendor_name" name="vendor_name" 
value="{application/vendor_name}">
+                                                               <input 
type="text" id="vendor_name" name="vendor_name" 
value="{application/vendor_name}" class="pure-input-1-2" >
                                                                        
<xsl:attribute name="placeholder">
                                                                                
<xsl:value-of select="$lang_vendor"/>
                                                                        
</xsl:attribute>
@@ -150,7 +150,7 @@
                                                                <label>
                                                                        
<xsl:value-of select="php:function('lang', 'contact name')"/>
                                                                </label>
-                                                               <input 
type="text" id="contact_name" name="contact_name" 
value="{application/contact_name}">
+                                                               <input 
type="text" id="contact_name" name="contact_name" 
value="{application/contact_name}" class="pure-input-1-2" >
                                                                        
<xsl:attribute name="data-validation">
                                                                                
<xsl:text>required</xsl:text>
                                                                        
</xsl:attribute>
@@ -166,7 +166,7 @@
                                                                <label>
                                                                        
<xsl:value-of select="php:function('lang', 'contact email')"/>
                                                                </label>
-                                                               <input 
type="text" id="contact_email" name="contact_email" 
value="{application/contact_email}">
+                                                               <input 
type="text" id="contact_email" name="contact_email" 
value="{application/contact_email}" class="pure-input-1-2" >
                                                                        
<xsl:attribute name="data-validation">
                                                                                
<xsl:text>required</xsl:text>
                                                                        
</xsl:attribute>
@@ -183,7 +183,7 @@
                                                                <label>
                                                                        
<xsl:value-of select="php:function('lang', 'contact phone')"/>
                                                                </label>
-                                                               <input 
type="text" id="contact_phone" name="contact_phone" 
value="{application/contact_phone}">
+                                                               <input 
type="text" id="contact_phone" name="contact_phone" 
value="{application/contact_phone}" class="pure-input-1-2" >
                                                                        
<xsl:attribute name="data-validation">
                                                                                
<xsl:text>required</xsl:text>
                                                                        
</xsl:attribute>
@@ -199,7 +199,7 @@
                                                                <label>
                                                                        
<xsl:value-of select="php:function('lang', 'other participants')"/>
                                                                </label>
-                                                               <textarea 
cols="47" rows="7" name="other_participants">
+                                                               <textarea 
cols="47" rows="7" name="other_participants" class="pure-input-1-2" >
                                                                        
<xsl:value-of select="application/other_participants"/>
                                                                </textarea>
                                                        </div>
@@ -212,7 +212,7 @@
                                                                <label>
                                                                        
<xsl:value-of select="php:function('lang', 'program title')"/>
                                                                </label>
-                                                               <input 
type="text" id="title" name="title" value="{application/title}">
+                                                               <input 
type="text" id="title" name="title" value="{application/title}" 
class="pure-input-1-2" >
                                                                        
<xsl:attribute name="data-validation">
                                                                                
<xsl:text>required</xsl:text>
                                                                        
</xsl:attribute>
@@ -228,7 +228,7 @@
                                                                <label>
                                                                        
<xsl:value-of select="php:function('lang', 'program description')"/>
                                                                </label>
-                                                               <textarea 
cols="47" rows="7" name="description">
+                                                               <textarea 
cols="47" rows="7" name="description" class="pure-input-1-2" >
                                                                        
<xsl:attribute name="title">
                                                                                
<xsl:value-of select="php:function('lang', 'might be published')"/>
                                                                        
</xsl:attribute>
@@ -376,9 +376,17 @@
 
                                                        <div 
class="pure-control-group">
                                                                <label>
+                                                                       
<xsl:value-of select="php:function('lang', 'summary')"/>
+                                                               </label>
+                                                               <textarea 
cols="47" rows="7" name="summary" class="pure-input-1-2" >
+                                                                       
<xsl:value-of select="application/summary"/>
+                                                               </textarea>
+                                                       </div>
+                                                       <div 
class="pure-control-group">
+                                                               <label>
                                                                        
<xsl:value-of select="php:function('lang', 'remark')"/>
                                                                </label>
-                                                               <textarea 
cols="47" rows="7" name="remark">
+                                                               <textarea 
cols="47" rows="7" name="remark" class="pure-input-1-2" >
                                                                        
<xsl:value-of select="application/remark"/>
                                                                </textarea>
                                                        </div>

Modified: trunk/eventplannerfrontend/templates/base/application_info.xsl
===================================================================
--- trunk/eventplannerfrontend/templates/base/application_info.xsl      
2017-04-27 14:31:07 UTC (rev 16643)
+++ trunk/eventplannerfrontend/templates/base/application_info.xsl      
2017-04-27 15:52:49 UTC (rev 16644)
@@ -15,6 +15,12 @@
                </label>
                <xsl:value-of select="application/title"/>
        </div>
+       <div class="pure-control-group">
+               <label>
+                       <xsl:value-of select="php:function('lang', 'program 
description')"/>
+               </label>
+               <xsl:value-of select="application/summary"/>
+       </div>
 
        <div class="pure-control-group">
                <label>

Modified: trunk/eventplannerfrontend/templates/base/customer.xsl
===================================================================
--- trunk/eventplannerfrontend/templates/base/customer.xsl      2017-04-27 
14:31:07 UTC (rev 16643)
+++ trunk/eventplannerfrontend/templates/base/customer.xsl      2017-04-27 
15:52:49 UTC (rev 16644)
@@ -50,7 +50,7 @@
                                                        <label>
                                                                <xsl:value-of 
select="$lang_category"/>
                                                        </label>
-                                                       <select 
name="category_id">
+                                                       <select 
name="category_id" class="pure-input-1-2" >
                                                                <xsl:attribute 
name="title">
                                                                        
<xsl:value-of select="$lang_category"/>
                                                                </xsl:attribute>
@@ -67,7 +67,7 @@
                                                        <label>
                                                                <xsl:value-of 
select="php:function('lang', 'name')"/>
                                                        </label>
-                                                       <input type="text" 
name="name" value="{customer/name}">
+                                                       <input type="text" 
name="name" value="{customer/name}" class="pure-input-1-2" >
                                                                <xsl:attribute 
name="data-validation">
                                                                        
<xsl:text>required</xsl:text>
                                                                </xsl:attribute>
@@ -88,7 +88,7 @@
                                                        <label>
                                                                <xsl:value-of 
select="php:function('lang', 'address')"/>
                                                        </label>
-                                                       <input type="text" 
name="address_1" value="{customer/address_1}">
+                                                       <input type="text" 
name="address_1" value="{customer/address_1}" class="pure-input-1-4" >
                                                                <xsl:attribute 
name="data-validation">
                                                                        
<xsl:text>required</xsl:text>
                                                                </xsl:attribute>
@@ -97,7 +97,7 @@
                                                                </xsl:attribute>
 
                                                        </input>
-                                                       <input type="text" 
name="address_2" value="{customer/address_2}">
+                                                       <input type="text" 
name="address_2" value="{customer/address_2}" class="pure-input-1-4" >
                                                                <xsl:attribute 
name="placeholder">
                                                                        
<xsl:value-of select="$lang_address_2"/>
                                                                </xsl:attribute>
@@ -107,7 +107,7 @@
                                                        <label>
                                                                <xsl:value-of 
select="php:function('lang', 'zip code')"/>
                                                        </label>
-                                                       <input type="text" 
name="zip_code" value="{customer/zip_code}">
+                                                       <input type="text" 
name="zip_code" value="{customer/zip_code}" class="pure-input-1-4" >
                                                                <xsl:attribute 
name="data-validation">
                                                                        
<xsl:text>required</xsl:text>
                                                                </xsl:attribute>
@@ -115,7 +115,7 @@
                                                                        
<xsl:value-of select="php:function('lang', 'zip code')"/>
                                                                </xsl:attribute>
                                                        </input>
-                                                       <input type="text" 
name="city" value="{customer/city}">
+                                                       <input type="text" 
name="city" value="{customer/city}" class="pure-input-1-4" >
                                                                <xsl:attribute 
name="data-validation">
                                                                        
<xsl:text>required</xsl:text>
                                                                </xsl:attribute>
@@ -128,7 +128,7 @@
                                                        <label>
                                                                <xsl:value-of 
select="php:function('lang', 'organization number')"/>
                                                        </label>
-                                                       <input type="text" 
id="organization_number" name="organization_number" 
value="{customer/organization_number}">
+                                                       <input type="text" 
id="organization_number" name="organization_number" 
value="{customer/organization_number}" class="pure-input-1-2" >
                                                                <xsl:attribute 
name="data-validation">
                                                                        
<xsl:text>organization_number</xsl:text>
                                                                </xsl:attribute>
@@ -144,7 +144,7 @@
                                                        <label>
                                                                <xsl:value-of 
select="php:function('lang', 'account number')"/>
                                                        </label>
-                                                       <input type="text" 
id="account_number" name="account_number" value="{customer/account_number}">
+                                                       <input type="text" 
id="account_number" name="account_number" value="{customer/account_number}" 
class="pure-input-1-2" >
                                                                <xsl:attribute 
name="data-validation">
                                                                        
<xsl:text>account_number</xsl:text>
                                                                </xsl:attribute>
@@ -160,7 +160,7 @@
                                                        <label>
                                                                <xsl:value-of 
select="php:function('lang', 'number of users')"/>
                                                        </label>
-                                                       <input type="text" 
name="number_of_users" value="{customer/number_of_users}">
+                                                       <input type="text" 
name="number_of_users" value="{customer/number_of_users}" 
class="pure-input-1-2" >
                                                                <xsl:attribute 
name="data-validation">
                                                                        
<xsl:text>number</xsl:text>
                                                                </xsl:attribute>
@@ -173,7 +173,7 @@
                                                        <label>
                                                                <xsl:value-of 
select="php:function('lang', 'contact name')"/>
                                                        </label>
-                                                       <input type="text" 
name="contact_name" value="{customer/contact_name}">
+                                                       <input type="text" 
name="contact_name" value="{customer/contact_name}" class="pure-input-1-2" >
                                                                <xsl:attribute 
name="data-validation">
                                                                        
<xsl:text>required</xsl:text>
                                                                </xsl:attribute>
@@ -186,7 +186,7 @@
                                                        <label>
                                                                <xsl:value-of 
select="php:function('lang', 'email')"/>
                                                        </label>
-                                                       <input type="text" 
name="contact_email" id="contact_email" value="{customer/contact_email}">
+                                                       <input type="text" 
name="contact_email" id="contact_email" value="{customer/contact_email}" 
class="pure-input-1-2" >
                                                                <xsl:attribute 
name="data-validation">
                                                                        
<xsl:text>email</xsl:text>
                                                                </xsl:attribute>
@@ -199,7 +199,7 @@
                                                        <label>
                                                                <xsl:value-of 
select="php:function('lang', 'contact phone')"/>
                                                        </label>
-                                                       <input type="text" 
name="contact_phone" value="{customer/contact_phone}">
+                                                       <input type="text" 
name="contact_phone" value="{customer/contact_phone}" class="pure-input-1-2" >
                                                                <xsl:attribute 
name="data-validation">
                                                                        
<xsl:text>required</xsl:text>
                                                                </xsl:attribute>
@@ -213,7 +213,7 @@
                                                                <xsl:value-of 
select="php:function('lang', 'contact name')"/>
                                                                <xsl:text> 
2</xsl:text>
                                                        </label>
-                                                       <input type="text" 
name="contact2_name" id="contact2_name" value="{customer/contact2_name}">
+                                                       <input type="text" 
name="contact2_name" id="contact2_name" value="{customer/contact2_name}" 
class="pure-input-1-2" >
                                                                <xsl:attribute 
name="data-validation-optional">
                                                                        
<xsl:text>true</xsl:text>
                                                                </xsl:attribute>
@@ -227,7 +227,7 @@
                                                                <xsl:value-of 
select="php:function('lang', 'email')"/>
                                                                <xsl:text> 
2</xsl:text>
                                                        </label>
-                                                       <input type="text" 
name="contact2_email" id="contact2_email" value="{customer/contact2_email}">
+                                                       <input type="text" 
name="contact2_email" id="contact2_email" value="{customer/contact2_email}" 
class="pure-input-1-2" >
                                                                <xsl:attribute 
name="data-validation">
                                                                        
<xsl:text>email</xsl:text>
                                                                </xsl:attribute>
@@ -244,7 +244,7 @@
                                                                <xsl:value-of 
select="php:function('lang', 'contact phone')"/>
                                                                <xsl:text> 
2</xsl:text>
                                                        </label>
-                                                       <input type="text" 
name="contact2_phone" id="contact2_phone" value="{customer/contact2_phone}">
+                                                       <input type="text" 
name="contact2_phone" id="contact2_phone" value="{customer/contact2_phone}" 
class="pure-input-1-2" >
                                                                <xsl:attribute 
name="data-validation-depends-on">
                                                                        
<xsl:text>contact2_name</xsl:text>
                                                                </xsl:attribute>
@@ -260,7 +260,7 @@
                                                        <label>
                                                                <xsl:value-of 
select="php:function('lang', 'description')"/>
                                                        </label>
-                                                       <textarea cols="47" 
rows="7" name="description">
+                                                       <textarea cols="47" 
rows="7" name="description" class="pure-input-1-2" >
                                                                <xsl:value-of 
select="customer/description"/>
                                                        </textarea>
                                                </div>
@@ -268,7 +268,7 @@
                                                        <label>
                                                                <xsl:value-of 
select="php:function('lang', 'remark')"/>
                                                        </label>
-                                                       <textarea cols="47" 
rows="7" name="remark">
+                                                       <textarea cols="47" 
rows="7" name="remark" class="pure-input-1-2" >
                                                                <xsl:value-of 
select="customer/remark"/>
                                                        </textarea>
                                                </div>

Modified: trunk/eventplannerfrontend/templates/base/vendor.xsl
===================================================================
--- trunk/eventplannerfrontend/templates/base/vendor.xsl        2017-04-27 
14:31:07 UTC (rev 16643)
+++ trunk/eventplannerfrontend/templates/base/vendor.xsl        2017-04-27 
15:52:49 UTC (rev 16644)
@@ -50,7 +50,7 @@
                                                        <label>
                                                                <xsl:value-of 
select="$lang_category"/>
                                                        </label>
-                                                       <select 
name="category_id">
+                                                       <select 
name="category_id" class="pure-input-1-2" >
                                                                <xsl:attribute 
name="title">
                                                                        
<xsl:value-of select="$lang_category"/>
                                                                </xsl:attribute>
@@ -67,7 +67,7 @@
                                                        <label>
                                                                <xsl:value-of 
select="php:function('lang', 'name')"/>
                                                        </label>
-                                                       <input type="text" 
name="name" value="{vendor/name}">
+                                                       <input type="text" 
name="name" value="{vendor/name}" class="pure-input-1-2" >
                                                                <xsl:attribute 
name="data-validation">
                                                                        
<xsl:text>required</xsl:text>
                                                                </xsl:attribute>
@@ -88,7 +88,7 @@
                                                        <label>
                                                                <xsl:value-of 
select="php:function('lang', 'address')"/>
                                                        </label>
-                                                       <input type="text" 
name="address_1" value="{vendor/address_1}">
+                                                       <input type="text" 
name="address_1" value="{vendor/address_1}" class="pure-input-1-4" >
                                                                <xsl:attribute 
name="data-validation">
                                                                        
<xsl:text>required</xsl:text>
                                                                </xsl:attribute>
@@ -97,7 +97,7 @@
                                                                </xsl:attribute>
 
                                                        </input>
-                                                       <input type="text" 
name="address_2" value="{vendor/address_2}">
+                                                       <input type="text" 
name="address_2" value="{vendor/address_2}" class="pure-input-1-4" >
                                                                <xsl:attribute 
name="placeholder">
                                                                        
<xsl:value-of select="$lang_address_2"/>
                                                                </xsl:attribute>
@@ -107,7 +107,8 @@
                                                        <label>
                                                                <xsl:value-of 
select="php:function('lang', 'zip code')"/>
                                                        </label>
-                                                       <input type="text" 
name="zip_code" value="{vendor/zip_code}">
+                                                       
+                                                       <input type="text" 
name="zip_code" value="{vendor/zip_code}" class="pure-input-1-4" >
                                                                <xsl:attribute 
name="data-validation">
                                                                        
<xsl:text>required</xsl:text>
                                                                </xsl:attribute>
@@ -115,7 +116,7 @@
                                                                        
<xsl:value-of select="php:function('lang', 'zip code')"/>
                                                                </xsl:attribute>
                                                        </input>
-                                                       <input type="text" 
name="city" value="{vendor/city}">
+                                                       <input type="text" 
name="city" value="{vendor/city}" class="pure-input-1-4" >
                                                                <xsl:attribute 
name="data-validation">
                                                                        
<xsl:text>required</xsl:text>
                                                                </xsl:attribute>
@@ -128,7 +129,7 @@
                                                        <label>
                                                                <xsl:value-of 
select="php:function('lang', 'organization number')"/>
                                                        </label>
-                                                       <input type="text" 
id="organization_number" name="organization_number" 
value="{vendor/organization_number}">
+                                                       <input type="text" 
id="organization_number" name="organization_number" 
value="{vendor/organization_number}" class="pure-input-1-2" >
                                                                <xsl:attribute 
name="data-validation">
                                                                        
<xsl:text>organization_number</xsl:text>
                                                                </xsl:attribute>
@@ -141,7 +142,7 @@
                                                        <label>
                                                                <xsl:value-of 
select="php:function('lang', 'contact name')"/>
                                                        </label>
-                                                       <input type="text" 
name="contact_name" value="{vendor/contact_name}">
+                                                       <input type="text" 
name="contact_name" value="{vendor/contact_name}" class="pure-input-1-2" >
                                                                <xsl:attribute 
name="data-validation">
                                                                        
<xsl:text>required</xsl:text>
                                                                </xsl:attribute>
@@ -154,7 +155,7 @@
                                                        <label>
                                                                <xsl:value-of 
select="php:function('lang', 'email')"/>
                                                        </label>
-                                                       <input type="text" 
name="contact_email" id="contact_email" value="{vendor/contact_email}">
+                                                       <input type="text" 
name="contact_email" id="contact_email" value="{vendor/contact_email}" 
class="pure-input-1-2" >
                                                                <xsl:attribute 
name="data-validation">
                                                                        
<xsl:text>email</xsl:text>
                                                                </xsl:attribute>
@@ -167,7 +168,7 @@
                                                        <label>
                                                                <xsl:value-of 
select="php:function('lang', 'contact phone')"/>
                                                        </label>
-                                                       <input type="text" 
name="contact_phone" value="{vendor/contact_phone}">
+                                                       <input type="text" 
name="contact_phone" value="{vendor/contact_phone}" class="pure-input-1-2" >
                                                                <xsl:attribute 
name="data-validation">
                                                                        
<xsl:text>required</xsl:text>
                                                                </xsl:attribute>
@@ -180,7 +181,7 @@
                                                        <label>
                                                                <xsl:value-of 
select="php:function('lang', 'account number')"/>
                                                        </label>
-                                                       <input type="text" 
name="account_number" value="{vendor/account_number}">
+                                                       <input type="text" 
name="account_number" value="{vendor/account_number}" class="pure-input-1-2" >
                                                                <xsl:attribute 
name="data-validation">
                                                                        
<xsl:text>account_number</xsl:text>
                                                                </xsl:attribute>
@@ -193,7 +194,7 @@
                                                        <label>
                                                                <xsl:value-of 
select="php:function('lang', 'vendor description')"/>
                                                        </label>
-                                                       <textarea cols="47" 
rows="7" name="description">
+                                                       <textarea cols="47" 
rows="7" name="description" class="pure-input-1-2" >
                                                                <xsl:attribute 
name="data-validation">
                                                                        
<xsl:text>required</xsl:text>
                                                                </xsl:attribute>
@@ -204,7 +205,7 @@
                                                        <label>
                                                                <xsl:value-of 
select="php:function('lang', 'remark')"/>
                                                        </label>
-                                                       <textarea cols="47" 
rows="7" name="remark">
+                                                       <textarea cols="47" 
rows="7" name="remark" class="pure-input-1-2" >
                                                                <xsl:value-of 
select="vendor/remark"/>
                                                        </textarea>
                                                </div>




reply via email to

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