phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: property/templates/default lookup.xsl,1.1,1.2


From: Sigurd Nes <address@hidden>
Subject: [Phpgroupware-cvs] CVS: property/templates/default lookup.xsl,1.1,1.2
Date: Sat, 28 Dec 2002 12:25:47 -0500

Update of /cvsroot/phpgroupware/property/templates/default
In directory subversions:/tmp/cvs-serv12705/templates/default

Modified Files:
        lookup.xsl 
Log Message:
no message

Index: lookup.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/lookup.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** lookup.xsl  27 Dec 2002 19:03:28 -0000      1.1
--- lookup.xsl  28 Dec 2002 17:25:45 -0000      1.2
***************
*** 57,66 ****
  
        <xsl:template match="table_header_addressbook">
                        <tr class="th">
                                <td class="th_text" width="10%" align="right">
!                                       <xsl:value-of select="lang_id"/>
                                </td>
                                <td class="th_text" width="40%" align="right">
!                                       <xsl:value-of select="lang_name"/>
                                </td>
                                <td class="th_text" width="10%">
--- 57,68 ----
  
        <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>
                        <tr class="th">
                                <td class="th_text" width="10%" align="right">
!                                       <a href="{$sort_id}"><xsl:value-of 
select="lang_id"/></a>
                                </td>
                                <td class="th_text" width="40%" align="right">
!                                       <a href="{$sort_name}"><xsl:value-of 
select="lang_name"/></a>
                                </td>
                                <td class="th_text" width="10%">
***************
*** 127,131 ****
  
                <xsl:call-template name="app_header"/>
!               <table width="100%" cellpadding="2" cellspacing="2" 
align="center">
                        <tr>
                                <td>
--- 129,133 ----
  
                <xsl:call-template name="app_header"/>
!               <table width="95%" cellpadding="2" cellspacing="2" 
align="center">
                        <tr>
                                <td>
***************
*** 152,158 ****
  
        <xsl:template match="table_header_property">
                        <tr class="th">
                                <td class="th_text" width="10%" align="right">
!                                       <xsl:value-of select="lang_property"/>
                                </td>
                                <td class="th_text" width="10%" align="right">
--- 154,162 ----
  
        <xsl:template match="table_header_property">
+               <xsl:variable name="sort_property"><xsl:value-of 
select="sort_property"/></xsl:variable>
+               <xsl:variable name="sort_street_name"><xsl:value-of 
select="sort_street_name"/></xsl:variable>
                        <tr class="th">
                                <td class="th_text" width="10%" align="right">
!                                       <a 
href="{$sort_property}"><xsl:value-of select="lang_property"/></a>
                                </td>
                                <td class="th_text" width="10%" align="right">
***************
*** 169,180 ****
                                </td>
                                <td class="th_text" width="40%" align="right">
!                                       <xsl:value-of 
select="lang_street_name"/>
                                </td>
                                <td class="th_text" width="5%" align="right">
                                        <xsl:value-of select="lang_street_num"/>
                                </td>
-                               <td class="th_text" width="10%">
-                                       <xsl:value-of select="lang_select"/>
-                               </td>
                        </tr>
        </xsl:template>
--- 173,181 ----
                                </td>
                                <td class="th_text" width="40%" align="right">
!                                       <a 
href="{$sort_street_name}"><xsl:value-of select="lang_street_name"/></a>
                                </td>
                                <td class="th_text" width="5%" align="right">
                                        <xsl:value-of select="lang_street_num"/>
                                </td>
                        </tr>
        </xsl:template>
***************
*** 198,231 ****
                                </xsl:attribute>
  
                                <td align="right">
!                                       <xsl:value-of select="property_id"/>
                                </td>
                                <td align="right">
!                                       <xsl:value-of select="building_id"/>
                                </td>
!                               <xsl:choose>
!                                       <xsl:when test="property_id">
!                                               <form>                  
!                                                       <td valign="top">
!                                                               <input 
type="hidden" name="hidden" value="{id}"></input>
!                                                               <input 
type="hidden" name="hidden" value="{vendor_name}"></input>
!                                                               <xsl:variable 
name="lang_select"><xsl:value-of select="lang_select"/></xsl:variable>
!                                                               <input 
type="button" name="convert" value="{$lang_select}" 
onClick="ExchangeVendor(this.form);" onMouseout="window.status='';return true;">
!                                                                       
<xsl:attribute name="onMouseover">
!                                                                               
<xsl:text>window.status='</xsl:text>
!                                                                               
        <xsl:value-of select="lang_select_statustext"/>
