fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [14270]


From: Saul
Subject: [Fmsystem-commits] [14270]
Date: Mon, 02 Nov 2015 23:56:37 +0000

Revision: 14270
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14270
Author:   psaul
Date:     2015-11-02 23:56:36 +0000 (Mon, 02 Nov 2015)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/bookingfrontend/css/bookingfrontend.css
    branches/dev-syncromind/bookingfrontend/templates/base/allocation_delete.xsl
    branches/dev-syncromind/bookingfrontend/templates/base/application_new.xsl

Modified: branches/dev-syncromind/bookingfrontend/css/bookingfrontend.css
===================================================================
--- branches/dev-syncromind/bookingfrontend/css/bookingfrontend.css     
2015-11-02 23:54:58 UTC (rev 14269)
+++ branches/dev-syncromind/bookingfrontend/css/bookingfrontend.css     
2015-11-02 23:56:36 UTC (rev 14270)
@@ -42,6 +42,7 @@
 #cal_container {margin: 0 20px;}
 #cal_container #datepicker {width: 2px;opacity: 0;position: 
absolute;display:none;}
 #cal_container #numberWeek {width: 20px;display: inline-block;}
+#cal_container > div {display: inline;}
 #dialog_schedule {text-align: left;}
 #dialog_schedule dl {margin-top: 10px;}
 #dialog_schedule dt {font-weight: bold;margin-top: 10px;}
@@ -226,4 +227,483 @@
 }
 #schedule_container .color60 {
     background-color: #aaa;
