phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/skins/default/lookup.xsl, 1.1.1.4


From: nomail
Subject: [Phpgroupware-cvs] property/skins/default/lookup.xsl, 1.1.1.4
Date: Sun, 23 May 2004 12:34:51 -0000

Update of /property/skins/default
Modified Files:
        Branch: 
          lookup.xsl

date: 2004/04/29 12:49:49;  author: sigurdne;  state: Exp;  lines: +50 -40

Log Message:
no message
=====================================================================
Index: property/skins/default/lookup.xsl
diff -u property/skins/default/lookup.xsl:1.1.1.3 
property/skins/default/lookup.xsl:1.1.1.4
--- property/skins/default/lookup.xsl:1.1.1.3   Fri Apr 23 21:26:43 2004
+++ property/skins/default/lookup.xsl   Thu Apr 29 12:49:49 2004
@@ -40,7 +40,7 @@
                <table width="100%" cellpadding="2" cellspacing="2" 
align="center">
                        <tr>
                                <td>
-                                       <xsl:call-template name="cat_filter"/>
+                                       <form></form><xsl:call-template 
name="cat_filter"/>
                                </td>
                        <!--    <td align="center">
                                        <xsl:call-template 
name="filter_select"/>
@@ -70,23 +70,24 @@
        </xsl:template>
 
        <xsl:template match="table_header_addressbook">
-               <xsl:variable name="sort_id"><xsl:value-of 
select="sort_id"/></xsl:variable>
-               <xsl:variable name="sort_name"><xsl:value-of 
select="sort_name"/></xsl:variable>
+               <xsl:variable name="sort_id"><xsl:value-of 
select="table_header_addressbook_item/sort_id"/></xsl:variable>
+               <xsl:variable name="sort_name"><xsl:value-of 
select="table_header_addressbook_item/sort_name"/></xsl:variable>
                        <tr class="th">
                                <td class="th_text" width="10%" align="right">
-                                       <a href="{$sort_id}"><xsl:value-of 
select="lang_id"/></a>
+                                       <a href="{$sort_id}"><xsl:value-of 
select="table_header_addressbook_item/lang_id"/></a>
                                </td>
                                <td class="th_text" width="40%" align="left">
-                                       <a href="{$sort_name}"><xsl:value-of 
select="lang_name"/></a>
+                                       <a href="{$sort_name}"><xsl:value-of 
select="table_header_addressbook_item/lang_name"/></a>
                                </td>
                                <td class="th_text" width="10%">
-                                       <xsl:value-of select="lang_select"/>
+                                       <xsl:value-of 
select="table_header_addressbook_item/lang_select"/>
                                </td>
                        </tr>
        </xsl:template>
 
 
        <xsl:template match="values_addressbook">
+               <xsl:for-each select="values_addressbook_item" >
                <xsl:variable name="lang_select_statustext"><xsl:value-of 
select="lang_select_statustext"/></xsl:variable>
                        <tr>
                                <xsl:attribute name="class">
@@ -128,6 +129,7 @@
                                        </xsl:when>
                                </xsl:choose>
                        </tr>
+               </xsl:for-each>
        </xsl:template>
 
 <!-- list b_account-->
@@ -146,7 +148,7 @@
                <table width="100%" cellpadding="2" cellspacing="2" 
align="center">
                        <tr>
                                <td align="right">
-                                       <xsl:call-template name="search_field"/>
+                                       <form></form><xsl:call-template 
name="search_field"/>
                                </td>
                        </tr>
                        <tr>
@@ -170,23 +172,24 @@
        </xsl:template>
 
        <xsl:template match="table_header_b_account">
-               <xsl:variable name="sort_id"><xsl:value-of 
select="sort_id"/></xsl:variable>
-               <xsl:variable name="sort_name"><xsl:value-of 
select="sort_name"/></xsl:variable>
+               <xsl:variable name="sort_id"><xsl:value-of 
select="table_header_b_account_item/sort_id"/></xsl:variable>
+               <xsl:variable name="sort_name"><xsl:value-of 
select="table_header_b_account_item/sort_name"/></xsl:variable>
                        <tr class="th">
                                <td class="th_text" width="10%" align="right">
-                                       <a href="{$sort_id}"><xsl:value-of 
select="lang_id"/></a>
+                                       <a href="{$sort_id}"><xsl:value-of 
select="table_header_b_account_item/lang_id"/></a>
                                </td>
                                <td class="th_text" width="40%" align="right">
-                                       <a href="{$sort_name}"><xsl:value-of 
select="lang_name"/></a>
+                                       <a href="{$sort_name}"><xsl:value-of 
select="table_header_b_account_item/lang_name"/></a>
                                </td>
                                <td class="th_text" width="10%">
-                                       <xsl:value-of select="lang_select"/>
+                                       <xsl:value-of 
select="table_header_b_account_item/lang_select"/>
                                </td>
                        </tr>
        </xsl:template>
 
 
        <xsl:template match="values_b_account">
