[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/templates/base tts.xsl, 1.8 search_field_gro
From: |
sigurdne |
Subject: |
[Phpgroupware-cvs] property/templates/base tts.xsl, 1.8 search_field_grouped.xsl, 1.1 |
Date: |
Tue, 8 Nov 2005 16:19:00 +0100 |
Update of property/templates/base
Modified Files:
Branch: MAIN
tts.xsl lines: +40 -16
Added Files:
Branch: MAIN
search_field_grouped.xsl
Log Message:
*** empty log message ***
====================================================
Index: property/templates/base/tts.xsl
diff -u property/templates/base/tts.xsl:1.7 property/templates/base/tts.xsl:1.8
--- property/templates/base/tts.xsl:1.7 Fri Sep 23 09:00:47 2005
+++ property/templates/base/tts.xsl Tue Nov 8 15:19:37 2005
@@ -34,21 +34,45 @@
</xsl:when>
</xsl:choose>
<tr>
- <td>
- <xsl:call-template name="cat_filter"/>
- </td>
- <td>
- <xsl:call-template
name="filter_district"/>
- </td>
- <td align="center">
- <xsl:call-template
name="filter_filter"/>
- </td>
- <td align="center">
- <xsl:call-template
name="user_id_filter"/>
- </td>
- <td align="right">
- <xsl:call-template name="search_field"/>
- </td>
+ <xsl:choose>
+ <xsl:when test="group_filters != ''">
+ <xsl:variable
name="select_action"><xsl:value-of select="select_action"/></xsl:variable>
+ <form method="post"
action="{$select_action}">
+ <td>
+ <xsl:call-template
name="cat_select"/>
+ </td>
+ <td>
+ <xsl:call-template
name="select_district"/>
+ </td>
+ <td align="center">
+ <xsl:call-template
name="filter_select"/>
+ </td>
+ <td align="center">
+ <xsl:call-template
name="user_id_select"/>
+ </td>
+ <td align="right">
+ <xsl:call-template
name="search_field_grouped"/>
+ </td>
+ </form>
+ </xsl:when>
+ <xsl:otherwise>
+ <td>
+ <xsl:call-template
name="cat_filter"/>
+ </td>
+ <td>
+ <xsl:call-template
name="filter_district"/>
+ </td>
+ <td align="center">
+ <xsl:call-template
name="filter_filter"/>
+ </td>
+ <td align="center">
+ <xsl:call-template
name="user_id_filter"/>
+ </td>
+ <td align="right">
+ <xsl:call-template
name="search_field"/>
+ </td>
+ </xsl:otherwise>
+ </xsl:choose>
<td class="small_text" valign="top"
align="left">
<xsl:variable
name="link_excel"><xsl:value-of select="link_excel"/></xsl:variable>
<xsl:variable
name="lang_excel_help"><xsl:value-of select="lang_excel_help"/></xsl:variable>
====================================================
Index: search_field_grouped.xsl
<!-- $Id: search_field_grouped.xsl,v 1.1 2005/11/08 15:19:37 sigurdne Exp $ -->
<xsl:template name="search_field_grouped">
<xsl:variable name="query"><xsl:value-of
select="query"/></xsl:variable>
<xsl:variable name="lang_search"><xsl:value-of
select="lang_search"/></xsl:variable>
<table>
<tr>
<td class="small_text" valign="top" align="left">
<xsl:variable
name="link_date_search"><xsl:value-of select="link_date_search"/></xsl:variable>
<xsl:variable
name="lang_date_search_help"><xsl:value-of
select="lang_date_search_help"/></xsl:variable>
<xsl:variable
name="lang_date_search"><xsl:value-of select="lang_date_search"/></xsl:variable>
<a href="javascript:var
w=window.open('{$link_date_search}','','width=300,height=300')"
onMouseOver="overlib('{$lang_date_search_help}', CAPTION,
'{$lang_date_search}')"
onMouseOut="nd()">
<xsl:value-of
select="lang_date_search"/></a>
<table>
<xsl:choose>
<xsl:when test="start_date!=''">
<tr>
<td class="small_text"
align="left">
<xsl:value-of
select="start_date"/>
</td>
</tr>
<tr>
<td class="small_text"
align="left">
<xsl:value-of
select="end_date"/>
</td>
</tr>
</xsl:when>
<xsl:otherwise>
<tr>
<td class="small_text"
align="left">
<xsl:value-of
select="lang_none"/>
</td>
</tr>
</xsl:otherwise>
</xsl:choose>
</table>
</td>
<td valign="top" align="right">
<input type="hidden" name="start_date"
value="{start_date}"></input>
<input type="hidden" name="end_date"
value="{end_date}"></input>
<input type="text" name="query"
value="{$query}" onMouseout="window.status='';return true;">
<xsl:attribute name="onMouseover">
<xsl:text>window.status='</xsl:text>
<xsl:value-of
select="lang_searchfield_statustext"/>
<xsl:text>'; return
true;</xsl:text>
</xsl:attribute>
</input>
<xsl:text> </xsl:text>
<input type="submit" name="submit"
value="{$lang_search}" onMouseout="window.status='';return true;">
<xsl:attribute name="onMouseover">
<xsl:text>window.status='</xsl:text>
<xsl:value-of
select="lang_searchbutton_statustext"/>
<xsl:text>'; return
true;</xsl:text>
</xsl:attribute>
</input>
</td>
</tr>
</table>
</xsl:template>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/templates/base tts.xsl, 1.8 search_field_grouped.xsl, 1.1,
sigurdne <=