[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [14496]
From: |
Nelson Guerra |
Subject: |
[Fmsystem-commits] [14496] |
Date: |
Sat, 28 Nov 2015 00:25:46 +0000 |
Revision: 14496
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14496
Author: nelson224
Date: 2015-11-28 00:25:45 +0000 (Sat, 28 Nov 2015)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind/activitycalendar/templates/base/activity.xsl
Modified: branches/dev-syncromind/activitycalendar/templates/base/activity.xsl
===================================================================
--- branches/dev-syncromind/activitycalendar/templates/base/activity.xsl
2015-11-27 15:31:47 UTC (rev 14495)
+++ branches/dev-syncromind/activitycalendar/templates/base/activity.xsl
2015-11-28 00:25:45 UTC (rev 14496)
@@ -8,7 +8,6 @@
<xsl:apply-templates select="view"/>
</xsl:when>
</xsl:choose>
- <xsl:call-template name="jquery_phpgw_i18n"/>
</xsl:template>
<!-- add / edit -->
@@ -23,6 +22,117 @@
<div id="tab-content">
<xsl:value-of disable-output-escaping="yes"
select="tabs"/>
<div id="details">
+ <input type="hidden" name="id"
value="{activity_id}"/>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="php:function('lang', 'title')"/>
+ </label>
+ <input type="text" name="title"
id="title" value="{value_title}"></input>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="php:function('lang', 'description')"/>
+ </label>
+ <input type="text" name="title"
id="title" value="{value_description}"></input>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="php:function('lang', 'state')"/>
+ </label>
+ <select id="state" name="state">
+ <xsl:apply-templates
select="list_state_options/options"/>
+ </select>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="php:function('lang', 'category')"/>
+ </label>
+ <select id="category"
name="category">
+ <xsl:apply-templates
select="list_category_options/options"/>
+ </select>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="php:function('lang', 'target')"/>
+ </label>
+ <div class="pure-custom">
+ <xsl:apply-templates
select="list_target_checks/choice"/>
+ </div>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="php:function('lang', 'district')"/>
+ </label>
+ <div class="pure-custom">
+ <xsl:apply-templates
select="list_district_checks/choice"/>
+ </div>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="php:function('lang', 'special_adaptation')"/>
+ </label>
+ <div class="pure-custom">
+ <input type="checkbox"
name="special_adaptation" id="special_adaptation">
+ <xsl:if
test="special_adaptation_checked = 1">
+
<xsl:attribute name="checked" value="checked"/>
+ </xsl:if>
+ </input>
+ </div>
+ </div>
+ <h2><xsl:value-of
select="php:function('lang', 'where_when')"/></h2>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="php:function('lang', 'arena')"/>
+ </label>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="php:function('lang', 'building')"/>
+ </label>
+ <select id="internal_arena_id"
name="internal_arena_id">
+ <xsl:apply-templates
select="list_building_options/options"/>
+ </select>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="php:function('lang', 'external_arena')"/>
+ </label>
+ <select id="arena_id"
name="arena_id" style="width: 300px;">
+ <xsl:apply-templates
select="list_arena_external_options/options"/>
+ </select>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="php:function('lang', 'time')"/>
+ </label>
+ <input type="text" name="time"
id="time" value="{value_time}" />
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="php:function('lang', 'office')"/>
+ </label>
+ <select id="office"
name="office">
+ <xsl:apply-templates
select="list_office_options/options"/>
+ </select>
+ </div>
+ <h2><xsl:value-of
select="php:function('lang', 'who')"/></h2>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="php:function('lang', 'organization')"/>
+ </label>
+ <div class="pure-custom">
+ <div>
+ <select
id="organization_id" name="organization_id">
+
<xsl:apply-templates select="list_organization_options/options"/>
+ </select>
+ </div>
+ <xsl:if
test="organization_selected = 1">
+ <div>
+
<xsl:value-of select="php:function('lang', 'edit_contact_info')"/><xsl:text>:
</xsl:text><a href="{organization_url}"><xsl:value-of
select="php:function('lang', 'edit_contact_info_org')"/> </a>
+ </div>
+ </xsl:if>
+ </div>
+ </div>
</div>
</div>
<div class="proplist-col">
@@ -68,7 +178,7 @@
<xsl:if test="selected != 0">
<xsl:attribute name="selected" value="selected"/>
</xsl:if>
- <xsl:value-of disable-output-escaping="yes" select="name"/>
+ <xsl:value-of select="name"/>
</option>
</xsl:template>
@@ -76,4 +186,17 @@
<optgroup label="{label}">
<xsl:apply-templates select="options"/>
</optgroup>
+</xsl:template>
+
+<xsl:template match="choice">
+ <xsl:choose>
+ <xsl:when test="checked='checked'">
+ <input id="{name}" type="checkbox" name="{name}"
value="{value}" checked="checked"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <input id="{name}" type="checkbox" name="{name}"
value="{value}"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:value-of select="label"/>
+ <br></br>
</xsl:template>
\ No newline at end of file
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [14496],
Nelson Guerra <=