-}
\ No newline at end of file
+}
+
+
+/* BOOKINGFRONTEND */
+#content {
+    margin: 2em 1em;
+}
+.clr {
+    clear: both;
+}
+#inactive {
+    background-color: #ff5555;
+    border: 0.2em dotted #000000;
+    letter-spacing: 2px;
+    padding: 1em;
+    width: 10em;
+}
+#active {
+    background-color: #ffffff;
+    border: 0 dotted #000000;
+    letter-spacing: 2px;
+    padding: 1em;
+    width: 10em;
+}
+#inactivate-button {
+    background-color: #ffffff;
+    border: 1px solid #000000;
+    margin-top: 1em;
+    padding: 0.1em;
+}
+#activate-button {
+    background-color: #ffffff;
+    border: 1px solid #000000;
+    margin-top: 1em;
+    padding: 0.1em;
+}
+/*ul.pathway {
+    font-size: 110%;
+    font-weight: bolder;
+    margin: 1em 0;
+}
+ul.pathway li a {
+    color: #000;
+    text-decoration: none;
+}
+ul.pathway li a:hover {
+    color: #008;
+}
+ul.pathway li {
+    background: rgba(0, 0, 0, 0) url("../images/pathwaysep.png") no-repeat 
scroll 0 50%;
+    display: inline;
+    padding-left: 16px;
+}
+ul.pathway li:first-child {
+    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
+    padding-left: 0;
+}*/
+dl.form, dl.form-col, dl.form-2col {
+    margin: 1em 1em 1em 0;
+    padding-right: 1em;
+}
+dl.form dt, dl.form-col dt, dl.form-2col dt {
+    color: #002;
+    font-style: italic;
+    font-weight: bolder;
+    margin: 0.5em 0 0.1em;
+}
+dl.form dt p, dl.form-col dt p, dl.form-2col dt p, dl.form-col p {
+    color: #002;
+    font-size: smaller;
+    font-style: normal;
+    font-weight: normal;
+}
+dl.form dd textarea, dl.form-col dd textarea {
+    height: 6em;
+    width: 15em;
+}
+dl.form-2col dd textarea {
+    height: 6em;
+    width: 36em;
+}
+dl.form dd textarea.full-width, dl.form-col dd textarea.full-width {
+    height: 10em;
+    width: 33em;
+}
+dl.form dd textarea.threecol-width, dl.form-col dd textarea.threecol-width {
+    height: 5em;
+    width: 58em;
+}
+dl.form dd input[type="text"], dl.form dd .autocomplete, dl.form-col dd 
input[type="text"], dl.form-col dd .autocomplete {
+    width: 15em;
+}
+/*dl.form dd .autocomplete, dl.form-col dd .autocomplete, dl.form-2col dd 
.autocomplete {
+    padding-bottom: 2em;
+}
+div.autocomplete {
+    position: relative;
+}
+div.autocomplete input {
+    z-index: 500;
+}*/
+#building_container ul {
+    z-index: 1000;
+}
+dl.form dt.heading, dl.form-col dt.heading, dl.form-2col dt.heading, 
div.heading, dl.proplist dt.heading, dl.proplist-col dt.heading {
+    border-bottom: 1px solid #aaa;
+    color: #448;
+    font-size: 110%;
+    font-weight: normal;
+    margin-bottom: 0.6em;
+    margin-top: 1.4em;
+}
+dl.proplist {
+    clear: both;
+}
+dl.proplist, dl.proplist-col {
+    margin: 1em 0;
+    padding-right: 0.5em;
+}
+dl.proplist dt, dl.proplist-col dt {
+    font-size: 90%;
+    font-style: italic;
+    font-weight: bolder;
+    margin: 0.8em 0 0.1em;
+}
+dl.proplist-col, dl.form-col {
+    float: left;
+    width: 18em;
+}
+dl.form-2col {
+    float: left;
+    width: 38em;
+}
+.form-buttons {
+    clear: both;
+    padding-top: 2em;
+}
+.form-buttons button {
+    margin-right: 0.5em;
+}
+.form-buttons .cancel {
+    margin-left: 0.6em;
+}
+.date-picker .container, .datetime-picker .container {
+    display: none;
+    position: absolute;
+    z-index: 1;
+}
+#toolbar {
+    background-color: #eee;
+    border: 1px solid #bbb;
+    margin-bottom: 1em;
+    padding: 0.3em;
+    width: 100%;
+}
+#toolbar input[type="text"] {
+    font-size: 120%;
+    margin: auto 0.25em;
+    vertical-align: text-bottom;
+}
+#list_actions {
+    margin-top: 0.5em;
+}
+dl.proplist dd.address, dl.proplist-col dd.address {
+    white-space: pre;
+}
+#week-selector {
+    margin: 1em 0;
+}
+#week-selector li {
+    display: inline;
+    padding-right: 0.5em;
+}
+#schedule_container tr td {
+    background: white none repeat scroll 0 0;
+    border-top: 1px solid #ccc;
+    white-space: nowrap;
+}
+#schedule_container tr td:first-child {
+    background: #eee none repeat scroll 0 0;
+}
+#schedule_container tr.time td {
+    border-top: 1px solid #444;
+}
+#schedule_container .color1 {
+    background-color: #ccccff;
+}
+#schedule_container .color2 {
+    background-color: #ccffcc;
+}
+#schedule_container .color3 {
+    background-color: #ffcccc;
+}
+#schedule_container .color4 {
+    background-color: #ffffbb;
+}
+#schedule_container .color5 {
+    background-color: #bbffff;
+}
+#schedule_container .color6 {
+    background-color: #ffbbff;
+}
+#schedule_container .color7 {
+    background-color: #de6d6d;
+}
+#schedule_container .color8 {
+    background-color: #f0f0f0;
+}
+#schedule_container .color9 {
+    background-color: #6495ed;
+}
+#schedule_container .color10 {
+    background-color: #90ee90;
+}
+#schedule_container .color11 {
+    background-color: #eee8aa;
+}
+#schedule_container .color12 {
+    background-color: #afeeee;
+}
+#schedule_container .color13 {
+    background-color: #ffb6c1;
+}
+#schedule_container .color14 {
+    background-color: #f0e68c;
+}
+#schedule_container .color15 {
+    background-color: #66cdaa;
+}
+#schedule_container .color16 {
+    background-color: #ffe4c4;
+}
+#schedule_container .color17 {
+    background-color: #ffa500;
+}
+#schedule_container .color18 {
+    background-color: #bdb76b;
+}
+#schedule_container .color19 {
+    background-color: #32cd32;
+}
+#schedule_container .color20 {
+    background-color: #ffe4b5;
+}
+#schedule_container .color21 {
+    background-color: #ff4040;
+}
+#schedule_container .color22 {
+    background-color: #ee3b3b;
+}
+#schedule_container .color23 {
+    background-color: #cd3333;
+}
+#schedule_container .color24 {
+    background-color: #8b2323;
+}
+#schedule_container .color25 {
+    background-color: #deb887;
+}
+#schedule_container .color26 {
+    background-color: #ffd39b;
+}
+#schedule_container .color27 {
+    background-color: #eec591;
+}
+#schedule_container .color28 {
+    background-color: #5f9ea0;
+}
+#schedule_container .color29 {
+    background-color: #98f5ff;
+}
+#schedule_container .color30 {
+    background-color: #8ee5ee;
+}
+#schedule_container .color31 {
+    background-color: #53868b;
+}
+#schedule_container .color32 {
+    background-color: #66cd00;
+}
+#schedule_container .color33 {
+    background-color: #458b00;
+}
+#schedule_container .color34 {
+    background-color: #d2691e;
+}
+#schedule_container .color35 {
+    background-color: #ff7f24;
+}
+#schedule_container .color36 {
+    background-color: #8b4513;
+}
+#schedule_container .color37 {
+    background-color: #ff7256;
+}
+#schedule_container .color38 {
+    background-color: #ffb90f;
+}
+#schedule_container .color39 {
+    background-color: #cd950c;
+}
+#schedule_container .color40 {
+    background-color: #8fbc8f;
+}
+#schedule_container .color41 {
+    background-color: #8b0000;
+}
+#schedule_container .color42 {
+    background-color: #c1ffc1;
+}
+#schedule_container .color43 {
+    background-color: #b4eeb4;
+}
+#schedule_container .color44 {
+    background-color: #9bcd9b;
+}
+#schedule_container .color45 {
+    background-color: #698b69;
+}
+#schedule_container .color46 {
+    background-color: #433d8b;
+}
+#schedule_container .color47 {
+    background-color: #ee1289;
+}
+#schedule_container .color48 {
+    background-color: #cd1076;
+}
+#schedule_container .color49 {
+    background-color: #8b0a50;
+}
+#schedule_container .color50 {
+    background-color: #ccc;
+}
+#schedule_container .color51 {
+    background-color: #ddd;
+}
+#schedule_container .color52 {
+    background-color: #eee;
+}
+#schedule_container .color53 {
+    background-color: #333;
+}
+#schedule_container .color54 {
+    background-color: #444;
+}
+#schedule_container .color55 {
+    background-color: #555;
+}
+#schedule_container .color56 {
+    background-color: #666;
+}
+#schedule_container .color57 {
+    background-color: #777;
+}
+#schedule_container .color58 {
+    background-color: #888;
+}
+#schedule_container .color59 {
+    background-color: #999;
+}
+#schedule_container .color60 {
+    background-color: #aaa;
+}
+#boundary-table td, #boundary-table th {
+    padding: 0.1em 0.2em;
+}
+.date-container {
+    margin-bottom: 0.8em;
+    white-space: nowrap;
+}
+.date-container .close-btn {
+    background: transparent 
url("../../phpgwapi/js/yahoo/assets/skins/sam/sprite.png") no-repeat scroll 0 
-300px;
+    border: medium none;
+    color: white;
+    cursor: pointer;
+    display: block;
+    float: right;
+    height: 15px;
+    text-decoration: none;
+    width: 25px;
+}
+#agegroup {
+    background: #eee none repeat scroll 0 0;
+    border: 1px solid #7f7f7f;
+    white-space: nowrap;
+}
+#agegroup, #agegroup td, #agegroup th {
+    width: 1%;
+}
+#agegroup td, #agegroup th {
+    padding: 0.1em 0.3em;
+}
+#agegroup td input {
+    width: 3em;
+}
+table#report {
+    background: #eee none repeat scroll 0 0;
+    border: 1px solid #7f7f7f;
+    white-space: nowrap;
+}
+table#report td, table#report th {
+    padding: 0.2em 0.5em;
+}
+div.allocation-list {
+    border: 1px solid #555;
+    height: 10em;
+    overflow: auto;
+    padding: 0.4em;
+    width: 30em;
+}
+.showit {
+    visibility: visible;
+}
+.hideit {
+    visibility: hidden;
+}
+.datetime-picker .time-picker-inputs {
+    position: relative;
+    top: 6px;
+    vertical-align: top;
+}
+.yui-overlay {
+    background-color: white;
+    border: 3px inset #999;
+}
+.yui-overlay .hd {
+    padding: 5px;
+}
+.yui-overlay .bd {
+    padding: 5px;
+}
+.yui overlay .ft {
+    padding: 5px;
+}
+.yui-calendar td.calcell {
+    border: 0 none !important;
+}
+.yui-skin-sam .yui-dt TABLE TH {
+    border: medium none !important;
+}
+.yui-skin-sam .yui-dt TABLE TD {
+    border: medium none !important;
+}
+div.info:hover {
+    background-image: url("../images/info.png");
+    background-position: 100% 0;
+    background-repeat: no-repeat;
+}
+#overlay-info {
+    padding: 1em;
+    text-align: left;
+}
+#overlay-info h3 {
+    margin: 0 0 0.9em;
+}
+#overlay-info dt {
+    font-size: 90%;
+    font-style: italic;
+    font-weight: bolder;
+}
+#overlay-info dd {
+    padding-left: 2em;
+}
+#overlay-info .close {
+    float: right;
+}
+#overlay-info .actions {
+    margin-top: 1em;
+}
+
+/* AUTOCOMPLETE */
+.ui-widget.ui-autocomplete {
+    max-height: 224px;
+    overflow-x: hidden;
+    overflow-y: auto;
+}
+.ui-menu .ui-menu-item {
+    text-align: left;
+}

