phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/templates/base location.xsl,1.4


From: sigurdne
Subject: [Phpgroupware-cvs] property/templates/base location.xsl,1.4
Date: Thu, 3 Nov 2005 15:53:00 +0100

Update of property/templates/base

Modified Files:
     Branch: MAIN
            location.xsl lines: +52 -8

Log Message:
*** empty log message ***

====================================================
Index: property/templates/base/location.xsl
diff -u property/templates/base/location.xsl:1.3 
property/templates/base/location.xsl:1.4
--- property/templates/base/location.xsl:1.3    Wed May 18 16:05:54 2005
+++ property/templates/base/location.xsl        Thu Nov  3 14:53:44 2005
@@ -51,6 +51,9 @@
                                <td>
                                        <xsl:call-template 
name="filter_district"/>
                                </td>
+                               <td>
+                                       <xsl:call-template 
name="filter_part_of_town"/>
+                               </td>
                                <xsl:choose>
                                        <xsl:when test="status_eco_list='' and 
lookup!=1">
                                                <td align="left">
@@ -469,14 +472,15 @@
                                </td>
                        </tr>
                </table>
-
-               <table width="100%" cellpadding="2" cellspacing="2" 
align="center">
-                               <xsl:call-template name="table_header_history"/>
-                               <xsl:call-template name="values_history"/>
-               </table>
-
+               <xsl:choose>
+                       <xsl:when test="values != ''">
+                               <table width="100%" cellpadding="2" 
cellspacing="2" align="center">
+                                       <xsl:call-template 
name="table_header_history"/>
+                                       <xsl:call-template 
name="values_history"/>
+                               </table>
+                       </xsl:when>
+               </xsl:choose>
                </div>
-
        </xsl:template>

        <xsl:template match="owner_list">
@@ -499,6 +503,22 @@
                <div align="left">

                <table cellpadding="2" cellspacing="2" width="80%" 
align="center">
+
+                       <tr>
+                               <td>
+                                       <xsl:value-of 
select="lang_change_type"/>
+                               </td>
+                               <xsl:for-each select="change_type_list" >
+                                       <xsl:choose>
+                                               <xsl:when 
test="selected='selected'">
+                                                       <td>
+                                                               <xsl:value-of 
select="name"/>
+                                                       </td>
+                                               </xsl:when>
+                                       </xsl:choose>
+                               </xsl:for-each>
+                       </tr>
+
                        <xsl:choose>
                                <xsl:when test="lookup_type='form'">
                                        <xsl:call-template 
name="location_form"/>
@@ -655,9 +675,33 @@
                                                </xsl:attribute>
                                        </input>
                                        </form>
+
+                       <xsl:choose>
+                               <xsl:when test="check_history != ''">
+                                       <xsl:variable 
name="lang_history"><xsl:value-of select="lang_history"/></xsl:variable>
+                                       <form method="post">
+                                       <input type="submit" name="get_history" 
value="{$lang_history}" onMouseout="window.status='';return true;">
+                                               <xsl:attribute 
name="onMouseover">
+                                                       
<xsl:text>window.status='</xsl:text>
+                                                               <xsl:value-of 
select="lang_history_statustext"/>
+                                                       <xsl:text>'; return 
true;</xsl:text>
+                                               </xsl:attribute>
+                                       </input>
+                                       </form>
+                               </xsl:when>
+                       </xsl:choose>
+
                                </td>
                        </tr>
                </table>
+               <xsl:choose>
+                       <xsl:when test="values != ''">
+                               <table width="100%" cellpadding="2" 
cellspacing="2" align="center">
+                                       <xsl:call-template 
name="table_header_history"/>
+                                       <xsl:call-template 
name="values_history"/>
+                               </table>
+                       </xsl:when>
+               </xsl:choose>
                </div>
        </xsl:template>







reply via email to

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