[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [9652]
From: |
Torstein |
Subject: |
[Fmsystem-commits] [9652] |
Date: |
Fri, 22 Jun 2012 13:17:48 +0000 |
Revision: 9652
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9652
Author: vator
Date: 2012-06-22 13:17:46 +0000 (Fri, 22 Jun 2012)
Log Message:
-----------
Modified Paths:
--------------
trunk/controller/templates/base/calendar/view_calendar_month.xsl
Modified: trunk/controller/templates/base/calendar/view_calendar_month.xsl
===================================================================
--- trunk/controller/templates/base/calendar/view_calendar_month.xsl
2012-06-22 12:43:41 UTC (rev 9651)
+++ trunk/controller/templates/base/calendar/view_calendar_month.xsl
2012-06-22 13:17:46 UTC (rev 9652)
@@ -121,6 +121,53 @@
<!-- ===================== COLOR ICON MAP =================
-->
<xsl:call-template name="icon_color_map" />
+ <!-- ===================== FILTERS ================= -->
+ <form id="filters" class="select-box"
action="index.php?menuaction=controller.uicalendar.view_calendar_for_year"
method="post">
+ <input type="hidden" name="year">
+ <xsl:attribute name="value">
+ <xsl:value-of select="current_year"/>
+ </xsl:attribute>
+ </input>
+ <input type="hidden" name="location_code">
+ <xsl:attribute name="value">
+ <xsl:value-of
select="current_location/location_code"/>
+ </xsl:attribute>
+ </input>
+ <input type="hidden" name="repeat_type">
+ <xsl:attribute name="value">
+ <xsl:value-of
select="current_repeat_type"/>
+ </xsl:attribute>
+ </input>
+ <input type="hidden" name="role">
+ <xsl:attribute name="value">
+ <xsl:value-of
select="current_role"/>
+ </xsl:attribute>
+ </input>
+
+ <div class="filter first">
+ <label>Filtrer på rolle</label>
+ <select id="filter-role">
+ <xsl:for-each
select="roles_array">
+ <xsl:variable
name="role_id"><xsl:value-of select="id"/></xsl:variable>
+ <option
value="{$role_id}">
+ <xsl:value-of
disable-output-escaping="yes" select="name"/>
+ </option>
+ </xsl:for-each>
+ </select>
+ </div>
+ <div class="filter">
+ <label>Filtrer på frekvenstype</label>
+ <select class="required"
id="filter-repeat_type" name="repeat_type">
+ <option value=""
selected="selected" >Velg frekvenstype</option>
+ <xsl:for-each
select="repeat_type_array">
+ <option value="{id}">
+ <xsl:value-of
disable-output-escaping="yes" select="value"/>
+ </option>
+ </xsl:for-each>
+ </select>
+ </div>
+ </form>
+
<!-- ===================== CHOOSE ANOTHER BUILDING ON PROPERTY
================= -->
<div id="choose-building" class="select-box">
<xsl:if test="location_level > 1">
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [9652],
Torstein <=