Modified: 
branches/dev-syncromind/bookingfrontend/templates/base/allocation_delete.xsl
===================================================================
--- 
branches/dev-syncromind/bookingfrontend/templates/base/allocation_delete.xsl    
    2015-11-02 23:54:58 UTC (rev 14269)
+++ 
branches/dev-syncromind/bookingfrontend/templates/base/allocation_delete.xsl    
    2015-11-02 23:56:36 UTC (rev 14270)
@@ -129,7 +129,7 @@
         </div>
     </form>
     </div>
-    <script type="text/javascript">
+    <!--script type="text/javascript">
         YAHOO.booking.season_id = '<xsl:value-of 
select="allocation/season_id"/>';
         YAHOO.booking.initialSelection = <xsl:value-of 
select="allocation/resources_json"/>;
                var lang = <xsl:value-of select="php:function('js_lang', 
'Resource Type')"/>;
@@ -155,5 +155,5 @@
         });
         descEdit.render();
         ]]>
-    </script>
+    </script-->
 </xsl:template>

Modified: 
branches/dev-syncromind/bookingfrontend/templates/base/application_new.xsl
===================================================================
--- branches/dev-syncromind/bookingfrontend/templates/base/application_new.xsl  
2015-11-02 23:54:58 UTC (rev 14269)
+++ branches/dev-syncromind/bookingfrontend/templates/base/application_new.xsl  
2015-11-02 23:56:36 UTC (rev 14270)
@@ -16,11 +16,11 @@
                        <div class="heading">1. <xsl:value-of 