+               <xsl:for-each select="values_b_account_item" >
                <xsl:variable name="lang_select_statustext"><xsl:value-of 
select="lang_select_statustext"/></xsl:variable>
                        <tr>
                                <xsl:attribute name="class">
@@ -228,6 +231,7 @@
                                        </xsl:when>
                                </xsl:choose>
                        </tr>
+               </xsl:for-each>
        </xsl:template>
 
 <!-- list street-->
@@ -246,7 +250,7 @@
                <table width="100%" cellpadding="2" cellspacing="2" 
align="center">
                        <tr>
                                <td align="right">
-                                       <xsl:call-template name="search_field"/>
+                                       <form></form><xsl:call-template 
name="search_field"/>
                                </td>
                        </tr>
                        <tr>
@@ -270,23 +274,24 @@
        </xsl:template>
 
        <xsl:template match="table_header_street">
-               <xsl:variable name="sort_id"><xsl:value-of 
select="sort_id"/></xsl:variable>
-               <xsl:variable name="sort_name"><xsl:value-of 
select="sort_name"/></xsl:variable>
+               <xsl:variable name="sort_id"><xsl:value-of 
select="table_header_street_item/sort_id"/></xsl:variable>
+               <xsl:variable name="sort_name"><xsl:value-of 
select="table_header_street_item/sort_name"/></xsl:variable>
                        <tr class="th">
                                <td class="th_text" width="5%" align="right">
-                                       <a href="{$sort_id}"><xsl:value-of 
select="lang_id"/></a>
+                                       <a href="{$sort_id}"><xsl:value-of 
select="table_header_street_item/lang_id"/></a>
                                </td>
                                <td class="th_text" width="90%" align="right">
-                                       <a href="{$sort_name}"><xsl:value-of 
select="lang_name"/></a>
+                                       <a href="{$sort_name}"><xsl:value-of 
select="table_header_street_item/lang_name"/></a>
                                </td>
                                <td class="th_text" width="5%">
-                                       <xsl:value-of select="lang_select"/>
+                                       <xsl:value-of 
select="table_header_street_item/lang_select"/>
                                </td>
                        </tr>
        </xsl:template>
 
 
        <xsl:template match="values_street">
+               <xsl:for-each select="values_street_item" >
                <xsl:variable name="lang_select_statustext"><xsl:value-of 
select="lang_select_statustext"/></xsl:variable>
                        <tr>
                                <xsl:attribute name="class">
@@ -328,6 +333,7 @@
                                        </xsl:when>
                                </xsl:choose>
                        </tr>
+               </xsl:for-each>
        </xsl:template>
 
 <!-- list tenant-->
@@ -347,7 +353,7 @@
                <table width="100%" cellpadding="2" cellspacing="2" 
align="center">
                        <tr>
                                <td align="right">
-                                       <xsl:call-template name="search_field"/>
+                                       <form></form><xsl:call-template 
name="search_field"/>
                                </td>
                        </tr>
                        <tr>
@@ -357,8 +363,8 @@
                        </tr>
                </table>
                <table width="100%" cellpadding="2" cellspacing="2" 
align="center">
-                               <xsl:apply-templates 
select="table_header_tenant_new"/>
-                               <xsl:apply-templates 
select="values_tenant_new"/>
+                               <xsl:apply-templates 
select="table_header_tenant"/>
+                               <xsl:apply-templates select="values_tenant"/>
 
                        <tr>
                                <td colspan="3" width="100%">
@@ -370,28 +376,29 @@
                
        </xsl:template>
 
-       <xsl:template match="table_header_tenant_new">
-               <xsl:variable name="sort_id"><xsl:value-of 
select="sort_id"/></xsl:variable>
-               <xsl:variable name="sort_last_name"><xsl:value-of 
select="sort_last_name"/></xsl:variable>
-               <xsl:variable name="sort_first_name"><xsl:value-of 
select="sort_first_name"/></xsl:variable>
+       <xsl:template match="table_header_tenant">
+               <xsl:variable name="sort_id"><xsl:value-of 
select="table_header_tenant_item/sort_id"/></xsl:variable>
+               <xsl:variable name="sort_last_name"><xsl:value-of 
select="table_header_tenant_item/sort_last_name"/></xsl:variable>
+               <xsl:variable name="sort_first_name"><xsl:value-of 
select="table_header_tenant_item/sort_first_name"/></xsl:variable>
                        <tr class="th">
                                <td class="th_text" width="5%" align="right">
-                                       <a href="{$sort_id}"><xsl:value-of 
select="lang_id"/></a>
+                                       <a href="{$sort_id}"><xsl:value-of 
select="table_header_tenant_item/lang_id"/></a>
                                </td>
                                <td class="th_text" width="40%" align="right">
