[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: property/templates/default admin_location.xsl,1
From: |
Sigurd Nes <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: property/templates/default admin_location.xsl,1.2,1.3 location.xsl,1.9,1.10 location_form_2.xsl,1.1,1.2 lookup.xsl,1.17,1.18 menu.xsl,1.11,1.12 |
Date: |
Fri, 13 Jun 2003 07:05:32 -0400 |
Update of /cvsroot/phpgroupware/property/templates/default
In directory subversions:/tmp/cvs-serv2715/templates/default
Modified Files:
admin_location.xsl location.xsl location_form_2.xsl lookup.xsl
menu.xsl
Log Message:
no message
Index: admin_location.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/admin_location.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** admin_location.xsl 30 May 2003 10:43:02 -0000 1.2
--- admin_location.xsl 13 Jun 2003 11:05:29 -0000 1.3
***************
*** 465,472 ****
</td>
<td align="right">
! <xsl:value-of select="name"/>
</td>
<td>
! <xsl:value-of select="first"/>
</td>
<td>
--- 465,472 ----
</td>
<td align="right">
! <xsl:value-of select="column_name"/>
</td>
<td>
! <xsl:value-of select="input_text"/>
</td>
<td>
***************
*** 539,549 ****
<tr>
<td valign="top">
! <xsl:value-of select="lang_input_name"/>
</td>
<td>
! <input type="text"
name="values[input_name]" value="{value_input_name}" maxlength="12"
onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
! <xsl:value-of
select="lang_input_name_statustext"/>
<xsl:text>'; return
true;</xsl:text>
</xsl:attribute>
--- 539,549 ----
<tr>
<td valign="top">
! <xsl:value-of select="lang_input_text"/>
</td>
<td>
! <input type="text"
name="values[input_text]" value="{value_input_text}" maxlength="12"
onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
! <xsl:value-of
select="lang_input_text_statustext"/>
<xsl:text>'; return
true;</xsl:text>
</xsl:attribute>
Index: location.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/location.xsl,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** location.xsl 6 Jun 2003 10:23:03 -0000 1.9
--- location.xsl 13 Jun 2003 11:05:29 -0000 1.10
***************
*** 16,30 ****
<xsl:template match="list">
! <script LANGUAGE="JavaScript">
! function Exchange_values(thisform)
! {
! <xsl:value-of
select="function_exchange_values"/>
! }
! </script>
<div id="overDiv" style="position:absolute;
visibility:hide;z-index:1;"></div>
<xsl:variable name="overlib_source"><xsl:value-of
select="overlib_source"/></xsl:variable>
<SCRIPT LANGUAGE="JavaScript" SRC="{$overlib_source}"></SCRIPT>
! <xsl:call-template name="menu"/>
<table width="100%" cellpadding="2" cellspacing="2"
align="center">
<tr>
--- 16,38 ----
<xsl:template match="list">
! <xsl:choose>
! <xsl:when test="//lookup=1">
! <script LANGUAGE="JavaScript">
! function Exchange_values(thisform)
! {
! <xsl:value-of
select="function_exchange_values"/>
! }
! </script>
! </xsl:when>
! </xsl:choose>
<div id="overDiv" style="position:absolute;
visibility:hide;z-index:1;"></div>
<xsl:variable name="overlib_source"><xsl:value-of
select="overlib_source"/></xsl:variable>
<SCRIPT LANGUAGE="JavaScript" SRC="{$overlib_source}"></SCRIPT>
! <xsl:choose>
! <xsl:when test="lookup=''">
! <xsl:call-template name="menu"/>
! </xsl:when>
! </xsl:choose>
<table width="100%" cellpadding="2" cellspacing="2"
align="center">
<tr>
***************
*** 42,47 ****
<td colspan="3" width="100%">
<xsl:call-template name="nextmatchs"/>
! <!-- <xsl:with-param
name="nextmatchs_params"/>
! </xsl:call-template> -->
</td>
</tr>
--- 50,54 ----
<td colspan="3" width="100%">
<xsl:call-template name="nextmatchs"/>
!
</td>
</tr>
***************
*** 49,52 ****
--- 56,66 ----
<table width="100%" cellpadding="2" cellspacing="2"
align="center">
<tr class="th">
+ <xsl:choose>
+ <xsl:when test="//lookup=1">
+ <td>
+ <!-- make room for hidden
fields -->
+ </td>
+ </xsl:when>
+ </xsl:choose>
<xsl:for-each select="table_header" >
<td class="th_text" width="{with}"
align="{align}">
***************
*** 63,110 ****
</tr>
<xsl:call-template name="list_values"/>
! <xsl:apply-templates select="table_add"/>
</table>
</xsl:template>
- <xsl:template match="table_header">
- <xsl:variable name="sort_property_id"><xsl:value-of
select="sort_property_id"/></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_id}"><xsl:value-of select="lang_property_id"/></a>
- </td>
- <td class="th_text" width="10%" align="right">
- <xsl:value-of
select="lang_building_id"/>
- </td>
- <td class="th_text" width="10%" align="right">
- <xsl:value-of
select="lang_entrance_id"/>
- </td>
- <td class="th_text" width="10%" align="right">
- <xsl:value-of select="lang_floor"/>
- </td>
- <td class="th_text" width="10%" align="right">
- <xsl:value-of
select="lang_apartment_id"/>
- </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_number"/>
- </td>
- <td class="th_text" width="5%" align="center">
- <xsl:value-of select="lang_view"/>
- </td>
- <td class="th_text" width="5%" align="center">
- <xsl:value-of select="lang_edit"/>
- </td>
- <td class="th_text" width="5%" align="center">
- <xsl:value-of select="lang_delete"/>
- </td>
- </tr>
- </xsl:template>
<xsl:template name="list_values">
--- 77,99 ----
</tr>
<xsl:call-template name="list_values"/>
! <xsl:choose>
! <xsl:when test="lookup=''">
! <xsl:apply-templates
select="table_add"/>
! </xsl:when>
! </xsl:choose>
</table>
+ <xsl:choose>
+ <xsl:when test="lookup=1">
+ <table width="100%" cellpadding="2"
cellspacing="2" align="center">
+ <tr>
+ <td colspan="3" width="100%">
+ <xsl:call-template
name="nextmatchs"/>
+ </td>
+ </tr>
+ </table>
+ </xsl:when>
+ </xsl:choose>
</xsl:template>
<xsl:template name="list_values">
***************
*** 125,129 ****
</xsl:attribute>
<form>
!
<xsl:for-each select="row" >
<xsl:choose>
--- 114,126 ----
</xsl:attribute>
<form>
! <xsl:choose>
! <xsl:when test="//lookup=1">
! <td>
! <xsl:for-each
select="hidden" >
! <input
type="hidden" name="{name}" value="{value}"></input>
! </xsl:for-each>
! </td>
! </xsl:when>
! </xsl:choose>
<xsl:for-each select="row" >
<xsl:choose>
***************
*** 138,143 ****
<xsl:choose>
<xsl:when test="lookup=1">
- <!--
<xsl:value-of select="lookup"/> -->
-
<input type="text" name="{name_hidden}" value="{value}"></input>
<xsl:if test="position() = last()">
<td align="center">
--- 135,138 ----
***************
*** 192,196 ****
--- 187,197 ----
Window1=window.open('<xsl:value-of
select="street_link"/>',"Search","width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes");
}
+ function tenant_lookup()
+ {
+ Window1=window.open('<xsl:value-of
select="tenant_link"/>',"Search","width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes");
+ }
</script>
+ <xsl:variable name="dateformat_source"><xsl:value-of
select="dateformat_source"/></xsl:variable>
+ <SCRIPT LANGUAGE="JavaScript"
SRC="{$dateformat_source}"></SCRIPT>
<div align="left">
***************
*** 216,357 ****
</xsl:otherwise>
</xsl:choose>
- <tr>
- <td valign="top">
- <xsl:value-of
select="lang_apartment_id"/>
- </td>
- <td>
- <xsl:choose>
- <xsl:when
test="value_apartment_id ='' or error_flag=1">
- <input type="text"
size="3" name="values[apartment_id]" value="{value_apartment_id}"
onMouseout="window.status='';return true;">
- <xsl:attribute
name="onMouseover">
-
<xsl:text>window.status='</xsl:text>
-
<xsl:value-of select="lang_apartment_id_statustext"/>
-
<xsl:text>'; return true;</xsl:text>
- </xsl:attribute>
- </input>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of
select="value_apartment_id"/>
- </xsl:otherwise>
- </xsl:choose>
- </td>
- </tr>
- <tr>
- <td valign="top">
- <xsl:value-of select="lang_floor"/>
- </td>
- <td>
- <input type="text" name="values[floor]"
value="{value_floor}" onMouseout="window.status='';return true;">
- <xsl:attribute
name="onMouseover">
-
<xsl:text>window.status='</xsl:text>
- <xsl:value-of
select="lang_floor_statustext"/>
- <xsl:text>'; return
true;</xsl:text>
- </xsl:attribute>
- </input>
- </td>
- </tr>
- <tr>
- <td>
- <a href="javascript:street_lookup()"
onMouseover="window.status='{lang_select_street_help}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="lang_street"/></a>
- </td>
- <td>
- <input type="hidden" name="street_idd"
value="{value_street_idd}"></input>
- <input size="30" type="text"
name="street" value="{value_street}" onClick="street_lookup();"
readonly="readonly">
- <xsl:attribute name="onMouseover">
-
<xsl:text>window.status='</xsl:text>
- <xsl:value-of
select="lang_select_street_help"/>
- <xsl:text>'; return
true;</xsl:text>
- </xsl:attribute>
- </input>
- <input size="4" type="text"
name="values[street_number]" value="{value_street_number}" >
- <xsl:attribute
name="onMouseover">
-
<xsl:text>window.status='</xsl:text>
- <xsl:value-of
select="lang_street_num_statustext"/>
- <xsl:text>'; return
true;</xsl:text>
- </xsl:attribute>
- </input>
- </td>
- </tr>
- <tr>
- <td>
- <xsl:value-of select="lang_category"/>
- </td>
- <td>
- <xsl:call-template name="cat_select"/>
- </td>
- </tr>
- <tr>
- <td valign="top">
- <xsl:value-of select="lang_descr"/>
- </td>
- <td>
- <input type="text" name="values[descr]"
value="{value_descr}" onMouseout="window.status='';return true;">
- <xsl:attribute
name="onMouseover">
-
<xsl:text>window.status='</xsl:text>
- <xsl:value-of
select="lang_descr_statustext"/>
- <xsl:text>'; return
true;</xsl:text>
- </xsl:attribute>
- </input>
- </td>
- </tr>
- <tr>
- <td valign="top">
- <xsl:value-of select="lang_remark"/>
- </td>
- <td>
- <textarea cols="60" rows="4"
name="values[remark]" wrap="virtual" onMouseout="window.status='';return true;">
- <xsl:attribute
name="onMouseover">
-
<xsl:text>window.status='</xsl:text>
- <xsl:value-of
select="lang_remark_statustext"/>
- <xsl:text>'; return
true;</xsl:text>
- </xsl:attribute>
- <xsl:value-of
select="value_remark"/>
- </textarea>
! </td>
! </tr>
! <tr>
! <!-- <td>
! <xsl:value-of select="lang_access"/>
! </td>
! <td>
! <xsl:choose>
! <xsl:when
test="value_access = 'private'">
! <input
type="checkbox" name="values[access]" value="True" checked="checked"
onMouseout="window.status='';return true;">
<xsl:attribute name="onMouseover">
<xsl:text>window.status='</xsl:text>
!
<xsl:value-of select="lang_access_on_statustext"/>
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
! </input>
</xsl:when>
<xsl:otherwise>
! <input
type="checkbox" name="values[access]" value="True"
onMouseout="window.status='';return true;">
<xsl:attribute name="onMouseover">
<xsl:text>window.status='</xsl:text>
!
<xsl:value-of select="lang_access_off_statustext"/>
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
</input>
</xsl:otherwise>
! </xsl:choose>
! </td> -->
</tr>
<xsl:choose>
! <xsl:when test="value_apartment_id!=''">
<tr>
! <td valign="top">
! <xsl:value-of
select="lang_attributes"/>
</td>
! <td colspan="2" width="50%">
! <xsl:call-template
name="attributes_form"/>
</td>
</tr>
</xsl:when>
</xsl:choose>
<tr height="50">
<td>
<xsl:variable
name="lang_save"><xsl:value-of select="lang_save"/></xsl:variable>
! <input type="submit"
name="values[save]" value="{$lang_save}" onMouseout="window.status='';return
true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
--- 217,360 ----
</xsl:otherwise>
</xsl:choose>
! <xsl:for-each select="additional_fields" >
! <tr>
! <td class="{class}" align="left"
valign="top">
! <xsl:value-of
select="input_text"/>
! </td>
! <td align="left">
! <xsl:choose>
! <xsl:when
test="datatype ='text'">
! <textarea
cols="60" rows="4" name="{input_name}" wrap="virtual"
onMouseout="window.status='';return true;">
<xsl:attribute name="onMouseover">
<xsl:text>window.status='</xsl:text>
!
<xsl:value-of select="statustext"/>
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
!
<xsl:value-of select="value"/>
! </textarea>
!
! </xsl:when>
! <xsl:when
test="datatype ='date'">
! <input
type="text" name="{input_name}" value="{value}"
onFocus="{//dateformat_validate}" onKeyUp="{//onKeyUp}" onBlur="{//onBlur}"
size="12" maxlength="10" onMouseout="window.status='';return true;" >
!
<xsl:attribute name="onMouseover">
!
<xsl:text>window.status='</xsl:text>
!
<xsl:value-of select="descr"/>
!
<xsl:text>'; return true;</xsl:text>
!
</xsl:attribute>
! </input>
!
<xsl:text>[</xsl:text><xsl:value-of
select="//lang_dateformat"/><xsl:text>]</xsl:text>
</xsl:when>
<xsl:otherwise>
! <input
type="text" name="{input_name}" value="{value}" size="{size}"
onMouseout="window.status='';return true;">
<xsl:attribute name="onMouseover">
<xsl:text>window.status='</xsl:text>
!
<xsl:value-of select="statustext"/>
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
</input>
</xsl:otherwise>
! </xsl:choose>
! </td>
! </tr>
! </xsl:for-each>
!
! <tr>
! <td>
! <xsl:value-of select="lang_category"/>
! </td>
! <td>
! <xsl:call-template name="cat_select"/>
! </td>
</tr>
+
+
<xsl:choose>
! <xsl:when test="edit_part_of_town = 1">
<tr>
! <td>
! <xsl:value-of
select="lang_part_of_town"/>
</td>
! <td>
! <xsl:call-template
name="select_part_of_town"/>
</td>
</tr>
</xsl:when>
</xsl:choose>
+ <xsl:choose>
+ <xsl:when test="edit_owner = 1">
+ <tr>
+ <td>
+ <xsl:value-of
select="lang_owner"/>
+ </td>
+ <td>
+ <xsl:variable
name="lang_owner_statustext"><xsl:value-of
select="lang_owner_statustext"/></xsl:variable>
+ <select
name="owner_id" class="forms"
onMouseover="window.status='{$lang_owner_statustext}'; return true;"
onMouseout="window.status='';return true;">
+ <option
value=""><xsl:value-of select="lang_select_owner"/></option>
+
<xsl:apply-templates select="owner_list"/>
+ </select>
+ </td>
+ </tr>
+ </xsl:when>
+ </xsl:choose>
+ <xsl:choose>
+ <xsl:when test="edit_street = 1">
+ <tr>
+ <td>
+ <a
href="javascript:street_lookup()"
onMouseover="window.status='{lang_select_street_help}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="lang_street"/></a>
+ </td>
+ <td>
+ <input type="hidden"
name="street_id" value="{value_street_id}"></input>
+ <input size="30"
type="text" name="street" value="{value_street}" onClick="street_lookup();"
readonly="readonly">
+ <xsl:attribute
name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+
<xsl:value-of select="lang_select_street_help"/>
+
<xsl:text>'; return true;</xsl:text>
+ </xsl:attribute>
+ </input>
+ <input size="4"
type="text" name="street_number" value="{value_street_number}" >
+ <xsl:attribute
name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+
<xsl:value-of select="lang_street_num_statustext"/>
+
<xsl:text>'; return true;</xsl:text>
+ </xsl:attribute>
+ </input>
+ </td>
+ </tr>
+ </xsl:when>
+ </xsl:choose>
+ <xsl:choose>
+ <xsl:when test="edit_tenant = 1">
+ <tr>
+ <td>
+ <a
href="javascript:tenant_lookup()"
onMouseover="window.status='{lang_select_tenant_help}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="lang_tenant"/></a>
+ </td>
+ <td>
+ <input type="hidden"
name="tenant_id" value="{value_tenant_id}"></input>
+ <input size="12"
type="text" name="tenant_last_name" value="{value_tenant_last_name}"
onClick="tenant_lookup();" readonly="readonly">
+ <xsl:attribute
name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+
<xsl:value-of select="lang_tenant_statustext"/>
+
<xsl:text>'; return true;</xsl:text>
+ </xsl:attribute>
+ </input>
+ <input size="12"
type="text" name="tenant_first_name" value="{value_tenant_first_name}"
onClick="tenant_lookup();" readonly="readonly">
+ <xsl:attribute
name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+
<xsl:value-of select="lang_tenant_statustext"/>
+
<xsl:text>'; return true;</xsl:text>
+ </xsl:attribute>
+ </input>
+ </td>
+ </tr>
+ </xsl:when>
+ </xsl:choose>
+
+
+
<tr height="50">
<td>
<xsl:variable
name="lang_save"><xsl:value-of select="lang_save"/></xsl:variable>
! <input type="submit" name="save"
value="{$lang_save}" onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
***************
*** 382,385 ****
--- 385,401 ----
</xsl:template>
+
+ <xsl:template match="owner_list">
+ <xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
+ <xsl:choose>
+ <xsl:when test="selected">
+ <option value="{$id}"
selected="selected"><xsl:value-of disable-output-escaping="yes"
select="name"/></option>
+ </xsl:when>
+ <xsl:otherwise>
+ <option value="{$id}"><xsl:value-of
disable-output-escaping="yes" select="name"/></option>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
<!-- view -->
Index: location_form_2.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/location_form_2.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** location_form_2.xsl 6 Jun 2003 11:38:48 -0000 1.1
--- location_form_2.xsl 13 Jun 2003 11:05:29 -0000 1.2
***************
*** 19,23 ****
<td class="th_text" width="{with}"
align="{align}">
<xsl:choose>
! <xsl:when
test="lookup_link!=''">
<a
href="javascript:{lookup_function_call}"
onMouseover="window.status='{statustext}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of select="name"/></a>
</xsl:when>
--- 19,23 ----
<td class="th_text" width="{with}"
align="{align}">
<xsl:choose>
! <xsl:when
test="lookup_link=1">
<a
href="javascript:{lookup_function_call}"
onMouseover="window.status='{statustext}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of select="name"/></a>
</xsl:when>
***************
*** 28,47 ****
</td>
<td>
! <input size="{size}"
type="{input_type}" name="{input_name}" value="{value}"
onClick="{lookup_function_call}" readonly="readonly">
! <xsl:attribute
name="onMouseover">
!
<xsl:text>window.status='</xsl:text>
! <xsl:value-of
select="statustext"/>
! <xsl:text>'; return
true;</xsl:text>
! </xsl:attribute>
! </input>
<xsl:for-each select="extra" >
! <input size="{size}"
type="{input_type}" name="{input_name}" value="{value}"
onClick="{lookup_function_call}" readonly="readonly">
! <xsl:attribute
name="onMouseover">
!
<xsl:text>window.status='</xsl:text>
!
<xsl:value-of select="statustext"/>
!
<xsl:text>'; return true;</xsl:text>
! </xsl:attribute>
! </input>
</xsl:for-each>
</td>
--- 28,73 ----
</td>
<td>
! <xsl:choose>
! <xsl:when
test="readonly=1">
! <input
size="{size}" type="{input_type}" name="{input_name}" value="{value}"
onClick="{lookup_function_call}" readonly="readonly">
!
<xsl:attribute name="onMouseover">
!
<xsl:text>window.status='</xsl:text>
!
<xsl:value-of select="statustext"/>
!
<xsl:text>'; return true;</xsl:text>
!
</xsl:attribute>
! </input>
! </xsl:when>
! <xsl:otherwise>
! <input
size="{size}" type="{input_type}" name="{input_name}" value="{value}"
onClick="{lookup_function_call}" >
!
<xsl:attribute name="onMouseover">
!
<xsl:text>window.status='</xsl:text>
!
<xsl:value-of select="statustext"/>
!
<xsl:text>'; return true;</xsl:text>
!
</xsl:attribute>
! </input>
! </xsl:otherwise>
! </xsl:choose>
<xsl:for-each select="extra" >
! <xsl:choose>
! <xsl:when
test="readonly=1">
! <input
size="{size}" type="{input_type}" name="{input_name}" value="{value}"
onClick="{lookup_function_call}" readonly="readonly">
!
<xsl:attribute name="onMouseover">
!
<xsl:text>window.status='</xsl:text>
!
<xsl:value-of select="statustext"/>
!
<xsl:text>'; return true;</xsl:text>
!
</xsl:attribute>
! </input>
! </xsl:when>
! <xsl:otherwise>
! <input
size="{size}" type="{input_type}" name="{input_name}" value="{value}"
onClick="{lookup_function_call}" >
!
<xsl:attribute name="onMouseover">
!
<xsl:text>window.status='</xsl:text>
!
<xsl:value-of select="statustext"/>
!
<xsl:text>'; return true;</xsl:text>
!
</xsl:attribute>
! </input>
! </xsl:otherwise>
! </xsl:choose>
</xsl:for-each>
</td>
Index: lookup.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/lookup.xsl,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** lookup.xsl 28 Apr 2003 10:26:46 -0000 1.17
--- lookup.xsl 13 Jun 2003 11:05:29 -0000 1.18
***************
*** 18,21 ****
--- 18,24 ----
<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"/>
***************
*** 246,250 ****
function ExchangeStreet(thisform)
{
! opener.document.form.street_idd.value =
thisform.elements[0].value;
opener.document.form.street.value =
thisform.elements[1].value;
window.close()
--- 249,253 ----
function ExchangeStreet(thisform)
{
! opener.document.form.street_id.value =
thisform.elements[0].value;
opener.document.form.street.value =
thisform.elements[1].value;
window.close()
***************
*** 340,343 ****
--- 343,455 ----
</xsl:template>
+ <!-- list tenant-->
+
+ <xsl:template match="list_tenant_new">
+ <script LANGUAGE="JavaScript">
+ function Exchangetenant(thisform)
+ {
+ opener.document.form.tenant_id.value =
thisform.elements[0].value;
+ opener.document.form.tenant_last_name.value =
thisform.elements[1].value;
+ opener.document.form.tenant_first_name.value =
thisform.elements[2].value;
+ window.close()
+ }
+ </script>
+
+
+ <table width="100%" cellpadding="2" cellspacing="2"
align="center">
+ <tr>
+ <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_new"/>
+ <xsl:apply-templates
select="values_tenant_new"/>
+
+ <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_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>
+ <tr class="th">
+ <td class="th_text" width="5%" 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_last_name}"><xsl:value-of select="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>
+ </td>
+ <td class="th_text" width="5%">
+ <xsl:value-of select="lang_select"/>
+ </td>
+ </tr>
+ </xsl:template>
+
+
+ <xsl:template match="values_tenant_new">
+ <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>
+
+ <td align="right">
+ <xsl:value-of select="id"/>
+ </td>
+ <td align="right">
+ <xsl:value-of select="last_name"/>
+ </td>
+ <td align="right">
+ <xsl:value-of select="first_name"/>
+ </td>
+ <xsl:choose>
+ <xsl:when test="id">
+ <form>
+ <td valign="top">
+ <input
type="hidden" name="hidden" value="{id}"></input>
+ <input
type="hidden" name="hidden" value="{last_name}"></input>
+ <input
type="hidden" name="hidden" value="{first_name}"></input>
+ <xsl:variable
name="lang_select"><xsl:value-of select="lang_select"/></xsl:variable>
+ <input
type="button" name="convert" value="{$lang_select}"
onClick="Exchangetenant(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 ns3420-->
***************
*** 1146,1169 ****
<xsl:template match="list_equipment">
! <script LANGUAGE="JavaScript">
! function Exchangeequipment(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.tenant_phone.value
= thisform.elements[10].value;
! opener.document.form.equipment_id.value
= thisform.elements[11].value;
! opener.document.form.equipment_type.value
= thisform.elements[12].value;
! window.close()
! }
! </script>
!
<table width="95%" cellpadding="2" cellspacing="2"
align="center">
--- 1258,1271 ----
<xsl:template match="list_equipment">
! <xsl:choose>
! <xsl:when test="//lookup=1">
! <script LANGUAGE="JavaScript">
! function Exchange_values(thisform)
! {
! <xsl:value-of
select="function_exchange_values"/>
! }
! </script>
! </xsl:when>
! </xsl:choose>
<table width="95%" cellpadding="2" cellspacing="2"
align="center">
***************
*** 1186,1191 ****
</table>
<table width="100%" cellpadding="2" cellspacing="2"
align="center">
! <xsl:apply-templates
select="table_header_equipment"/>
! <xsl:apply-templates select="values_equipment"/>
</table>
--- 1288,1313 ----
</table>
<table width="100%" cellpadding="2" cellspacing="2"
align="center">
! <tr class="th">
! <xsl:choose>
! <xsl:when test="//lookup=1">
! <td>
! <!-- make room for hidden fields -->
! </td>
! </xsl:when>
! </xsl:choose>
! <xsl:for-each select="table_header_equipment" >
! <td class="th_text" width="{with}"
align="{align}">
! <xsl:choose>
! <xsl:when
test="sort_link!=''">
! <a
href="{sort}" onMouseover="window.status='{header}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of select="header"/></a>
! </xsl:when>
! <xsl:otherwise>
! <xsl:value-of
select="header"/>
! </xsl:otherwise>
! </xsl:choose>
! </td>
! </xsl:for-each>
! </tr>
! <xsl:call-template
name="list_values_equipment"/>
</table>
***************
*** 1194,1312 ****
</xsl:template>
- <xsl:template match="table_header_equipment">
- <xsl:variable name="sort_equipment"><xsl:value-of
select="sort_equipment"/></xsl:variable>
- <xsl:variable name="sort_property"><xsl:value-of
select="sort_property"/></xsl:variable>
- <xsl:variable name="sort_address"><xsl:value-of
select="sort_address"/></xsl:variable>
- <tr class="th">
- <td class="th_text" width="5%" align="right">
- <a
href="{$sort_equipment}"><xsl:value-of select="lang_equipment"/></a>
- </td>
- <td class="th_text" width="30%" align="right">
- <xsl:value-of select="lang_descr"/>
- </td>
- <td class="th_text" width="5%" align="right">
- <xsl:value-of select="lang_category"/>
- </td>
- <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="30%" align="right">
- <a href="{$sort_address}"><xsl:value-of
select="lang_address"/></a>
- </td>
- <td class="th_text" width="5%" align="right">
- <xsl:value-of select="//lang_select"/>
- </td>
- </tr>
- </xsl:template>
-
! <xsl:template match="values_equipment">
! <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="equipment_id">
! <td align="right">
! <xsl:value-of select="equipment_id"/>
! </td>
! <td align="right">
! <xsl:value-of select="descr"/>
! </td>
! <td align="right">
! <xsl:value-of select="category"/>
! </td>
! <td align="right">
! <xsl:value-of select="property_id"/>
! </td>
! <td align="right">
! <xsl:value-of select="building_id"/>
! </td>
! <td align="right">
! <xsl:value-of select="entrance_id"/>
! </td>
! <td align="right">
! <xsl:value-of select="floor"/>
! </td>
! <td align="right">
! <xsl:value-of select="apartment_id"/>
! </td>
! <td align="right">
! <xsl:value-of select="address"/>
! </td>
! <form>
! <td valign="top">
! <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="{address}"></input>
! <input type="hidden"
name="hidden" value=""></input>
! <input type="hidden"
name="hidden" value=""></input>
! <input type="hidden"
name="hidden" value=""></input>
! <input type="hidden"
name="hidden" value=""></input>
! <input type="hidden"
name="hidden" value="{equipment_id}"></input>
! <input type="hidden"
name="hidden" value="{category}"></input>
! <xsl:variable
name="lang_select"><xsl:value-of select="//lang_select"/></xsl:variable>
! <input type="button"
name="select" value="{$lang_select}" onClick="Exchangeequipment(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>
--- 1316,1380 ----
</xsl:template>
! <xsl:template name="list_values_equipment">
! <xsl:for-each select="values_equipment" >
<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>
! <form>
! <xsl:choose>
! <xsl:when test="//lookup=1">
! <td>
! <xsl:for-each
select="hidden" >
! <input
type="hidden" name="{name}" value="{value}"></input>
! </xsl:for-each>
! </td>
! </xsl:when>
! </xsl:choose>
! <xsl:for-each select="row" >
<xsl:choose>
! <xsl:when test="link">
! <td align="center">
! <a
href="{link}" onMouseover="window.status='{statustext}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of select="text"/></a>
! </td>
</xsl:when>
<xsl:otherwise>
! <td align="left">
! <xsl:value-of
select="value"/>
! <xsl:choose>
!
<xsl:when test="//lookup=1">
!
<xsl:if test="position() = last()">
!
<td align="center">
!
<input type="button" name="select" value="{//lang_select}"
onClick="{//exchange_values}" 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>
!
!
</xsl:if>
!
!
</xsl:when>
! </xsl:choose>
! </td>
</xsl:otherwise>
</xsl:choose>
! </xsl:for-each>
</form>
</tr>
+ </xsl:for-each>
</xsl:template>
Index: menu.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/menu.xsl,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** menu.xsl 1 Jun 2003 21:38:06 -0000 1.11
--- menu.xsl 13 Jun 2003 11:05:29 -0000 1.12
***************
*** 3,153 ****
</xsl:template>
<xsl:template match="links">
- <xsl:variable name="lang_property"><xsl:value-of
select="lang_property"/></xsl:variable>
- <xsl:variable name="lang_equipment"><xsl:value-of
select="lang_equipment"/></xsl:variable>
- <xsl:variable name="lang_request"><xsl:value-of
select="lang_request"/></xsl:variable>
- <xsl:variable name="lang_events"><xsl:value-of
select="lang_events"/></xsl:variable>
- <xsl:variable name="lang_helpdesk"><xsl:value-of
select="lang_helpdesk"/></xsl:variable>
- <xsl:variable name="lang_project"><xsl:value-of
select="lang_project"/></xsl:variable>
- <xsl:variable name="lang_invoice"><xsl:value-of
select="lang_invoice"/></xsl:variable>
- <xsl:variable name="lang_pricebook"><xsl:value-of
select="lang_pricebook"/></xsl:variable>
- <xsl:variable name="lang_documentation"><xsl:value-of
select="lang_documentation"/></xsl:variable>
- <xsl:variable name="lang_report"><xsl:value-of
select="lang_report"/></xsl:variable>
- <xsl:variable name="sublang_building"><xsl:value-of
select="sublang_building"/></xsl:variable>
- <xsl:variable name="sublang_property"><xsl:value-of
select="sublang_property"/></xsl:variable>
- <xsl:variable name="sublang_equipment"><xsl:value-of
select="sublang_equipment"/></xsl:variable>
- <xsl:variable name="sublang_equipment_type"><xsl:value-of
select="sublang_equipment_type"/></xsl:variable>
- <xsl:variable name="sublang_workorder_project"><xsl:value-of
select="sublang_workorder_project"/></xsl:variable>
- <xsl:variable name="sublang_workorder_list"><xsl:value-of
select="sublang_workorder_list"/></xsl:variable>
- <xsl:variable name="sublang_invoice_list"><xsl:value-of
select="sublang_invoice_list"/></xsl:variable>
- <xsl:variable name="sublang_invoice_paid"><xsl:value-of
select="sublang_invoice_paid"/></xsl:variable>
- <xsl:variable name="sublang_vendor_activities"><xsl:value-of
select="sublang_vendor_activities"/></xsl:variable>
- <xsl:variable name="sublang_activities_list"><xsl:value-of
select="sublang_activities_list"/></xsl:variable>
- <xsl:variable name="sublang_entrance"><xsl:value-of
select="sublang_entrance"/></xsl:variable>
- <xsl:variable name="sublang_workorder_request"><xsl:value-of
select="sublang_workorder_request"/></xsl:variable>
- <xsl:variable name="sublang_invoice_powermeter"><xsl:value-of
select="sublang_invoice_powermeter"/></xsl:variable>
- <xsl:variable name="sublang_agreement"><xsl:value-of
select="sublang_agreement"/></xsl:variable>
- <xsl:variable name="sublang_apartment"><xsl:value-of
select="sublang_apartment"/></xsl:variable>
- <xsl:variable name="sublang_workorder_archive"><xsl:value-of
select="sublang_workorder_archive"/></xsl:variable>
- <xsl:variable name="sublang_invoice_consume"><xsl:value-of
select="sublang_invoice_consume"/></xsl:variable>
- <xsl:variable name="sublang_drawing"><xsl:value-of
select="sublang_drawing"/></xsl:variable>
- <xsl:variable name="sublang_workorder_template"><xsl:value-of
select="sublang_workorder_template"/></xsl:variable>
- <xsl:variable
name="sublang_invoice_investment_value"><xsl:value-of
select="sublang_invoice_investment_value"/></xsl:variable>
- <xsl:variable name="sublang_gabnr"><xsl:value-of
select="sublang_gabnr"/></xsl:variable>
- <xsl:variable name="sublang_workorder_event"><xsl:value-of
select="sublang_workorder_event"/></xsl:variable>
- <xsl:variable name="sublang_invoice_import"><xsl:value-of
select="sublang_invoice_import"/></xsl:variable>
- <xsl:variable name="sublang_invoice_export"><xsl:value-of
select="sublang_invoice_export"/></xsl:variable>
<table>
<tr>
<td align="left">
! <xsl:variable
name="link_property"><xsl:value-of select="link_property"/></xsl:variable>
! <a href="{$link_property}"
onMouseover="window.status='{$lang_property}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="lang_property"/></a>
!
! <xsl:text> </xsl:text>
!
! <xsl:variable
name="link_equipment"><xsl:value-of select="link_equipment"/></xsl:variable>
! <a href="{$link_equipment}"
onMouseover="window.status='{$lang_equipment}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="lang_equipment"/></a>
! <xsl:text> </xsl:text>
! <xsl:variable
name="link_project"><xsl:value-of select="link_project"/></xsl:variable>
! <a href="{$link_project}"
onMouseover="window.status='{$lang_project}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="lang_project"/></a>
! <xsl:text> </xsl:text>
! <xsl:variable
name="link_helpdesk"><xsl:value-of select="link_helpdesk"/></xsl:variable>
! <a href="{$link_helpdesk}"
onMouseover="window.status='{$lang_helpdesk}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="lang_helpdesk"/></a>
! <xsl:text> </xsl:text>
! <xsl:variable
name="link_invoice"><xsl:value-of select="link_invoice"/></xsl:variable>
! <a href="{$link_invoice}"
onMouseover="window.status='{$lang_invoice}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="lang_invoice"/></a>
! <xsl:text> </xsl:text>
! <xsl:variable
name="link_pricebook"><xsl:value-of select="link_pricebook"/></xsl:variable>
! <a href="{$link_pricebook}"
onMouseover="window.status='{$lang_pricebook}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="lang_pricebook"/></a>
! <xsl:text> </xsl:text>
! <xsl:variable
name="link_documentation"><xsl:value-of
select="link_documentation"/></xsl:variable>
! <a href="{$link_documentation}"
onMouseover="window.status='{$lang_documentation}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="lang_documentation"/></a>
! <xsl:text> </xsl:text>
! <xsl:variable
name="link_report"><xsl:value-of select="link_report"/></xsl:variable>
! <a href="{$link_report}"
onMouseover="window.status='{$lang_report}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="lang_report"/></a>
</td>
</tr>
-
<tr>
<td align="left">
! <xsl:variable
name="sublink_property"><xsl:value-of select="sublink_property"/></xsl:variable>
! <a href="{$sublink_property}"
onMouseover="window.status='{$sublang_property}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="sublang_property"/></a>
!
! <xsl:variable
name="sublink_equipment"><xsl:value-of
select="sublink_equipment"/></xsl:variable>
! <a href="{$sublink_equipment}"
onMouseover="window.status='{$sublang_equipment}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="sublang_equipment"/></a>
!
! <xsl:variable
name="sub_invoice_list"><xsl:value-of select="sub_invoice_list"/></xsl:variable>
! <a href="{$sub_invoice_list}"
onMouseover="window.status='{$sublang_invoice_list}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="sublang_invoice_list"/></a>
!
! <xsl:variable
name="sub_workorder_project"><xsl:value-of
select="sub_workorder_project"/></xsl:variable>
! <a href="{$sub_workorder_project}"
onMouseover="window.status='{$sublang_workorder_project}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="sublang_workorder_project"/></a>
!
! <xsl:variable
name="sub_vendor_activities"><xsl:value-of
select="sub_vendor_activities"/></xsl:variable>
! <a href="{$sub_vendor_activities}"
onMouseover="window.status='{$sublang_vendor_activities}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="sublang_vendor_activities"/></a>
!
! <a href="{sub_location_type_list}"
onMouseover="window.status='{sublang_location_type_list}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="sublang_location_type_list"/></a>
! <xsl:text> </xsl:text>
! <xsl:variable
name="sublink_building"><xsl:value-of select="sublink_building"/></xsl:variable>
! <a href="{$sublink_building}"
onMouseover="window.status='{$sublang_building}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="sublang_building"/></a>
!
! <xsl:variable
name="sublink_equipment_type"><xsl:value-of
select="sublink_equipment_type"/></xsl:variable>
! <a href="{$sublink_equipment_type}"
onMouseover="window.status='{$sublang_equipment_type}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="sublang_equipment_type"/></a>
!
! <xsl:variable
name="sub_workorder_list"><xsl:value-of
select="sub_workorder_list"/></xsl:variable>
! <a href="{$sub_workorder_list}"
onMouseover="window.status='{$sublang_workorder_list}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="sublang_workorder_list"/></a>
!
! <xsl:variable
name="sub_invoice_paid"><xsl:value-of select="sub_invoice_paid"/></xsl:variable>
! <a href="{$sub_invoice_paid}"
onMouseover="window.status='{$sublang_invoice_paid}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="sublang_invoice_paid"/></a>
!
! <xsl:variable
name="sub_activities_list"><xsl:value-of
select="sub_activities_list"/></xsl:variable>
! <a href="{$sub_activities_list}"
onMouseover="window.status='{$sublang_activities_list}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="sublang_activities_list"/></a>
!
! <a href="{sub_location_config}"
onMouseover="window.status='{sublang_location_config}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="sublang_location_config"/></a>
! <xsl:text> </xsl:text>
! <xsl:variable
name="sublink_entrance"><xsl:value-of select="sublink_entrance"/></xsl:variable>
! <a href="{$sublink_entrance}"
onMouseover="window.status='{$sublang_entrance}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="sublang_entrance"/></a>
!
! <xsl:variable
name="sub_workorder_request"><xsl:value-of
select="sub_workorder_request"/></xsl:variable>
! <a href="{$sub_workorder_request}"
onMouseover="window.status='{$sublang_workorder_request}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="sublang_workorder_request"/></a>
!
! <xsl:variable
name="sublink_meter"><xsl:value-of select="sublink_meter"/></xsl:variable>
! <a href="{$sublink_meter}"
onMouseover="window.status='{sublang_meter}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="sublang_meter"/></a>
!
! <xsl:variable
name="sub_list_agreement"><xsl:value-of
select="sub_list_agreement"/></xsl:variable>
! <a href="{$sub_list_agreement}"
onMouseover="window.status='{$sublang_agreement}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="sublang_agreement"/></a>
! <xsl:text> </xsl:text>
! <xsl:variable
name="sublink_apartment"><xsl:value-of
select="sublink_apartment"/></xsl:variable>
! <a href="{$sublink_apartment}"
onMouseover="window.status='{$sublang_apartment}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="sublang_apartment"/></a>
!
! <!-- <xsl:variable
name="sub_workorder_archive"><xsl:value-of
select="sub_workorder_archive"/></xsl:variable>
! <a href="{$sub_workorder_archive}"
onMouseover="window.status='{$sublang_workorder_archive}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="sublang_workorder_archive"/></a>
! -->
! <xsl:variable
name="sub_invoice_consume"><xsl:value-of
select="sub_invoice_consume"/></xsl:variable>
! <a href="{$sub_invoice_consume}"
onMouseover="window.status='{$sublang_invoice_consume}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="sublang_invoice_consume"/></a>
! <xsl:text> </xsl:text>
! <xsl:variable
name="sublink_drawing"><xsl:value-of select="sublink_drawing"/></xsl:variable>
! <a href="{$sublink_drawing}"
onMouseover="window.status='{$sublang_drawing}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="sublang_drawing"/></a>
!
! <xsl:variable
name="sub_workorder_template"><xsl:value-of
select="sub_workorder_template"/></xsl:variable>
! <a href="{$sub_workorder_template}"
onMouseover="window.status='{$sublang_workorder_template}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="sublang_workorder_template"/></a>
!
! <xsl:variable
name="sub_invoice_investment_value"><xsl:value-of
select="sub_invoice_investment_value"/></xsl:variable>
! <a
href="{$sub_invoice_investment_value}"
onMouseover="window.status='{$sublang_invoice_investment_value}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="sublang_invoice_investment_value"/></a>
! <xsl:text> </xsl:text>
! <xsl:variable
name="sublink_gabnr"><xsl:value-of select="sublink_gabnr"/></xsl:variable>
! <a href="{$sublink_gabnr}"
onMouseover="window.status='{$sublang_gabnr}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="sublang_gabnr"/></a>
!
! <xsl:variable
name="sub_workorder_event"><xsl:value-of
select="sub_workorder_event"/></xsl:variable>
! <a href="{$sub_workorder_event}"
onMouseover="window.status='{$sublang_workorder_event}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="sublang_workorder_event"/></a>
!
! <xsl:variable
name="sub_invoice_import"><xsl:value-of
select="sub_invoice_import"/></xsl:variable>
! <a href="{$sub_invoice_import}"
onMouseover="window.status='{$sublang_invoice_import}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="sublang_invoice_import"/></a>
! <xsl:text> </xsl:text>
! <xsl:variable
name="sub_invoice_export"><xsl:value-of
select="sub_invoice_export"/></xsl:variable>
! <a href="{$sub_invoice_export}"
onMouseover="window.status='{$sublang_invoice_export}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="sublang_invoice_export"/></a>
!
! <xsl:for-each select="location" >
! <xsl:text> </xsl:text>
! <a href="{sublink_location}"
onMouseover="window.status='{sublang_location}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="statsutext_location"/></a>
</xsl:for-each>
</td>
--- 3,21 ----
</xsl:template>
<xsl:template match="links">
<table>
<tr>
<td align="left">
! <xsl:for-each select="module" >
! <xsl:text> </xsl:text>
! <a href="{link}"
onMouseover="window.status='{lang}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="statustext"/></a>
! </xsl:for-each>
</td>
</tr>
<tr>
<td align="left">
! <xsl:for-each select="sub_menu" >
! <xsl:text> </xsl:text>
! <a href="{link}"
onMouseover="window.status='{lang}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="statustext"/></a>
</xsl:for-each>
</td>
***************
*** 155,157 ****
</table>
<hr noshade="noshade" width="100%" align="center" size="1"/>
! </xsl:template>
--- 23,25 ----
</table>
<hr noshade="noshade" width="100%" align="center" size="1"/>
! </xsl:template>
\ No newline at end of file
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: property/templates/default admin_location.xsl,1.2,1.3 location.xsl,1.9,1.10 location_form_2.xsl,1.1,1.2 lookup.xsl,1.17,1.18 menu.xsl,1.11,1.12,
Sigurd Nes <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: phpgwapi/cron asyncservices.php,1.1.2.3,1.1.2.4
- Next by Date:
[Phpgroupware-cvs] CVS: property/setup default_records.inc.php,1.19,1.20 setup.inc.php,1.52,1.53 tables_current.inc.php,1.87,1.88
- Previous by thread:
[Phpgroupware-cvs] CVS: phpgwapi/cron asyncservices.php,1.1.2.3,1.1.2.4
- Next by thread:
[Phpgroupware-cvs] CVS: property/setup default_records.inc.php,1.19,1.20 setup.inc.php,1.52,1.53 tables_current.inc.php,1.87,1.88
- Index(es):