select="php:function('lang', 'Why?')" /></div>
                        <dt>
                                <label for="field_activity"><xsl:value-of 
select="php:function('lang', 'Activity')" /></label>
-                               <xsl:if test="config/application_activities">
+                               <!--xsl:if test="config/application_activities">
                                <p>
                                        <xsl:value-of 
select="config/application_activities"/>
                                </p>            
-                               </xsl:if>
+                               </xsl:if-->
                        </dt>
                        <dd>
                                <select name="activity_id" id="field_activity">
@@ -38,16 +38,16 @@
                        </dd>
                        <dt>
                                <label for="field_description"><xsl:value-of 
select="php:function('lang', 'Information about the event')" /></label>
-                               <xsl:if test="config/application_description">
+                               <!--xsl:if 
test="config/application_description">
                                <p>
                                        <xsl:value-of 
select="config/application_description"/>
                                </p>            
-                               </xsl:if>
+                               </xsl:if-->
                        </dt>
                        <dd>
                                <textarea id="field_description" 
class="full-width" name="description"><xsl:value-of 
select="application/description"/></textarea>
                        </dd>
-            <dt>
+            <!--dt>
                 <xsl:if test="config/application_equipment">
                     <p>
                         <xsl:value-of select="config/application_equipment"/>
@@ -56,49 +56,53 @@
             </dt>
             <dd>
                 <textarea id="field_equipment" class="full-width" 
