[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [15827] more on eventplanner
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [15827] more on eventplanner |
Date: |
Fri, 14 Oct 2016 17:41:44 +0000 (UTC) |
Revision: 15827
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15827
Author: sigurdne
Date: 2016-10-14 17:41:44 +0000 (Fri, 14 Oct 2016)
Log Message:
-----------
more on eventplanner
Modified Paths:
--------------
trunk/eventplanner/inc/class.uiapplication.inc.php
trunk/eventplanner/inc/model/class.application.inc.php
trunk/eventplanner/js/portico/application.edit.js
trunk/eventplanner/setup/phpgw_no.lang
trunk/eventplanner/setup/tables_current.inc.php
trunk/eventplanner/templates/base/application.xsl
Modified: trunk/eventplanner/inc/class.uiapplication.inc.php
===================================================================
--- trunk/eventplanner/inc/class.uiapplication.inc.php 2016-10-13 18:05:10 UTC
(rev 15826)
+++ trunk/eventplanner/inc/class.uiapplication.inc.php 2016-10-14 17:41:44 UTC
(rev 15827)
@@ -283,6 +283,34 @@
)
);
+ $application_type_list =
execMethod('eventplanner.bogeneric.get_list', array('type' =>
'application_type'));
+ $types = (array)$application->types;
+ if($types)
+ {
+ foreach ($application_type_list as
&$application_type)
+ {
+ foreach ($types as $type)
+ {
+ if($type['type_id'] ==
$application_type['id'])
+ {
+
$application_type['selected'] = 1;
+ break;
+ }
+ }
+ }
+ }
+ $wardrobe_list = array();
+ $wardrobe_list[] = array('id' => 0, 'name' =>
lang('no'));
+ $wardrobe_list[] = array('id' => 1, 'name' =>
lang('yes'));
+
+ foreach ($wardrobe_list as &$wardrobe)
+ {
+ $wardrobe['selected'] = $wardrobe['id'] ==
$application->wardrobe ? 1: 0;
+ }
+
+// _debug_array($application_type_list);
+// _debug_array($application->types);
+// die();
$data = array(
'datatable_def' => $datatable_def,
'form_action' =>
$GLOBALS['phpgw']->link('/index.php', array('menuaction' =>
'eventplanner.uiapplication.save')),
@@ -295,6 +323,8 @@
'use_acl' => $this->_category_acl,
'required' => true)),
'status_list' => array('options' =>
$this->get_status_options($application->status)),
+ 'application_type_list' =>
$application_type_list,
+ 'wardrobe_list' => array('options' =>
$wardrobe_list),
'mode' => $mode,
'tabs' =>
phpgwapi_jquery::tabview_generate($tabs, $active_tab),
'value_active_tab' => $active_tab
Modified: trunk/eventplanner/inc/model/class.application.inc.php
===================================================================
--- trunk/eventplanner/inc/model/class.application.inc.php 2016-10-13
18:05:10 UTC (rev 15826)
+++ trunk/eventplanner/inc/model/class.application.inc.php 2016-10-14
17:41:44 UTC (rev 15827)
@@ -53,14 +53,18 @@
$secret,
$frontend_modified,
$owner_id,
+ $other_participants,
+ $stage_width,
+ $stage_depth,
+ $stage_requirement,
+ $wardrobe,
+ $audience_limit,
+ $title,
$description,
$remark,
$contact_name,
$contact_email,
$contact_phone,
-// $customer_identifier_type,
-// $customer_ssn,
-// $customer_organization_number,
$case_officer_id,
$case_officer_name,
$types,
@@ -84,7 +88,8 @@
$sound_remark,
$light_remark,
$piano_remark,
- $equipment_remark;
+ $equipment_remark,
+ $raider;
protected $field_of_responsibility_name = '.application';
@@ -164,6 +169,16 @@
'type' => 'int',
'required' => false
),
+ 'other_participants' => array('action'=>
PHPGW_ACL_ADD | PHPGW_ACL_EDIT,
+ 'type' => 'string',
+ 'label' => 'other participants',
+ 'required' => false
+ ),
+ 'title' => array('action'=> PHPGW_ACL_READ |
PHPGW_ACL_ADD | PHPGW_ACL_EDIT,
+ 'type' => 'string',
+ 'label' => 'title',
+ 'sortable' => false,
+ ),
'description' => array('action'=> PHPGW_ACL_ADD
| PHPGW_ACL_EDIT,
'type' => 'string',
'label' => 'description',
@@ -308,6 +323,26 @@
'required' => true,
'history' => true,
),
+ 'stage_width' => array('action'=>
PHPGW_ACL_ADD | PHPGW_ACL_EDIT,
+ 'type' => 'int',
+ 'required' => false,
+ ),
+ 'stage_depth' => array('action'=>
PHPGW_ACL_ADD | PHPGW_ACL_EDIT,
+ 'type' => 'int',
+ 'required' => false,
+ ),
+ 'stage_requirement' => array('action'=>
PHPGW_ACL_ADD | PHPGW_ACL_EDIT,
+ 'type' => 'string',
+ 'required' => false,
+ ),
+ 'wardrobe' => array('action'=> PHPGW_ACL_ADD |
PHPGW_ACL_EDIT,
+ 'type' => 'int',
+ 'required' => false,
+ ),
+ 'audience_limit' => array('action'=>
PHPGW_ACL_ADD | PHPGW_ACL_EDIT,
+ 'type' => 'int',
+ 'required' => false,
+ ),
'rig_up_min_before' => array('action'=>
PHPGW_ACL_ADD | PHPGW_ACL_EDIT,
'type' => 'int',
'required' => false,
@@ -364,6 +399,10 @@
'type' => 'string',
'required' => false,
),
+ 'raider' => array('action'=> PHPGW_ACL_ADD |
PHPGW_ACL_EDIT,
+ 'type' => 'string',
+ 'required' => false,
+ ),
/*
'company_name' => array(
'action'=> PHPGW_ACL_ADD |
PHPGW_ACL_EDIT,
Modified: trunk/eventplanner/js/portico/application.edit.js
===================================================================
--- trunk/eventplanner/js/portico/application.edit.js 2016-10-13 18:05:10 UTC
(rev 15826)
+++ trunk/eventplanner/js/portico/application.edit.js 2016-10-14 17:41:44 UTC
(rev 15827)
@@ -16,6 +16,17 @@
calculate_total_amount();
+ $("#stage_width").change(function ()
+ {
+ calculate_stage_size();
+ });
+ $("#stage_depth").change(function ()
+ {
+ calculate_stage_size();
+ });
+
+ calculate_stage_size();
+
$.formUtils.addValidator({
name: 'naming',
validatorFunction: function (value, $el, config, languaje,
$form)
@@ -48,10 +59,24 @@
var number_of_units = $("#number_of_units").val();
var charge_per_unit = $("#charge_per_unit").val();
- if(charge_per_unit && charge_per_unit)
+ if(charge_per_unit && number_of_units)
{
total_amount = number_of_units * charge_per_unit;
}
$("#total_amount").val(total_amount);
}
+function calculate_stage_size()
+{
+ var total_size = 0
+
+ var stage_width = $("#stage_width").val();
+ var stage_depth = $("#stage_depth").val();
+
+ if(stage_width && stage_depth)
+ {
+ total_size = stage_width * stage_depth;
+ }
+ $("#stage_size").val(total_size);
+}
+
Modified: trunk/eventplanner/setup/phpgw_no.lang
===================================================================
--- trunk/eventplanner/setup/phpgw_no.lang 2016-10-13 18:05:10 UTC (rev
15826)
+++ trunk/eventplanner/setup/phpgw_no.lang 2016-10-14 17:41:44 UTC (rev
15827)
@@ -39,7 +39,7 @@
labour support eventplanner no Personellstøtte
technical support eventplanner no Teknisk støtte
charge per unit eventplanner no betaling pr stk
-timespan eventplanner no lengde på arrangement (min.)
+timespan eventplanner no Varighet (min.)
number of units eventplanner no Antall arrangement
integer eventplanner no Heltall
total amount eventplanner no Sum
@@ -48,4 +48,16 @@
id eventplanner no Id
messages_saved_form eventplanner no Skjemaet er lagret
field %1 is required eventplanner no Feltet %1 er påkrevd
-please select a category ! eventplanner no Velg en kategori
\ No newline at end of file
+please select a category ! eventplanner no Velg en kategori
+title eventplanner no Programtittel
+description eventplanner no Omtale av program
+might be published eventplanner no Kan bli publisert på internett
+other participants eventplanner no Navn på andre medvirkende (+
rolle)
+arena requirement eventplanner no Krav til lokale
+stage eventplanner no Scene
+stage requirement eventplanner no Krav til scene
+width eventplanner no Bredde
+depth eventplanner no Dybde
+wardrobe eventplanner no Garderobe
+audience limit eventplanner no Maksimum antall publikum
+raider eventplanner no Raider
\ No newline at end of file
Modified: trunk/eventplanner/setup/tables_current.inc.php
===================================================================
--- trunk/eventplanner/setup/tables_current.inc.php 2016-10-13 18:05:10 UTC
(rev 15826)
+++ trunk/eventplanner/setup/tables_current.inc.php 2016-10-14 17:41:44 UTC
(rev 15827)
@@ -139,21 +139,24 @@
'date_end' => array('type' => 'int',
'precision' => '8', 'nullable' => False),
'modified' => array('type' => 'int',
'precision' => '8', 'nullable' => False),
'frontend_modified' => array('type' => 'int',
'precision' => '8', 'nullable' => True),
+ 'other_participants' => array('type' => 'text',
'nullable' => True),
+ 'title' => array('type' => 'text', 'nullable'
=> False),
'description' => array('type' => 'text',
'nullable' => False),
'remark' => array('type' => 'text', 'nullable'
=> True),
- // 'company_name' => array('type' => 'text',
'nullable' => False),
'contact_name' => array('type' => 'text',
'nullable' => False),
'contact_email' => array('type' => 'text',
'nullable' => False),
'contact_phone' => array('type' => 'text',
'nullable' => False),
'secret' => array('type' => 'text', 'nullable'
=> true),
'owner_id' => array('type' => 'int',
'precision' => '4', 'nullable' => False),
'case_officer_id' => array('type' => 'int',
'precision' => '4', 'nullable' => True),
- // 'customer_identifier_type' => array('type' =>
'varchar', 'precision' => '255','nullable' => True),
- // 'customer_organization_number' => array('type'
=> 'varchar', 'precision' => '9','nullable' => True),
- // 'customer_ssn' => array('type' => 'varchar',
'precision' => '12', 'nullable' => True),
'charge_per_unit' => array('type' => 'decimal',
'precision' => '20', 'scale' => '2','nullable' => true, 'default' => '0.00'),
'number_of_units' => array('type' => 'int',
'precision' => '4', 'nullable' => false),
'timespan' => array('type' => 'int',
'precision' => '4', 'nullable' => false),
+ 'stage_width' => array('type' => 'decimal',
'precision' => '20', 'scale' => '2','nullable' => true, 'default' => '0.00'),
+ 'stage_depth' => array('type' => 'decimal',
'precision' => '20', 'scale' => '2','nullable' => true, 'default' => '0.00'),
+ 'stage_requirement' => array('type' => 'text',
'nullable' => true),
+ 'wardrobe' => array('type' => 'int',
'precision' => '2', 'nullable' => true),
+ 'audience_limit' => array('type' => 'int',
'precision' => '4', 'nullable' => true),
'rig_up_min_before' => array('type' => 'int',
'precision' => '4', 'nullable' => true),
'rig_up_num_person' => array('type' => 'int',
'precision' => '4', 'nullable' => true),
'during_num_person' => array('type' => 'int',
'precision' => '4', 'nullable' => true),
@@ -168,6 +171,7 @@
'light_remark' => array('type' => 'text',
'nullable' => true),
'piano_remark' => array('type' => 'text',
'nullable' => true),
'equipment_remark' => array('type' => 'text',
'nullable' => true),
+ 'raider' => array('type' => 'text', 'nullable'
=> true),
'json_representation' => array('type' =>
'jsonb', 'nullable' => true),
),
'pk' => array('id'),
Modified: trunk/eventplanner/templates/base/application.xsl
===================================================================
--- trunk/eventplanner/templates/base/application.xsl 2016-10-13 18:05:10 UTC
(rev 15826)
+++ trunk/eventplanner/templates/base/application.xsl 2016-10-14 17:41:44 UTC
(rev 15827)
@@ -78,6 +78,14 @@
</div>
<div class="pure-control-group">
<label>
+ <xsl:value-of
select="php:function('lang', 'other participants')"/>
+ </label>
+ <textarea cols="47"
rows="7" name="other_participants">
+ <xsl:value-of
select="application/other_participants"/>
+ </textarea>
+ </div>
+ <div class="pure-control-group">
+ <label>
<xsl:value-of
select="php:function('lang', 'active')"/>
</label>
<input type="checkbox"
name="active" id="active" value="1">
@@ -144,6 +152,42 @@
</input>
</div>
<div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="php:function('lang', 'type')"/>
+ </label>
+ <div
class="pure-custom">
+ <table
class="pure-table pure-table-bordered" border="0" cellspacing="2"
cellpadding="2">
+ <thead>
+
<tr>
+
<th>
+
<xsl:value-of select="php:function('lang', 'select')"/>
+
</th>
+
<th>
+
<xsl:value-of select="php:function('lang', 'type')"/>
+
</th>
+
</tr>
+ </thead>
+ <tbody>
+
<xsl:for-each select="application_type_list">
+
<tr>
+
<td>
+
<input type="checkbox" name="types[]" value="{id}">
+
<xsl:if test="selected = 1">
+
<xsl:attribute name="checked"
value="checked"/>
+
</xsl:if>
+
</input>
+
</td>
+
<td>
+
<xsl:value-of disable-output-escaping="yes"
select="name"/>
+
</td>
+
</tr>
+
</xsl:for-each>
+ </tbody>
+ </table>
+ </div>
+
+ </div>
+ <div class="pure-control-group">
<xsl:variable
name="lang_status">
<xsl:value-of
select="php:function('lang', 'status')"/>
</xsl:variable>
@@ -265,13 +309,32 @@
<label>
<xsl:value-of
select="php:function('lang', 'total amount')"/>
</label>
- <input
id="total_amount" type="text" disabled="disabled="/>
+ <input
id="total_amount" type="text" disabled="disabled"/>
</div>
<div class="pure-control-group">
<label>
+ <xsl:value-of
select="php:function('lang', 'title')"/>
+ </label>
+ <input type="text"
id="title" name="title" value="{application/title}">
+ <xsl:attribute
name="data-validation">
+
<xsl:text>required</xsl:text>
+ </xsl:attribute>
+ <xsl:attribute
name="data-validation-error-msg">
+
<xsl:value-of select="php:function('lang', 'title')"/>
+ </xsl:attribute>
+ <xsl:attribute
name="placeholder">
+
<xsl:value-of select="php:function('lang', 'title')"/>
+ </xsl:attribute>
+ </input>
+ </div>
+ <div class="pure-control-group">
+ <label>
<xsl:value-of
select="php:function('lang', 'description')"/>
</label>
<textarea cols="47"
rows="7" name="description">
+ <xsl:attribute
name="title">
+
<xsl:value-of select="php:function('lang', 'might be published')"/>
+ </xsl:attribute>
<xsl:value-of
select="application/description"/>
</textarea>
</div>
@@ -314,182 +377,274 @@
<div id="demands">
<fieldset>
<legend>
- <xsl:value-of
select="php:function('lang', 'labour support')"/>
+ <xsl:value-of
select="php:function('lang', 'arena requirement')"/>
</legend>
- <table class="pure-table
pure-table-bordered" border="0" cellspacing="2" cellpadding="2">
- <thead>
- <tr>
-
<th></th>
-
<th>minutt før</th>
-
<th>Antall personer</th>
-
<th>minutt etter</th>
- </tr>
- </thead>
- <tbody>
- <tr>
-
<td>Hjelp til opprigging</td>
- <td>
-
<input type="text" id="rig_up_min_before" name="rig_up_min_before"
value="{application/rig_up_min_before}" size="3">
-
<xsl:attribute name="data-validation">
-
<xsl:text>number</xsl:text>
-
</xsl:attribute>
-
<xsl:attribute name="data-validation-optional">
-
<xsl:text>true</xsl:text>
-
</xsl:attribute>
-
</input>
- </td>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="php:function('lang', 'stage')"/>
+ </label>
+ <input type="text"
id="stage_width" name="stage_width" value="{application/stage_width}">
+ <xsl:attribute
name="title">
+
<xsl:value-of select="php:function('lang', 'width')"/>
+ </xsl:attribute>
+ <xsl:attribute
name="data-validation">
+
<xsl:text>number</xsl:text>
+ </xsl:attribute>
+ <xsl:attribute
name="data-validation-optional">
+
<xsl:text>true</xsl:text>
+ </xsl:attribute>
+ </input>
+ <xsl:text> X </xsl:text>
+ <input type="text"
id="stage_depth" name="stage_depth" value="{application/stage_depth}">
+ <xsl:attribute
name="data-validation">
+
<xsl:text>number</xsl:text>
+ </xsl:attribute>
+ <xsl:attribute
name="title">
+
<xsl:value-of select="php:function('lang', 'depth')"/>
+ </xsl:attribute>
+ <xsl:attribute
name="data-validation-optional">
+
<xsl:text>true</xsl:text>
+ </xsl:attribute>
+ </input>
+ <xsl:text> M </xsl:text>
+ <input id="stage_size"
type="text" disabled="disabled"/>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="php:function('lang', 'stage requirement')"/>
+ </label>
+ <textarea cols="47"
rows="7" name="stage_requirement">
+ <xsl:value-of
select="application/stage_requirement"/>
+ </textarea>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="php:function('lang', 'wardrobe')"/>
+ </label>
+ <input type="checkbox"
name="wardrobe" id="wardrobe" value="1">
+ <xsl:if
test="application/wardrobe = 1">
+
<xsl:attribute name="checked" value="checked"/>
+ </xsl:if>
+ </input>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="php:function('lang', 'audience limit')"/>
+ </label>
+ <input type="text"
id="audience_limit" name="audience_limit" value="{application/audience_limit}">
+ <xsl:attribute
name="data-validation">
+
<xsl:text>required</xsl:text>
+ </xsl:attribute>
+ <xsl:attribute
name="data-validation-error-msg">
+
<xsl:value-of select="php:function('lang', 'audience_limit')"/>
+ </xsl:attribute>
+ <xsl:attribute
name="placeholder">
+
<xsl:value-of select="php:function('lang', 'integer')"/>
+ </xsl:attribute>
+ </input>
+ </div>
- <td>
-
<input type="text" id="rig_up_num_person" name="rig_up_num_person"
value="{application/rig_up_num_person}" size="3">
-
<xsl:attribute name="data-validation">
-
<xsl:text>number</xsl:text>
-
</xsl:attribute>
-
<xsl:attribute name="data-validation-optional">
-
<xsl:text>true</xsl:text>
-
</xsl:attribute>
-
</input>
- </td>
- <td>
- </td>
- </tr>
- <tr>
-
<td>Hjelp undervegs i arraggement</td>
- <td>
- </td>
+ </fieldset>
+ <fieldset>
+ <legend>
+ <xsl:value-of
select="php:function('lang', 'labour support')"/>
+ </legend>
- <td>
-
<input type="text" id="during_num_person" name="during_num_person"
value="{application/during_num_person}" size="3">
-
<xsl:attribute name="data-validation">
-
<xsl:text>number</xsl:text>
-
</xsl:attribute>
-
<xsl:attribute name="data-validation-optional">
-
<xsl:text>true</xsl:text>
-
</xsl:attribute>
-
</input>
- </td>
- <td>
- </td>
- </tr>
- <tr>
-
<td>Hjelp til nedrigging</td>
- <td>
- </td>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="php:function('lang', 'support')"/>
+ </label>
+ <div
class="pure-custom">
+ <table
class="pure-table pure-table-bordered" border="0" cellspacing="2"
cellpadding="2">
+ <thead>
+
<tr>
+
<th></th>
+
<th>minutt før</th>
+
<th>Antall personer</th>
+
<th>minutt etter</th>
+
</tr>
+ </thead>
+ <tbody>
+
<tr>
+
<td>Hjelp til opprigging</td>
+
<td>
+
<input type="text" id="rig_up_min_before"
name="rig_up_min_before" value="{application/rig_up_min_before}" size="3">
+
<xsl:attribute name="data-validation">
+
<xsl:text>number</xsl:text>
+
</xsl:attribute>
+
<xsl:attribute name="data-validation-optional">
+
<xsl:text>true</xsl:text>
+
</xsl:attribute>
+
</input>
+
</td>
- <td>
-
<input type="text" id="rig_down_num_person" name="rig_down_num_person"
value="{application/rig_down_num_person}" size="3">
-
<xsl:attribute name="data-validation">
-
<xsl:text>number</xsl:text>
-
</xsl:attribute>
-
<xsl:attribute name="data-validation-optional">
-
<xsl:text>true</xsl:text>
-
</xsl:attribute>
-
</input>
- </td>
- <td>
-
<input type="text" id="rig_down_min_after" name="rig_down_min_after"
value="{application/rig_down_min_after}" size="3">
-
<xsl:attribute name="data-validation">
-
<xsl:text>number</xsl:text>
-
</xsl:attribute>
-
<xsl:attribute name="data-validation-optional">
-
<xsl:text>true</xsl:text>
-
</xsl:attribute>
-
</input>
- </td>
- </tr>
- </tbody>
- </table>
+
<td>
+
<input type="text" id="rig_up_num_person"
name="rig_up_num_person" value="{application/rig_up_num_person}" size="3">
+
<xsl:attribute name="data-validation">
+
<xsl:text>number</xsl:text>
+
</xsl:attribute>
+
<xsl:attribute name="data-validation-optional">
+
<xsl:text>true</xsl:text>
+
</xsl:attribute>
+
</input>
+
</td>
+
<td>
+
</td>
+
</tr>
+
<tr>
+
<td>Hjelp undervegs i arrangement</td>
+
<td>
+
</td>
+
<td>
+
<input type="text" id="during_num_person"
name="during_num_person" value="{application/during_num_person}" size="3">
+
<xsl:attribute name="data-validation">
+
<xsl:text>number</xsl:text>
+
</xsl:attribute>
+
<xsl:attribute name="data-validation-optional">
+
<xsl:text>true</xsl:text>
+
</xsl:attribute>
+
</input>
+
</td>
+
<td>
+
</td>
+
</tr>
+
<tr>
+
<td>Hjelp til nedrigging</td>
+
<td>
+
</td>
-
+
<td>
+
<input type="text" id="rig_down_num_person"
name="rig_down_num_person" value="{application/rig_down_num_person}" size="3">
+
<xsl:attribute name="data-validation">
+
<xsl:text>number</xsl:text>
+
</xsl:attribute>
+
<xsl:attribute name="data-validation-optional">
+
<xsl:text>true</xsl:text>
+
</xsl:attribute>
+
</input>
+
</td>
+
<td>
+
<input type="text" id="rig_down_min_after"
name="rig_down_min_after" value="{application/rig_down_min_after}" size="3">
+
<xsl:attribute name="data-validation">
+
<xsl:text>number</xsl:text>
+
</xsl:attribute>
+
<xsl:attribute name="data-validation-optional">
+
<xsl:text>true</xsl:text>
+
</xsl:attribute>
+
</input>
+
</td>
+
</tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
</fieldset>
<fieldset>
<legend>
<xsl:value-of
select="php:function('lang', 'technical support')"/>
</legend>
- <table class="pure-table
pure-table-bordered" border="0" cellspacing="2" cellpadding="2">
- <thead>
- <tr>
-
<th>Hva</th>
-
<th>Ja/Nei</th>
-
<th>Fritekst</th>
- </tr>
- </thead>
- <tbody>
- <tr>
-
<td>Strøm</td>
- <td>
-
<input type="checkbox" name="power" id="power" value="1">
-
<xsl:if test="application/power = 1">
-
<xsl:attribute name="checked" value="checked"/>
-
</xsl:if>
-
</input>
- </td>
- <td>
-
<input type="text" id="power_remark" name="power_remark"
value="{application/power_remark}">
-
</input>
- </td>
- </tr>
- <tr>
-
<td>Lydanlegg</td>
- <td>
-
<input type="checkbox" name="sound" id="sound" value="1">
-
<xsl:if test="application/sound = 1">
-
<xsl:attribute name="checked" value="checked"/>
-
</xsl:if>
-
</input>
- </td>
- <td>
-
<input type="text" id="sound_remark" name="sound_remark"
value="{application/sound_remark}">
-
</input>
- </td>
- </tr>
- <tr>
-
<td>Lyssetting/blending</td>
- <td>
-
<input type="checkbox" name="light" id="light" value="1">
-
<xsl:if test="application/light = 1">
-
<xsl:attribute name="checked" value="checked"/>
-
</xsl:if>
-
</input>
- </td>
- <td>
-
<input type="text" id="light_remark" name="light_remark"
value="{application/light_remark}">
-
</input>
- </td>
- </tr>
- <tr>
-
<td>Piano</td>
- <td>
-
<input type="checkbox" name="piano" id="piano" value="1">
-
<xsl:if test="application/piano = 1">
-
<xsl:attribute name="checked" value="checked"/>
-
</xsl:if>
-
</input>
- </td>
- <td>
-
<input type="text" id="piano_remark" name="piano_remark"
value="{application/piano_remark}">
-
</input>
- </td>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="php:function('lang', 'support')"/>
+ </label>
+ <div
class="pure-custom">
+ <table
class="pure-table pure-table-bordered" border="0" cellspacing="2"
cellpadding="2">
+ <thead>
+
<tr>
+
<th>Hva</th>
+
<th>Ja/Nei</th>
+
<th>Fritekst</th>
+
</tr>
+ </thead>
+ <tbody>
+
<tr>
+
<td>Strøm</td>
+
<td>
+
<input type="checkbox" name="power" id="power" value="1">
+
<xsl:if test="application/power = 1">
+
<xsl:attribute name="checked" value="checked"/>
+
</xsl:if>
+
</input>
+
</td>
+
<td>
+
<input type="text" id="power_remark" name="power_remark"
value="{application/power_remark}">
+
</input>
+
</td>
+
</tr>
+
<tr>
+
<td>Lydanlegg</td>
+
<td>
+
<input type="checkbox" name="sound" id="sound" value="1">
+
<xsl:if test="application/sound = 1">
+
<xsl:attribute name="checked" value="checked"/>
+
</xsl:if>
+
</input>
+
</td>
+
<td>
+
<input type="text" id="sound_remark" name="sound_remark"
value="{application/sound_remark}">
+
</input>
+
</td>
+
</tr>
+
<tr>
+
<td>Lyssetting/blending</td>
+
<td>
+
<input type="checkbox" name="light" id="light" value="1">
+
<xsl:if test="application/light = 1">
+
<xsl:attribute name="checked" value="checked"/>
+
</xsl:if>
+
</input>
+
</td>
+
<td>
+
<input type="text" id="light_remark" name="light_remark"
value="{application/light_remark}">
+
</input>
+
</td>
+
</tr>
+
<tr>
+
<td>Piano</td>
+
<td>
+
<input type="checkbox" name="piano" id="piano" value="1">
+
<xsl:if test="application/piano = 1">
+
<xsl:attribute name="checked" value="checked"/>
+
</xsl:if>
+
</input>
+
</td>
+
<td>
+
<input type="text" id="piano_remark" name="piano_remark"
value="{application/piano_remark}">
+
</input>
+
</td>
- </tr>
- <tr>
-
<td>Anna utstyr (prosjektor, lerret mm)</td>
- <td>
- </td>
- <td>
-
<input type="text" id="equipment_remark" name="equipment_remark"
value="{application/equipment_remark}">
-
</input>
- </td>
- </tr>
- </tbody>
- </table>
+
</tr>
+
<tr>
+
<td>Anna utstyr (prosjektor, lerret mm)</td>
+
<td>
+
</td>
+
<td>
+
<input type="text" id="equipment_remark"
name="equipment_remark" value="{application/equipment_remark}">
+
</input>
+
</td>
+
</tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
</fieldset>
+ <fieldset>
+ <legend>
+ <xsl:value-of
select="php:function('lang', 'raider')"/>
+ </legend>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="php:function('lang', 'raider')"/>
+ </label>
+ <textarea cols="47"
rows="7" name="raider">
+ <xsl:value-of
select="application/raider"/>
+ </textarea>
+ </div>
+ </fieldset>
</div>
-
-
-
</div>
<div class="proplist-col">
<input type="submit" class="pure-button
pure-button-primary" name="save">
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [15827] more on eventplanner,
sigurdne <=