[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/templates/base entity.xsl, 1.3 status_select
From: |
sigurdne |
Subject: |
[Phpgroupware-cvs] property/templates/base entity.xsl, 1.3 status_select.xsl, 1.2 tts.xsl, 1.9 |
Date: |
Tue, 8 Nov 2005 23:39:00 +0100 |
Update of property/templates/base
Modified Files:
Branch: MAIN
entity.xsl lines: +29 -1
status_select.xsl lines: +2 -2
tts.xsl lines: +24 -4
Log Message:
no message
====================================================
Index: property/templates/base/entity.xsl
diff -u property/templates/base/entity.xsl:1.2
property/templates/base/entity.xsl:1.3
--- property/templates/base/entity.xsl:1.2 Tue Mar 1 15:04:27 2005
+++ property/templates/base/entity.xsl Tue Nov 8 22:39:11 2005
@@ -25,6 +25,32 @@
<xsl:call-template name="menu"/>
<table width="100%" cellpadding="2" cellspacing="2"
align="center">
<tr>
+ <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>
+ <xsl:choose>
+ <xsl:when
test="status_list!=''">
+ <td
align="left">
+
<xsl:call-template name="status_select"/>
+ </td>
+ </xsl:when>
+ </xsl:choose>
+ <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>
@@ -44,6 +70,8 @@
<td align="right">
<xsl:call-template name="search_field"/>
</td>
+ </xsl:otherwise>
+ </xsl:choose>
<td valign ="top">
<table>
<tr>
====================================================
Index: property/templates/base/status_select.xsl
diff -u property/templates/base/status_select.xsl:1.1
property/templates/base/status_select.xsl:1.2
--- property/templates/base/status_select.xsl:1.1 Mon Jan 17 10:03:18 2005
+++ property/templates/base/status_select.xsl Tue Nov 8 22:39:11 2005
@@ -2,8 +2,8 @@
<xsl:template name="status_select">
<xsl:variable name="lang_status_statustext"><xsl:value-of
select="lang_status_statustext"/></xsl:variable>
- <xsl:variable name="select_status_name"><xsl:value-of
select="select_status_name"/></xsl:variable>
- <select name="{$select_status_name}" class="forms"
onMouseover="window.status='{$lang_status_statustext}'; return true;"
onMouseout="window.status='';return true;">
+ <xsl:variable name="status_name"><xsl:value-of
select="status_name"/></xsl:variable>
+ <select name="{$status_name}" class="forms"
onMouseover="window.status='{$lang_status_statustext}'; return true;"
onMouseout="window.status='';return true;">
<option value=""><xsl:value-of
select="lang_no_status"/></option>
<xsl:apply-templates select="status_list"/>
</select>
====================================================
Index: property/templates/base/tts.xsl
diff -u property/templates/base/tts.xsl:1.8 property/templates/base/tts.xsl:1.9
--- property/templates/base/tts.xsl:1.8 Tue Nov 8 15:19:37 2005
+++ property/templates/base/tts.xsl Tue Nov 8 22:39:10 2005
@@ -34,9 +34,9 @@
</xsl:when>
</xsl:choose>
<tr>
+ <xsl:variable name="select_action"><xsl:value-of
select="select_action"/></xsl:variable>
<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"/>
@@ -53,6 +53,15 @@
<td align="right">
<xsl:call-template
name="search_field_grouped"/>
</td>
+ <td>
+ <input type="checkbox"
name="reset_query" value="1" onMouseout="window.status='';return true;">
+ <xsl:attribute
name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+
<xsl:value-of select="lang_reset_query"/>
+
<xsl:text>'; return true;</xsl:text>
+ </xsl:attribute>
+ </input>
+ </td>
</form>
</xsl:when>
<xsl:otherwise>
@@ -71,6 +80,17 @@
<td align="right">
<xsl:call-template
name="search_field"/>
</td>
+ <td>
+ <form method="post"
action="{$select_action}">
+ <input type="checkbox"
name="reset_query" onChange="this.form.submit();" value="1"
onMouseout="window.status='';return true;">
+ <xsl:attribute
name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+
<xsl:value-of select="lang_reset_query"/>
+
<xsl:text>'; return true;</xsl:text>
+ </xsl:attribute>
+ </input>
+ </form>
+ </td>
</xsl:otherwise>
</xsl:choose>
<td class="small_text" valign="top"
align="left">
@@ -672,8 +692,8 @@
</td>
<td>
<xsl:variable
name="lang_status_statustext"><xsl:value-of
select="lang_status_statustext"/></xsl:variable>
- <xsl:variable
name="select_status_name"><xsl:value-of
select="select_status_name"/></xsl:variable>
- <select name="{$select_status_name}"
class="forms" onMouseover="window.status='{$lang_status_statustext}'; return
true;" onMouseout="window.status='';return true;">
+ <xsl:variable name="status_name"><xsl:value-of
select="status_name"/></xsl:variable>
+ <select name="{$status_name}"
class="forms" onMouseover="window.status='{$lang_status_statustext}'; return
true;" onMouseout="window.status='';return true;">
<xsl:apply-templates
select="status_list"/>
</select>
</td>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/templates/base entity.xsl, 1.3 status_select.xsl, 1.2 tts.xsl, 1.9,
sigurdne <=
- Prev by Date:
[Phpgroupware-cvs] property/templates/default tts.xsl, 1.11 status_select.xsl, 1.3 entity.xsl, 1.5
- Next by Date:
[Phpgroupware-cvs] property/templates/base workorder.xsl, 1.5 tts.xsl, 1.11 entity.xsl, 1.4
- Previous by thread:
[Phpgroupware-cvs] property/templates/default tts.xsl, 1.11 status_select.xsl, 1.3 entity.xsl, 1.5
- Next by thread:
[Phpgroupware-cvs] property/inc class.uitts.inc.php, 1.23 class.boentity.inc.php, 1.11 class.uiworkorder.inc.php, 1.15 class.botts.inc.php, 1.12 class.boworkorder.inc.php, 1.8 class.uientity.inc.php, 1.14
- Index(es):