name="equipment"><xsl:value-of select="application/equipment"/></textarea>
-            </dd>
+            </dd-->
                </dl>
                <dl class="form-col">
                        <div class="heading">2. <xsl:value-of 
select="php:function('lang', 'How many?')" /></div>
-                       <xsl:if test="config/application_howmany">
+                       <!--xsl:if test="config/application_howmany">
                        <p>
                                <xsl:value-of 
select="config/application_howmany"/>
                        </p>            
-                       </xsl:if>
+                       </xsl:if-->
                        <dt><label for="field_activity"><xsl:value-of 
select="php:function('lang', 'Estimated number of participants')" 
/></label></dt>
                        <dd>
-                               <table id="agegroup">
-                                       <tr><th/><th><xsl:value-of 
select="php:function('lang', 'Male')" /></th>
+                               <table id="agegroup" 
class="bookingfrontend-table">
+                    <thead>
+                        <tr><th/><th><xsl:value-of 
select="php:function('lang', 'Male')" /></th>
                                            <th><xsl:value-of 
select="php:function('lang', 'Female')" /></th></tr>
-                                       <xsl:for-each select="agegroups">
-                                               <xsl:variable 
name="id"><xsl:value-of select="id"/></xsl:variable>
-                                               <tr>
-                                                       <th><xsl:value-of 
select="name"/></th>
-                                                       <td>
-                                                               <input 
type="text">
-                                                                       
<xsl:attribute name="name">male[<xsl:value-of select="id"/>]</xsl:attribute>
-                                                                       
<xsl:attribute name="value"><xsl:value-of 
select="../application/agegroups/male[../agegroup_id = $id]"/></xsl:attribute>
-                                                               </input>
-                                                       </td>
-                                                       <td>
-                                                               <input 
type="text">
-                                                                       
<xsl:attribute name="name">female[<xsl:value-of select="id"/>]</xsl:attribute>
-                                                                       
<xsl:attribute name="value"><xsl:value-of 
select="../application/agegroups/female[../agegroup_id = $id]"/></xsl:attribute>
-                                                               </input>
-                                                       </td>
-                                               </tr>
-                                       </xsl:for-each>
+                    </thead>
+                    <tbody id="agegroup_tbody">
+                        <xsl:for-each select="agegroups">
+                            <xsl:variable name="id"><xsl:value-of 
select="id"/></xsl:variable>
+                            <tr>
+                                <th><xsl:value-of select="name"/></th>
+                                <td>
+                                    <input type="text">
+                                        <xsl:attribute 
name="name">male[<xsl:value-of select="id"/>]</xsl:attribute>
+                                        <xsl:attribute 
name="value"><xsl:value-of select="../application/agegroups/male[../agegroup_id 
= $id]"/></xsl:attribute>
+                                    </input>
+                                </td>
+                                <td>
+                                    <input type="text">
+                                        <xsl:attribute 
name="name">female[<xsl:value-of select="id"/>]</xsl:attribute>
+                                        <xsl:attribute 
name="value"><xsl:value-of 
select="../application/agegroups/female[../agegroup_id = $id]"/></xsl:attribute>
+                                    </input>
+                                </td>
+                            </tr>
+                        </xsl:for-each>
+                    </tbody>
                                </table>
                        </dd>
                </dl>
                <div class="clr"/>
                <dl class="form-col">
                        <div class="heading">3. <xsl:value-of 
select="php:function('lang', 'Where?')" /></div>
-                       <xsl:if test="config/application_where">
+                       <!--xsl:if test="config/application_where">
                                <p>
                                        <xsl:value-of 