-                                       <a 
href="{$sort_last_name}"><xsl:value-of select="lang_last_name"/></a>
+                                       <a 
href="{$sort_last_name}"><xsl:value-of 
select="table_header_tenant_item/lang_last_name"/></a>
                                </td>
                                <td class="th_text" width="40%" align="right">
-                                       <a 
href="{$sort_first_name}"><xsl:value-of select="lang_first_name"/></a>
+                                       <a 
href="{$sort_first_name}"><xsl:value-of 
select="table_header_tenant_item/lang_first_name"/></a>
                                </td>
                                <td class="th_text" width="5%">
-                                       <xsl:value-of select="lang_select"/>
+                                       <xsl:value-of 
select="table_header_tenant_item/lang_select"/>
                                </td>
                        </tr>
        </xsl:template>
 
 
-       <xsl:template match="values_tenant_new">
+       <xsl:template match="values_tenant">
+               <xsl:for-each select="values_tenant_item" >
                <xsl:variable name="lang_select_statustext"><xsl:value-of 
select="lang_select_statustext"/></xsl:variable>
                        <tr>
                                <xsl:attribute name="class">
@@ -437,6 +444,7 @@
                                        </xsl:when>
                                </xsl:choose>
                        </tr>
+               </xsl:for-each>
        </xsl:template>
 
 <!-- list ns3420-->
@@ -455,7 +463,7 @@
                <table width="100%" cellpadding="2" cellspacing="2" 
align="center">
                        <tr>
                                <td align="right">
-                                       <xsl:call-template name="search_field"/>
+                                       <form></form><xsl:call-template 
name="search_field"/>
                                </td>
                        </tr>
                        <tr>
@@ -479,23 +487,24 @@
        </xsl:template>
 
        <xsl:template match="table_header_ns3420">
-               <xsl:variable name="sort_id"><xsl:value-of 
select="sort_id"/></xsl:variable>
-               <xsl:variable name="sort_descr"><xsl:value-of 
select="sort_descr"/></xsl:variable>
+               <xsl:variable name="sort_id"><xsl:value-of 
select="table_header_ns3420_item/sort_id"/></xsl:variable>
+               <xsl:variable name="sort_descr"><xsl:value-of 
select="table_header_ns3420_item/sort_descr"/></xsl:variable>
                        <tr class="th">
                                <td class="th_text" width="15%" align="right">
-                                       <a href="{$sort_id}"><xsl:value-of 
select="lang_id"/></a>
+                                       <a href="{$sort_id}"><xsl:value-of 
select="table_header_ns3420_item/lang_id"/></a>
                                </td>
                                <td class="th_text" width="85%" align="right">
-                                       <a href="{$sort_descr}"><xsl:value-of 
select="lang_descr"/></a>
+                                       <a href="{$sort_descr}"><xsl:value-of 
select="table_header_ns3420_item/lang_descr"/></a>
                                </td>
                                <td class="th_text" width="5%">
-                                       <xsl:value-of select="lang_select"/>
+                                       <xsl:value-of 
select="table_header_ns3420_item/lang_select"/>
                                </td>
                        </tr>
        </xsl:template>
 
 
        <xsl:template match="values_ns3420">
+               <xsl:for-each select="values_ns3420_item" >
                <xsl:variable name="lang_select_statustext"><xsl:value-of 
select="lang_select_statustext"/></xsl:variable>
                        <tr>
                                <xsl:attribute name="class">
@@ -537,6 +546,7 @@
                                        </xsl:when>
                                </xsl:choose>
                        </tr>
+               </xsl:for-each>
        </xsl:template>
 
        <xsl:template match="list_entity">
@@ -554,7 +564,7 @@
                <table width="95%" cellpadding="2" cellspacing="2" 
align="center">
                        <tr>
                                <td>
-                                       <xsl:call-template name="cat_filter"/>
+                                       <form></form><xsl:call-template 
name="cat_filter"/>
                                </td>
                                <td>
                                        <xsl:call-template 
name="filter_district"/>
@@ -664,12 +674,12 @@
                <table width="95%" cellpadding="2" cellspacing="2" 
align="center">
                        <tr>
                                <td height="50">
-                                       <xsl:variable 
name="lang_done"><xsl:value-of select="lang_done"/></xsl:variable>
+                                       <xsl:variable 
name="lang_done"><xsl:value-of 
select="table_done_item/lang_done"/></xsl:variable>
                                        <form method="post" >
                                                <input type="button" 
name="done" value="{$lang_done}" onClick="window.close()" 
onMouseout="window.status='';return true;">
                                                        <xsl:attribute 
name="onMouseover">
                                                                
<xsl:text>window.status='</xsl:text>
-                                                                       
<xsl:value-of select="lang_done_statustext"/>
+                                                                       
<xsl:value-of select="table_done_item/lang_done_statustext"/>
                                                                <xsl:text>'; 
return true;</xsl:text>
                                                        </xsl:attribute>
                                                </input>




reply via email to

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