!                                                                               
<xsl:text>'; return true;</xsl:text>
!                                                                       
</xsl:attribute>
!                                                               </input>
!                                                       </td>
!                                               </form>
!                                       </xsl:when>
!                               </xsl:choose>
                        </tr>
        </xsl:template>
  
  
        <xsl:template match="table_done">
!               <table width="100%" cellpadding="2" cellspacing="2" 
align="center">
                        <tr>
                                <td height="50">
--- 199,281 ----
                                </xsl:attribute>
  
+ 
+                       <xsl:choose>
+                               <xsl:when test="property_id">
+                               <form>                  
+                                       <td valign="top">
+                                               <input type="hidden" 
name="hidden" value="{property_id}"></input>
+                                               <xsl:variable 
name="property_id"><xsl:value-of select="property_id"/></xsl:variable>
+                                               <input type="button" 
name="convert" value="{$property_id}" onClick="ExchangeProperty_id(this.form);" 
onMouseout="window.status='';return true;">
+                                                       <xsl:attribute 
name="onMouseover">
+                                                               
<xsl:text>window.status='</xsl:text>
+                                                                       
<xsl:value-of select="lang_select_statustext"/>
+                                                               <xsl:text>'; 
return true;</xsl:text>
+                                                       </xsl:attribute>
+                                               </input>
+                                       </td>
+                               </form>
+ 
+                               <form>                  
+                                       <td valign="top">
+                                               <input type="hidden" 
name="hidden" value="{building_id}"></input>
+                                               <xsl:variable 
name="building_id"><xsl:value-of select="building_id"/></xsl:variable>
+                                               <input type="button" 
name="convert" value="{$building_id}" onClick="ExchangeProperty_id(this.form);" 
onMouseout="window.status='';return true;">
+                                                       <xsl:attribute 
name="onMouseover">
+                                                               
<xsl:text>window.status='</xsl:text>
+                                                                       
<xsl:value-of select="lang_select_statustext"/>
+                                                               <xsl:text>'; 
return true;</xsl:text>
+                                                       </xsl:attribute>
+                                               </input>
+                                       </td>
+                               </form>
+                               <form>                  
+                                       <td valign="top">
+                                               <input type="hidden" 
name="hidden" value="{entrance_id}"></input>
+                                               <xsl:variable 
name="entrance_id"><xsl:value-of select="entrance_id"/></xsl:variable>
+                                               <input type="button" 
name="convert" value="{$entrance_id}" onClick="ExchangeProperty_id(this.form);" 
onMouseout="window.status='';return true;">
+                                                       <xsl:attribute 
name="onMouseover">
+                                                               
<xsl:text>window.status='</xsl:text>
+                                                                       
<xsl:value-of select="lang_select_statustext"/>
+                                                               <xsl:text>'; 
return true;</xsl:text>
+                                                       </xsl:attribute>
+                                               </input>
+                                       </td>
+                               </form>
+ 
+ 
                                <td align="right">
!                                       <xsl:value-of select="floor"/>
                                </td>
+ 
+                               <form>                  
+                                       <td valign="top">
+                                               <input type="hidden" 
name="hidden" value="{apartment_id}"></input>
+                                               <xsl:variable 
name="apartment_id"><xsl:value-of select="apartment_id"/></xsl:variable>
+                                               <input type="button" 
name="convert" value="{$apartment_id}" 
onClick="ExchangeProperty_id(this.form);" onMouseout="window.status='';return 
true;">
+                                                       <xsl:attribute 
name="onMouseover">
+                                                               
<xsl:text>window.status='</xsl:text>
+                                                                       
<xsl:value-of select="lang_select_statustext"/>
+                                                               <xsl:text>'; 
return true;</xsl:text>
+                                                       </xsl:attribute>
+                                               </input>
+                                       </td>
+                               </form>
+ 
                                <td align="right">
!                                       <xsl:value-of select="street_name"/>
                                </td>
!                               <td align="right">
!                                       <xsl:value-of select="street_number"/>
!                               </td>
! 
!                               </xsl:when>
!                       </xsl:choose>
                        </tr>
        </xsl:template>
  
  
+ 
        <xsl:template match="table_done">
!               <table width="95%" cellpadding="2" cellspacing="2" 
align="center">
                        <tr>
                                <td height="50">




reply via email to

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