select="config/application_where"/>
                                </p>            
-                       </xsl:if>
+                       </xsl:if-->
                        <dt><label for="field_building"><xsl:value-of 
select="php:function('lang', 'Building')" /></label></dt>
                        <dd>
                                <div class="autocomplete">
@@ -118,14 +122,60 @@
                </dl>
                <dl class="form-col">
                        <div class="heading">4. <xsl:value-of 
select="php:function('lang', 'When?')" /></div>
-                       <xsl:if test="config/application_when">
+                       <!--xsl:if test="config/application_when">
                                <p>
                                        <xsl:value-of 
select="config/application_when"/>
                                </p>            
-                       </xsl:if>
+                       </xsl:if-->
                        <div id="dates-container">
                                <xsl:for-each select="application/dates">
-                                       <div class="date-container">
+                    <xsl:variable name="index" select="position()-2" />
+                    <xsl:choose>
+                        <xsl:when test="position() > 1">
+                            <div class="date-container">
+                                <a href="javascript:void(0);" class="close-btn 
btnclose">-</a>
+                                <dt><label 
for="start_date_{$index}"><xsl:value-of select="php:function('lang', 'From')" 
/></label></dt>
+                                <dd>
+                                    <input class="newaddedpicker datetime" 
id="start_date_{$index}" type="text" name="from_[]">
+                                        <xsl:attribute name="value">
+                                            <xsl:value-of select="from_" />
+                                        </xsl:attribute>
+                                    </input>
+                                </dd>
+                                <dt><label 
for="end_date_{$index}"><xsl:value-of select="php:function('lang', 'To')" 
/></label></dt>
+                                <dd>
+                                    <input class="newaddedpicker datetime" 
id="end_date_{$index}" type="text" name="to_[]">
+                                        <xsl:attribute name="value">
+                                            <xsl:value-of select="to_"/>
+                                        </xsl:attribute>
+                                    </input>
+                                </dd>
+                            </div>
+                        </xsl:when>
+                        <xsl:otherwise>
+                            <div class="date-container">
+                                <a href="javascript:void(0);" class="close-btn 
btnclose">-</a>
+                                <dt><label for="start_date"><xsl:value-of 
select="php:function('lang', 'From')" /></label></dt>
+                                <dd>
+                                    <input class="datetime" id="start_date" 
type="text" name="from_[]">
+                                        <xsl:attribute name="value">
+                                            <xsl:value-of select="from_" />
+                                        </xsl:attribute>
+                                    </input>
+                                </dd>
+                                <dt><label for="end_date"><xsl:value-of 
select="php:function('lang', 'To')" /></label></dt>
+                                <dd>
+                                    <input class="datetime" id="end_date" 
type="text" name="to_[]">
+                                        <xsl:attribute name="value">
+                                            <xsl:value-of select="to_"/>
+                                        </xsl:attribute>
+                                    </input>
+                                </dd>
+                            </div>
+                        </xsl:otherwise>
+                    </xsl:choose>
+
+                                       <!--div class="date-container">
                                                <a href="#" 
class="close-btn">-</a>
                                                <dt><label 
for="field_from"><xsl:value-of select="php:function('lang', 'From')" 
/></label></dt>
                                                <dd class="datetime-picker">
@@ -139,33 +189,48 @@
                                                                <xsl:attribute 
name="value"><xsl:value-of select="to_"/></xsl:attribute>
                                                        </input>
                                                </dd>
-                                       </div>
+                                       </div-->
                                </xsl:for-each>
                        </div>
 
 
-                       <dt><a href="#" id="add-date-link"><xsl:value-of 
select="php:function('lang', 'Add another date')" /></a></dt>
+                       <dt><a href="javascript:void(0);" 
id="add-date-link"><xsl:value-of select="php:function('lang', 'Add another 
date')" /></a></dt>
                </dl>
                <dl class="form-col">
                        <div class="heading">5. <xsl:value-of 
select="php:function('lang', 'Who?')" /></div>
-                       <xsl:if test="config/application_who">
+                       <!--xsl:if test="config/application_who">
                                <p>
                                        <xsl:value-of 
