[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: property/templates/default invoice.xsl,1.27,1.28
From: |
Sigurd Nes <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: property/templates/default invoice.xsl,1.27,1.28 location.xsl,1.17,1.18 lookup.xsl,1.20,1.21 apartment.xsl,1.6,NONE building.xsl,1.10,NONE entrance.xsl,1.6,NONE property.xsl,1.12,NONE |
Date: |
Sat, 28 Jun 2003 12:11:49 -0400 |
Update of /cvsroot/phpgroupware/property/templates/default
In directory subversions:/tmp/cvs-serv26697/templates/default
Modified Files:
invoice.xsl location.xsl lookup.xsl
Removed Files:
apartment.xsl building.xsl entrance.xsl property.xsl
Log Message:
Remove the old location hierarchy
Index: invoice.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/invoice.xsl,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** invoice.xsl 19 Jun 2003 20:03:09 -0000 1.27
--- invoice.xsl 28 Jun 2003 16:11:47 -0000 1.28
***************
*** 621,625 ****
</td>
<td align="left">
! <input type="text" name="property_id"
onClick="property_lookup()" value="{property_id}" size="4"
onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
--- 621,625 ----
</td>
<td align="left">
! <input type="text" name="loc1"
onClick="property_lookup()" value="{loc1}" size="4"
onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
***************
*** 633,647 ****
<xsl:value-of
select="lang_property"/></a>
! <input type="hidden"
name="property_name"></input>
! <input type="hidden"
name="building_id"></input>
! <input type="hidden"
name="entrance_id"></input>
! <input type="hidden"
name="floor"></input>
! <input type="hidden"
name="apartment_id"></input>
! <input type="hidden"
name="tenant_id"></input>
! <input type="hidden"
name="street_name"></input>
! <input type="hidden"
name="street_number"></input>
! <input type="hidden"
name="tenant_name"></input>
! <input type="hidden"
name="contact_phone"></input>
! <input type="hidden"
name="equipment_id"></input>
</td>
<td align="left">
--- 633,637 ----
<xsl:value-of
select="lang_property"/></a>
! <input type="hidden"
name="loc1_name"></input>
</td>
<td align="left">
***************
*** 925,929 ****
<td align="left">
! <input type="text" name="property_id"
onClick="property_lookup()" value="{property_id}" size="4"
onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
--- 915,919 ----
<td align="left">
! <input type="text" name="loc1"
onClick="property_lookup()" value="{loc1}" size="4"
onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
***************
*** 937,945 ****
<xsl:value-of
select="lang_property"/></a>
! <input type="hidden"
name="property_name"></input>
! <input type="hidden"
name="building_id"></input>
! <input type="hidden"
name="entrance_id"></input>
! <input type="hidden"
name="apartment_id"></input>
! <input type="hidden"
name="tenant_id"></input>
</td>
<td align="left">
--- 927,931 ----
<xsl:value-of
select="lang_property"/></a>
! <input type="hidden"
name="loc1_name"></input>
</td>
<td align="left">
***************
*** 958,963 ****
</div>
-
-
<table width="100%" cellpadding="2" cellspacing="2"
align="center">
<xsl:choose>
--- 944,947 ----
***************
*** 976,980 ****
</xsl:choose>
<xsl:choose>
! <xsl:when test="property_id!=''">
<tr>
<td width="25%" class="th_text"
align="left">
--- 960,964 ----
</xsl:choose>
<xsl:choose>
! <xsl:when test="loc1!=''">
<tr>
<td width="25%" class="th_text"
align="left">
***************
*** 982,986 ****
</td>
<td width="25%" class="th_text"
align="left">
! <xsl:value-of
select="property_id"/>
</td>
<td width="50%">
--- 966,970 ----
</td>
<td width="25%" class="th_text"
align="left">
! <xsl:value-of
select="loc1"/>
</td>
<td width="50%">
Index: location.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/location.xsl,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** location.xsl 22 Jun 2003 09:23:03 -0000 1.17
--- location.xsl 28 Jun 2003 16:11:47 -0000 1.18
***************
*** 9,12 ****
--- 9,15 ----
<xsl:apply-templates select="view"/>
</xsl:when>
+ <xsl:when test="update_cat">
+ <xsl:apply-templates select="update_cat"/>
+ </xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="list"/>
***************
*** 551,552 ****
--- 554,601 ----
</div>
</xsl:template>
+
+ <!-- update_cat -->
+
+ <xsl:template match="update_cat">
+ <table cellpadding="2" cellspacing="2" align="center">
+ <xsl:choose>
+ <xsl:when test="msgbox_data != ''">
+ <tr>
+ <td align="left" colspan="3">
+ <xsl:call-template
name="msgbox"/>
+ </td>
+ </tr>
+ </xsl:when>
+ </xsl:choose>
+ <tr>
+ <td align="center"
colspan="2"><xsl:value-of select="lang_confirm_msg"/></td>
+ </tr>
+ <tr>
+ <td>
+ <xsl:variable
name="update_action"><xsl:value-of select="update_action"/></xsl:variable>
+ <xsl:variable
name="lang_yes"><xsl:value-of select="lang_yes"/></xsl:variable>
+ <form method="POST"
action="{$update_action}">
+ <input type="submit"
class="forms" name="confirm" value="{$lang_yes}"
onMouseout="window.status='';return true;">
+ <xsl:attribute
name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+
<xsl:value-of select="lang_yes_statustext"/>
+
<xsl:text>'; return true;</xsl:text>
+ </xsl:attribute>
+ </input>
+ </form>
+ </td>
+ <td align="right">
+ <xsl:variable
name="done_action"><xsl:value-of select="done_action"/></xsl:variable>
+ <a href="{$done_action}"
onMouseout="window.status='';return true;">
+ <xsl:attribute
name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+
<xsl:value-of select="lang_no_statustext"/>
+ <xsl:text>';
return true;</xsl:text>
+ </xsl:attribute>
+ <xsl:value-of
select="lang_no"/>
+ </a>
+ </td>
+ </tr>
+ </table>
+ </xsl:template>
+
Index: lookup.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/lookup.xsl,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** lookup.xsl 19 Jun 2003 20:03:09 -0000 1.20
--- lookup.xsl 28 Jun 2003 16:11:47 -0000 1.21
***************
*** 3,24 ****
<xsl:template name="app_data">
<xsl:choose>
- <xsl:when test="list_property">
- <xsl:apply-templates select="list_property"/>
- </xsl:when>
- <xsl:when test="list_building">
- <xsl:apply-templates select="list_building"/>
- </xsl:when>
- <xsl:when test="list_entrance">
- <xsl:apply-templates select="list_entrance"/>
- </xsl:when>
- <xsl:when test="list_apartment">
- <xsl:apply-templates select="list_apartment"/>
- </xsl:when>
<xsl:when test="list_tenant">
<xsl:apply-templates select="list_tenant"/>
</xsl:when>
- <xsl:when test="list_tenant_new">
- <xsl:apply-templates select="list_tenant_new"/>
- </xsl:when>
<xsl:when test="list_equipment">
<xsl:apply-templates select="list_equipment"/>
--- 3,9 ----
***************
*** 345,349 ****
<!-- list tenant-->
! <xsl:template match="list_tenant_new">
<script LANGUAGE="JavaScript">
function Exchangetenant(thisform)
--- 330,334 ----
<!-- list tenant-->
! <xsl:template match="list_tenant">
<script LANGUAGE="JavaScript">
function Exchangetenant(thisform)
***************
*** 552,1259 ****
</xsl:template>
- <!-- list_property-->
- <xsl:template match="list_property">
- <script LANGUAGE="JavaScript">
- function Exchange(thisform)
- {
- opener.document.form.property_id.value
= thisform.elements[0].value;
- opener.document.form.property_name.value
= thisform.elements[1].value;
- opener.document.form.building_id.value
= '';
- opener.document.form.entrance_id.value
= '';
- opener.document.form.floor.value
= '';
- opener.document.form.apartment_id.value
= '';
- opener.document.form.street_name.value
= '';
- opener.document.form.street_number.value
= '';
- opener.document.form.tenant_id.value
= '';
- opener.document.form.tenant_name.value
= '';
- opener.document.form.contact_phone.value
= '';
- opener.document.form.equipment_id.value
= '';
- window.close()
- }
- </script>
-
- <table width="95%" cellpadding="2" cellspacing="2"
align="center">
- <tr>
- <td>
- <xsl:call-template name="cat_filter"/>
- </td>
- <td>
- <xsl:call-template
name="filter_district"/>
- </td>
- <td align="right">
- <xsl:call-template name="search_field"/>
- </td>
- </tr>
- <tr>
- <td colspan="3" width="100%">
- <xsl:call-template name="nextmatchs"/>
- </td>
- </tr>
- </table>
- <table width="100%" cellpadding="2" cellspacing="2"
align="center">
- <xsl:apply-templates
select="table_header_property"/>
- <xsl:apply-templates select="values_property"/>
- </table>
- <table width="100%" cellpadding="2" cellspacing="2"
align="center">
- <tr>
- <td colspan="3" width="100%">
- <xsl:call-template name="nextmatchs"/>
- </td>
- </tr>
- </table>
- <xsl:apply-templates select="table_done"/>
-
- </xsl:template>
-
- <xsl:template match="table_header_property">
- <xsl:variable name="sort_property"><xsl:value-of
select="sort_property"/></xsl:variable>
- <xsl:variable name="sort_property_name"><xsl:value-of
select="sort_property_name"/></xsl:variable>
- <tr class="th">
- <td class="th_text" width="20%" align="right">
- <a
href="{$sort_property}"><xsl:value-of select="lang_property"/></a>
- </td>
- <td class="th_text" width="70%" align="left">
- <a
href="{$sort_property_name}"><xsl:value-of select="lang_property_name"/></a>
- </td>
- <td class="th_text" width="10%" align="right">
- <xsl:value-of select="//lang_select"/>
- </td>
- </tr>
- </xsl:template>
-
-
- <xsl:template match="values_property">
- <xsl:variable name="lang_select_statustext"><xsl:value-of
select="lang_select_statustext"/></xsl:variable>
- <tr>
- <xsl:attribute name="class">
- <xsl:choose>
- <xsl:when test="@class">
- <xsl:value-of
select="@class"/>
- </xsl:when>
- <xsl:when test="position() mod
2 = 0">
-
<xsl:text>row_off</xsl:text>
- </xsl:when>
- <xsl:otherwise>
-
<xsl:text>row_on</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
- <xsl:choose>
- <xsl:when test="property_id">
- <td valign="top">
- <xsl:value-of
select="property_id"/>
- </td>
- <td valign="top">
- <xsl:value-of
select="property_name"/>
- </td>
- <form>
- <td align="left">
- <input type="hidden"
name="hidden" value="{property_id}"></input>
- <input type="hidden"
name="hidden" value="{property_name}"></input>
- <xsl:variable
name="lang_select"><xsl:value-of select="//lang_select"/></xsl:variable>
- <input type="button"
name="convert" value="{$lang_select}" onClick="Exchange(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>
-
-
- <!-- list_building-->
-
- <xsl:template match="list_building">
- <script LANGUAGE="JavaScript">
- function Exchange(thisform)
- {
- opener.document.form.property_id.value
= thisform.elements[0].value;
- opener.document.form.property_name.value
= thisform.elements[1].value;
- opener.document.form.building_id.value
= thisform.elements[2].value;
- opener.document.form.entrance_id.value
= '';
- opener.document.form.floor.value
= '';
- opener.document.form.apartment_id.value
= '';
- opener.document.form.street_name.value
= '';
- opener.document.form.street_number.value
= '';
- opener.document.form.tenant_id.value
= '';
- opener.document.form.tenant_name.value
= '';
- opener.document.form.contact_phone.value
= '';
- opener.document.form.equipment_id.value
= '';
- window.close()
- }
- </script>
-
- <table width="95%" cellpadding="2" cellspacing="2"
align="center">
- <tr>
- <td>
- <xsl:call-template name="cat_filter"/>
- </td>
- <td>
- <xsl:call-template
name="filter_district"/>
- </td>
- <td align="right">
- <xsl:call-template name="search_field"/>
- </td>
- </tr>
- <tr>
- <td colspan="3" width="100%">
- <xsl:call-template name="nextmatchs"/>
- </td>
- </tr>
- </table>
- <table width="100%" cellpadding="2" cellspacing="2"
align="center">
- <xsl:apply-templates
select="table_header_building"/>
- <xsl:apply-templates select="values_building"/>
- </table>
- <table width="100%" cellpadding="2" cellspacing="2"
align="center">
- <tr>
- <td colspan="3" width="100%">
- <xsl:call-template name="nextmatchs"/>
- </td>
- </tr>
- </table>
- <xsl:apply-templates select="table_done"/>
-
- </xsl:template>
-
- <xsl:template match="table_header_building">
- <xsl:variable name="sort_property"><xsl:value-of
select="sort_property"/></xsl:variable>
- <xsl:variable name="sort_property_name"><xsl:value-of
select="sort_property_name"/></xsl:variable>
- <tr class="th">
- <td class="th_text" width="20%" align="right">
- <a
href="{$sort_property}"><xsl:value-of select="lang_property"/></a>
- </td>
- <td class="th_text" width="50%" align="left">
- <a
href="{$sort_property_name}"><xsl:value-of select="lang_property_name"/></a>
- <xsl:value-of
select="lang_property_name"/>
- </td>
- <td class="th_text" width="10%" align="right">
- <xsl:value-of select="lang_building"/>
- </td>
- <td class="th_text" width="10%" align="right">
- <xsl:value-of select="//lang_select"/>
- </td>
- </tr>
- </xsl:template>
-
-
- <xsl:template match="values_building">
- <xsl:variable name="lang_select_statustext"><xsl:value-of
select="lang_select_statustext"/></xsl:variable>
- <tr>
- <xsl:attribute name="class">
- <xsl:choose>
- <xsl:when test="@class">
- <xsl:value-of
select="@class"/>
- </xsl:when>
- <xsl:when test="position() mod
2 = 0">
-
<xsl:text>row_off</xsl:text>
- </xsl:when>
- <xsl:otherwise>
-
<xsl:text>row_on</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
- <xsl:choose>
- <xsl:when test="property_id">
- <td valign="top">
- <xsl:value-of
select="property_id"/>
- </td>
- <td valign="top">
- <xsl:value-of
select="property_name"/>
- </td>
- <td valign="top">
- <xsl:value-of
select="building_id"/>
- </td>
- <form>
- <td align="left">
- <input type="hidden"
name="hidden" value="{property_id}"></input>
- <input type="hidden"
name="hidden" value="{property_name}"></input>
- <input type="hidden"
name="hidden" value="{building_id}"></input>
- <xsl:variable
name="lang_select"><xsl:value-of select="//lang_select"/></xsl:variable>
- <input type="button"
name="convert" value="{$lang_select}" onClick="Exchange(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>
-
-
- <!-- list_entrance-->
-
- <xsl:template match="list_entrance">
- <script LANGUAGE="JavaScript">
- function Exchange(thisform)
- {
- opener.document.form.property_id.value
= thisform.elements[0].value;
- opener.document.form.property_name.value
= thisform.elements[1].value;
- opener.document.form.building_id.value
= thisform.elements[2].value;
- opener.document.form.entrance_id.value
= thisform.elements[3].value;
- opener.document.form.floor.value
= '';
- opener.document.form.apartment_id.value
= '';
- opener.document.form.street_name.value
= thisform.elements[4].value;
- opener.document.form.street_number.value
= thisform.elements[5].value;
- opener.document.form.tenant_id.value
= '';
- opener.document.form.tenant_name.value
= '';
- opener.document.form.contact_phone.value
= '';
- opener.document.form.equipment_id.value
= '';
- window.close()
- }
- </script>
-
- <table width="95%" cellpadding="2" cellspacing="2"
align="center">
- <tr>
- <td>
- <xsl:call-template name="cat_filter"/>
- </td>
- <td>
- <xsl:call-template
name="filter_district"/>
- </td>
- <td align="right">
- <xsl:call-template name="search_field"/>
- </td>
- </tr>
- <tr>
- <td colspan="3" width="100%">
- <xsl:call-template name="nextmatchs"/>
- </td>
- </tr>
- </table>
- <table width="100%" cellpadding="2" cellspacing="2"
align="center">
- <xsl:apply-templates
select="table_header_entrance"/>
- <xsl:apply-templates select="values_entrance"/>
- </table>
- <table width="100%" cellpadding="2" cellspacing="2"
align="center">
- <tr>
- <td colspan="3" width="100%">
- <xsl:call-template name="nextmatchs"/>
- </td>
- </tr>
- </table>
- <xsl:apply-templates select="table_done"/>
-
- </xsl:template>
-
- <xsl:template match="table_header_entrance">
- <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="5%" align="right">
- <a
href="{$sort_property}"><xsl:value-of select="lang_property"/></a>
- </td>
- <td class="th_text" width="2%" align="right">
- <xsl:value-of select="lang_building"/>
- </td>
- <td class="th_text" width="2%" align="right">
- <xsl:value-of select="lang_entrance"/>
- </td>
- <td class="th_text" width="30%" align="left">
- <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>
- <td class="th_text" width="5%" align="right">
- <xsl:value-of select="//lang_select"/>
- </td>
- </tr>
- </xsl:template>
-
-
- <xsl:template match="values_entrance">
- <xsl:variable name="lang_select_statustext"><xsl:value-of
select="lang_select_statustext"/></xsl:variable>
- <tr>
- <xsl:attribute name="class">
- <xsl:choose>
- <xsl:when test="@class">
- <xsl:value-of
select="@class"/>
- </xsl:when>
- <xsl:when test="position() mod
2 = 0">
-
<xsl:text>row_off</xsl:text>
- </xsl:when>
- <xsl:otherwise>
-
<xsl:text>row_on</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
- <xsl:choose>
- <xsl:when test="property_id">
- <td valign="top">
- <xsl:value-of
select="property_id"/>
- </td>
- <td valign="top">
- <xsl:value-of
select="building_id"/>
- </td>
- <td valign="top">
- <xsl:value-of
select="entrance_id"/>
- </td>
- <td align="left">
- <xsl:value-of
select="street_name"/>
- </td>
- <td align="right">
- <xsl:value-of
select="street_number"/>
- </td>
- <form>
- <td align="left">
- <input type="hidden"
name="hidden" value="{property_id}"></input>
- <input type="hidden"
name="hidden" value="{property_name}"></input>
- <input type="hidden"
name="hidden" value="{building_id}"></input>
- <input type="hidden"
name="hidden" value="{entrance_id}"></input>
- <input type="hidden"
name="hidden" value="{street_name}"></input>
- <input type="hidden"
name="hidden" value="{street_number}"></input>
- <xsl:variable
name="lang_select"><xsl:value-of select="//lang_select"/></xsl:variable>
- <input type="button"
name="convert" value="{$lang_select}" onClick="Exchange(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>
-
- <!-- list_apartment-->
-
- <xsl:template match="list_apartment">
- <script LANGUAGE="JavaScript">
- function Exchange(thisform)
- {
- opener.document.form.property_id.value
= thisform.elements[0].value;
- opener.document.form.property_name.value
= thisform.elements[1].value;
- opener.document.form.building_id.value
= thisform.elements[2].value;
- opener.document.form.entrance_id.value
= thisform.elements[3].value;
- opener.document.form.floor.value
= thisform.elements[4].value;
- opener.document.form.apartment_id.value
= thisform.elements[5].value;
- opener.document.form.street_name.value
= thisform.elements[6].value;
- opener.document.form.street_number.value
= thisform.elements[7].value;
- opener.document.form.tenant_id.value
= '';
- opener.document.form.tenant_name.value
= '';
- opener.document.form.contact_phone.value
= '';
- opener.document.form.equipment_id.value
= '';
- window.close()
- }
- </script>
-
- <table width="95%" cellpadding="2" cellspacing="2"
align="center">
- <tr>
- <td>
- <xsl:call-template name="cat_filter"/>
- </td>
- <td>
- <xsl:call-template
name="filter_district"/>
- </td>
- <td align="right">
- <xsl:call-template name="search_field"/>
- </td>
- </tr>
- <tr>
- <td colspan="3" width="100%">
- <xsl:call-template name="nextmatchs"/>
- </td>
- </tr>
- </table>
- <table width="100%" cellpadding="2" cellspacing="2"
align="center">
- <xsl:apply-templates
select="table_header_apartment"/>
- <xsl:apply-templates select="values_apartment"/>
- </table>
- <table width="100%" cellpadding="2" cellspacing="2"
align="center">
- <tr>
- <td colspan="3" width="100%">
- <xsl:call-template name="nextmatchs"/>
- </td>
- </tr>
- </table>
- <xsl:apply-templates select="table_done"/>
-
- </xsl:template>
-
- <xsl:template match="table_header_apartment">
- <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="5%" align="right">
- <a
href="{$sort_property}"><xsl:value-of select="lang_property"/></a>
- </td>
- <td class="th_text" width="2%" align="right">
- <xsl:value-of select="lang_building"/>
- </td>
- <td class="th_text" width="2%" align="right">
- <xsl:value-of select="lang_entrance"/>
- </td>
- <td class="th_text" width="5%" align="right">
- <xsl:value-of select="lang_floor"/>
- </td>
- <td class="th_text" width="4%" align="right">
- <xsl:value-of select="lang_apartment"/>
- </td>
- <td class="th_text" width="5%" align="right">
- <xsl:value-of select="lang_category"/>
- </td>
- <td class="th_text" width="30%" align="left">
- <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>
- <td class="th_text" width="5%" align="right">
- <xsl:value-of select="//lang_select"/>
- </td>
- </tr>
- </xsl:template>
-
-
- <xsl:template match="values_apartment">
- <xsl:variable name="lang_select_statustext"><xsl:value-of
select="lang_select_statustext"/></xsl:variable>
- <tr>
- <xsl:attribute name="class">
- <xsl:choose>
- <xsl:when test="@class">
- <xsl:value-of
select="@class"/>
- </xsl:when>
- <xsl:when test="position() mod
2 = 0">
-
<xsl:text>row_off</xsl:text>
- </xsl:when>
- <xsl:otherwise>
-
<xsl:text>row_on</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
- <xsl:choose>
- <xsl:when test="property_id">
- <td valign="top">
- <xsl:value-of
select="property_id"/>
- </td>
- <td valign="top">
- <xsl:value-of
select="building_id"/>
- </td>
- <td valign="top">
- <xsl:value-of
select="entrance_id"/>
- </td>
- <td valign="top">
- <xsl:value-of select="floor"/>
- </td>
- <td align="right">
- <xsl:value-of
select="apartment_id"/>
- </td>
- <td align="right">
- <xsl:value-of
select="category"/>
- </td>
- <td align="left">
- <xsl:value-of
select="street_name"/>
- </td>
- <td align="right">
- <xsl:value-of
select="street_number"/>
- </td>
- <form>
- <td align="left">
- <input type="hidden"
name="hidden" value="{property_id}"></input>
- <input type="hidden"
name="hidden" value="{property_name}"></input>
- <input type="hidden"
name="hidden" value="{building_id}"></input>
- <input type="hidden"
name="hidden" value="{entrance_id}"></input>
- <input type="hidden"
name="hidden" value="{floor}"></input>
- <input type="hidden"
name="hidden" value="{apartment_id}"></input>
- <input type="hidden"
name="hidden" value="{street_name}"></input>
- <input type="hidden"
name="hidden" value="{street_number}"></input>
- <xsl:variable
name="lang_select"><xsl:value-of select="//lang_select"/></xsl:variable>
- <input type="button"
name="select" value="{$lang_select}" onClick="Exchange(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>
-
-
- <!-- list_tenant -->
-
- <xsl:template match="list_tenant">
- <script LANGUAGE="JavaScript">
- function Exchange(thisform)
- {
- opener.document.form.property_id.value
= thisform.elements[0].value;
- opener.document.form.property_name.value
= thisform.elements[1].value;
- opener.document.form.building_id.value
= thisform.elements[2].value;
- opener.document.form.entrance_id.value
= thisform.elements[3].value;
- opener.document.form.floor.value
= thisform.elements[4].value;
- opener.document.form.apartment_id.value
= thisform.elements[5].value;
- opener.document.form.street_name.value
= thisform.elements[6].value;
- opener.document.form.street_number.value
= thisform.elements[7].value;
- opener.document.form.tenant_id.value
= thisform.elements[8].value;
- opener.document.form.tenant_name.value
= thisform.elements[9].value;
- opener.document.form.contact_phone.value
= thisform.elements[10].value;
- opener.document.form.equipment_id.value
= '';
- window.close()
- }
- </script>
-
-
- <table width="95%" cellpadding="2" cellspacing="2"
align="center">
- <tr>
- <td>
- <xsl:call-template name="cat_filter"/>
- </td>
- <td>
- <xsl:call-template
name="filter_district"/>
- </td>
- <td align="right">
- <xsl:call-template name="search_field"/>
- </td>
- </tr>
- <tr>
- <td colspan="3" width="100%">
- <xsl:call-template name="nextmatchs"/>
- </td>
- </tr>
- </table>
- <table width="100%" cellpadding="2" cellspacing="2"
align="center">
- <xsl:apply-templates
select="table_header_tenant"/>
- <xsl:apply-templates select="values_tenant"/>
-
- </table>
- <table width="100%" cellpadding="2" cellspacing="2"
align="center">
- <tr>
- <td colspan="3" width="100%">
- <xsl:call-template name="nextmatchs"/>
- </td>
- </tr>
- </table>
- <xsl:apply-templates select="table_done"/>
-
- </xsl:template>
-
- <xsl:template match="table_header_tenant">
- <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>
- <xsl:variable name="sort_tenant"><xsl:value-of
select="sort_tenant"/></xsl:variable>
- <tr class="th">
- <td class="th_text" width="5%" align="right">
- <a
href="{$sort_property}"><xsl:value-of select="lang_property"/></a>
- </td>
- <td class="th_text" width="2%" align="right">
- <xsl:value-of select="lang_building"/>
- </td>
- <td class="th_text" width="2%" align="right">
- <xsl:value-of select="lang_entrance"/>
- </td>
- <td class="th_text" width="5%" align="right">
- <xsl:value-of select="lang_floor"/>
- </td>
- <td class="th_text" width="4%" align="right">
- <xsl:value-of select="lang_apartment"/>
- </td>
- <td class="th_text" width="5%" align="right">
- <xsl:value-of select="lang_category"/>
- </td>
- <td class="th_text" width="30%" 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>
- <td class="th_text" width="30%" align="right">
- <a href="{$sort_tenant}"><xsl:value-of
select="lang_tenant"/></a>
- </td>
- <td class="th_text" width="5%" align="right">
- <xsl:value-of select="//lang_select"/>
- </td>
- </tr>
- </xsl:template>
-
-
- <xsl:template match="values_tenant">
- <xsl:variable name="lang_select_statustext"><xsl:value-of
select="lang_select_statustext"/></xsl:variable>
- <tr>
- <xsl:attribute name="class">
- <xsl:choose>
- <xsl:when test="@class">
- <xsl:value-of
select="@class"/>
- </xsl:when>
- <xsl:when test="position() mod
2 = 0">
-
<xsl:text>row_off</xsl:text>
- </xsl:when>
- <xsl:otherwise>
-
<xsl:text>row_on</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
-
-
- <xsl:choose>
- <xsl:when test="property_id">
- <td valign="top">
- <xsl:value-of
select="property_id"/>
- </td>
- <td valign="top">
- <xsl:value-of
select="building_id"/>
- </td>
- <td valign="top">
- <xsl:value-of
select="entrance_id"/>
- </td>
- <td valign="top">
- <xsl:value-of select="floor"/>
- </td>
- <td align="right">
- <xsl:value-of
select="apartment_id"/>
- </td>
- <td align="right">
- <xsl:value-of
select="category"/>
- </td>
- <td align="right">
- <xsl:value-of
select="street_name"/>
- </td>
- <td align="right">
- <xsl:value-of
select="street_number"/>
- </td>
- <td align="right">
- <xsl:value-of
select="tenant_name"/>
- </td>
- <form>
- <td align="left">
- <input type="hidden"
name="hidden" value="{property_id}"></input>
- <input type="hidden"
name="hidden" value="{property_name}"></input>
- <input type="hidden"
name="hidden" value="{building_id}"></input>
- <input type="hidden"
name="hidden" value="{entrance_id}"></input>
- <input type="hidden"
name="hidden" value="{floor}"></input>
- <input type="hidden"
name="hidden" value="{apartment_id}"></input>
- <input type="hidden"
name="hidden" value="{street_name}"></input>
- <input type="hidden"
name="hidden" value="{street_number}"></input>
- <input type="hidden"
name="hidden" value="{tenant_id}"></input>
- <input type="hidden"
name="hidden" value="{tenant_name}"></input>
- <input type="hidden"
name="hidden" value="{contact_phone}"></input>
- <xsl:variable
name="lang_select"><xsl:value-of select="//lang_select"/></xsl:variable>
- <input type="button"
name="select" value="{$lang_select}" onClick="Exchange(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="list_equipment">
--- 537,540 ----
***************
*** 1264,1268 ****
{
<xsl:value-of
select="function_exchange_values"/>
! }
</script>
</xsl:when>
--- 545,549 ----
{
<xsl:value-of
select="function_exchange_values"/>
! }
</script>
</xsl:when>
--- apartment.xsl DELETED ---
--- building.xsl DELETED ---
--- entrance.xsl DELETED ---
--- property.xsl DELETED ---
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: property/templates/default invoice.xsl,1.27,1.28 location.xsl,1.17,1.18 lookup.xsl,1.20,1.21 apartment.xsl,1.6,NONE building.xsl,1.10,NONE entrance.xsl,1.6,NONE property.xsl,1.12,NONE,
Sigurd Nes <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: property/setup setup.inc.php,1.53,1.54 tables_current.inc.php,1.102,1.103
- Next by Date:
[Phpgroupware-cvs] CVS: property/inc class.bocommon.inc.php,1.62,1.63 class.bogab.inc.php,1.6,1.7 class.boinvoice.inc.php,1.18,1.19 class.bolocation.inc.php,1.19,1.20 class.bolookup.inc.php,1.9,1.10 class.socommon.inc.php,1.29,1.30 class.sodocument.inc.php,1.8,1.9 class.sogab.inc.php,1.8,1.9 class.soinvoice.inc.php,1.23,1.24 class.solocation.inc.php,1.15,1.16 class.solookup.inc.php,1.22,1.23 class.sotts.inc.php,1.21,1.22 class.soXport.inc.php,1.25,1.26 class.uiequipment.inc.php,1.29,1.30class.uiinvestment.inc.php,1.23,1.24 class.uiinvoice.inc.php,1.26,1.27 class.uilocation.inc.php,1.17,1.18 class.uilookup.inc.php,1.25,1.26 class.uireport.inc.php,1.10,1.11 class.uirequest.inc.php,1.21,1.22 class.uitts.inc.php,1.30,1.31 hook_admin.inc.php,1.34,1.35 class.boapartment.inc.php,1.3,NONE class.bobuilding.inc.php,1.8,NONE class.boentrance.inc.php,1.5,NONE class.boproperty.inc.php,1.7,NONEclass.soapartment.inc.php,1.6,NONE class.sobuilding.inc.php,1.13,NONEclass.soentrance.inc.php,1.5,NONE class.soproperty.inc.php,1.19,NONEclass.uiapartment.inc.php,1.13,NONE class.uibuilding.inc.php,1.21,NONEclass.uientrance.inc.php,1.13,NONE class.uiproperty.inc.php,1.24,NONE
- Previous by thread:
[Phpgroupware-cvs] CVS: property/setup setup.inc.php,1.53,1.54 tables_current.inc.php,1.102,1.103
- Next by thread:
[Phpgroupware-cvs] CVS: property/inc class.bocommon.inc.php,1.62,1.63 class.bogab.inc.php,1.6,1.7 class.boinvoice.inc.php,1.18,1.19 class.bolocation.inc.php,1.19,1.20 class.bolookup.inc.php,1.9,1.10 class.socommon.inc.php,1.29,1.30 class.sodocument.inc.php,1.8,1.9 class.sogab.inc.php,1.8,1.9 class.soinvoice.inc.php,1.23,1.24 class.solocation.inc.php,1.15,1.16 class.solookup.inc.php,1.22,1.23 class.sotts.inc.php,1.21,1.22 class.soXport.inc.php,1.25,1.26 class.uiequipment.inc.php,1.29,1.30class.uiinvestment.inc.php,1.23,1.24 class.uiinvoice.inc.php,1.26,1.27 class.uilocation.inc.php,1.17,1.18 class.uilookup.inc.php,1.25,1.26 class.uireport.inc.php,1.10,1.11 class.uirequest.inc.php,1.21,1.22 class.uitts.inc.php,1.30,1.31 hook_admin.inc.php,1.34,1.35 class.boapartment.inc.php,1.3,NONE class.bobuilding.inc.php,1.8,NONE class.boentrance.inc.php,1.5,NONE class.boproperty.inc.php,1.7,NONEclass.soapartment.inc.php,1.6,NONE class.sobuilding.inc.php,1.13,NONEclass.soentrance.inc.php,1.5,NONE class.soproperty.inc.php,1.19,NONEclass.uiapartment.inc.php,1.13,NONE class.uibuilding.inc.php,1.21,NONEclass.uientrance.inc.php,1.13,NONE class.uiproperty.inc.php,1.24,NONE
- Index(es):