select="config/application_who"/>
                                </p>            
-                       </xsl:if>
+                       </xsl:if-->
                        <dt><label for="field_from"><xsl:value-of 
select="php:function('lang', 'Target audience')" /></label></dt>
                        <dd>
-                               <div id="audience_container">&nbsp;</div>
+                               <!--div id="audience_container">&nbsp;</div-->
+                <ul id= "audience"  style="list-style:none;padding-left:10px;">
+                    <xsl:for-each select="audience">
+                        <li>
+                            <label>
+                                <input type="radio" name="audience[]">
+                                    <xsl:attribute name="value"><xsl:value-of 
select="id"/></xsl:attribute>
+                                    <xsl:if test="../application/audience=id">
+                                        <xsl:attribute 
name="checked">checked</xsl:attribute>
+                                    </xsl:if>
+                                </input>
+                                <xsl:value-of select="name"/>
+                            </label>
+                        </li>
+                    </xsl:for-each>
+                </ul>
                        </dd>
                </dl>
                <div class="clr"/>
                <dl class="form-col">
                        <div class="heading"><br />6. <xsl:value-of 
select="php:function('lang', 'Contact information')" /></div>
-                       <xsl:if test="config/application_contact_information">
+                       <!--xsl:if 
test="config/application_contact_information">
                                <p>
                                        <xsl:value-of 
select="config/application_contact_information"/>
                                </p>            
-                       </xsl:if>
+                       </xsl:if-->
                        <dt><label for="field_contact_name"><xsl:value-of 
select="php:function('lang', 'Name')" /></label></dt>
                        <dd>
                                <input id="field_contact_name" 
name="contact_name" type="text">
@@ -193,34 +258,34 @@
                </dl>
                <dl class="form-col">
                        <div class="heading">7. <xsl:value-of 
select="php:function('lang', 'responsible applicant')" /> / <xsl:value-of 
select="php:function('lang', 'invoice information')" /></div>
-                       <xsl:if test="config/application_responsible_applicant">
+                       <!--xsl:if 
test="config/application_responsible_applicant">
                                <p>
                                        <xsl:value-of 
select="config/application_responsible_applicant"/>
                                </p>            
-                       </xsl:if>
+                       </xsl:if-->
                        <xsl:copy-of 
select="phpgw:booking_customer_identifier(application, '')"/>
                        <br />
-                       <xsl:if test="config/application_invoice_information">
+                       <!--xsl:if 
test="config/application_invoice_information">
                                <p>
                                        <xsl:value-of 
select="config/application_invoice_information"/>
                                </p>            
-                       </xsl:if>
+                       </xsl:if-->
                </dl>
                <dl class="form-col">
                        <div class="heading"><br />8. <xsl:value-of 
select="php:function('lang', 'Terms and conditions')" /></div>
-                       <xsl:if test="config/application_terms">
+                       <!--xsl:if test="config/application_terms">
                                <p>
                                        <xsl:value-of 
select="config/application_terms"/>
                                </p>            
-                       </xsl:if>
+                       </xsl:if-->
                        <br />
                        <div id='regulation_documents'>&nbsp;</div>
                        <br />
-                       <xsl:if test="config/application_terms2">
+                       <!--xsl:if test="config/application_terms2">
                                <p>
                                        <xsl:value-of 
select="config/application_terms2"/>
                                </p>            
-                       </xsl:if>
+                       </xsl:if-->
                </dl>
                <div class="form-buttons">
                        <input type="submit">
@@ -241,5 +306,6 @@
                var initialSelection = <xsl:value-of 
select="application/resources_json"/>;
                var initialAudience = <xsl:value-of 
select="application/audience_json"/>;
                var lang = <xsl:value-of select="php:function('js_lang', 
'From', 'To', 'Resource Type', 'Name', 'Accepted', 'Document', 'You must accept 
to follow all terms and conditions of lease first.')"/>;
+               var tableClass = 'bookingfrontend-table 
bookingfrontend-table-striped';
        </script>
 </xsl:template>




reply via email to

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