[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: property/templates/default attributes_form.xsl,
From: |
Sigurd Nes <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: property/templates/default attributes_form.xsl,1.1,1.2 attributes_view.xsl,1.1,1.2 building.xsl,1.4,1.5 equipment.xsl,1.5,1.6 property.xsl,1.3,1.4 |
Date: |
Tue, 18 Feb 2003 14:29:02 -0500 |
Update of /cvsroot/phpgroupware/property/templates/default
In directory subversions:/tmp/cvs-serv14361/templates/default
Modified Files:
attributes_form.xsl attributes_view.xsl building.xsl
equipment.xsl property.xsl
Log Message:
no message
Index: attributes_form.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/attributes_form.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** attributes_form.xsl 18 Feb 2003 09:13:57 -0000 1.1
--- attributes_form.xsl 18 Feb 2003 19:29:00 -0000 1.2
***************
*** 53,57 ****
<td align="right">
<xsl:choose>
! <xsl:when test="value!=''">
<input type="hidden"
name="values_attribute[{counter}][type_id]" value="{type_id}"></input>
<input type="hidden"
name="values_attribute[{counter}][attrib_id]" value="{attrib_id}"></input>
--- 53,57 ----
<td align="right">
<xsl:choose>
! <xsl:when test="name!=''">
<input type="hidden"
name="values_attribute[{counter}][type_id]" value="{type_id}"></input>
<input type="hidden"
name="values_attribute[{counter}][attrib_id]" value="{attrib_id}"></input>
Index: attributes_view.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/attributes_view.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** attributes_view.xsl 18 Feb 2003 09:13:57 -0000 1.1
--- attributes_view.xsl 18 Feb 2003 19:29:00 -0000 1.2
***************
*** 1,5 ****
<!-- $Id$ -->
! <xsl:template name="attributes_form">
<table width="100%" cellpadding="2" cellspacing="2"
align="center">
<xsl:apply-templates select="attributes_header"/>
--- 1,5 ----
<!-- $Id$ -->
! <xsl:template name="attributes_view">
<table width="100%" cellpadding="2" cellspacing="2"
align="center">
<xsl:apply-templates select="attributes_header"/>
Index: building.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/building.xsl,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** building.xsl 10 Feb 2003 16:46:14 -0000 1.4
--- building.xsl 18 Feb 2003 19:29:00 -0000 1.5
***************
*** 46,52 ****
<xsl:template match="table_header">
<tr class="th">
<td class="th_text" width="10%" align="right">
! <xsl:value-of
select="lang_property_id"/>
</td>
<td class="th_text" width="10%" align="right">
--- 46,54 ----
<xsl:template match="table_header">
+ <xsl:variable name="sort_property_id"><xsl:value-of
select="sort_property_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_property_id}"><xsl:value-of select="lang_property_id"/></a>
</td>
<td class="th_text" width="10%" align="right">
***************
*** 54,65 ****
</td>
<td class="th_text" width="40%">
! <xsl:value-of select="lang_name"/>
! </td>
! <td class="th_text" width="20%" align="center">
! <xsl:value-of
select="lang_time_created"/>
! </td>
! <td class="th_text" width="10%" align="center">
! <xsl:value-of select="lang_owner"/>
</td>
<td class="th_text" width="5%" align="center">
<xsl:value-of select="lang_view"/>
--- 56,62 ----
</td>
<td class="th_text" width="40%">
! <a href="{$sort_name}"><xsl:value-of
select="lang_name"/></a>
</td>
+
<td class="th_text" width="5%" align="center">
<xsl:value-of select="lang_view"/>
***************
*** 103,112 ****
</td>
<td align="center">
- <xsl:value-of select="date"/>
- </td>
- <td align="center">
- <xsl:value-of select="owner"/>
- </td>
- <td align="center">
<xsl:variable
name="link_view"><xsl:value-of select="link_view"/></xsl:variable>
<a href="{$link_view}"
onMouseover="window.status='{$lang_view_statustext}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="text_view"/></a>
--- 100,103 ----
***************
*** 214,225 ****
</tr>
<tr>
- <td>
- <xsl:value-of
select="lang_part_of_town"/>
- </td>
- <td>
- <xsl:call-template
name="select_part_of_town"/>
- </td>
- </tr>
- <tr>
<td valign="top">
<xsl:value-of select="lang_name"/>
--- 205,208 ----
***************
*** 294,297 ****
--- 277,292 ----
</td>
</tr>
+ <xsl:choose>
+ <xsl:when test="value_building_id!=''">
+ <tr>
+ <td>
+ <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>
Index: equipment.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/equipment.xsl,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** equipment.xsl 18 Feb 2003 09:13:57 -0000 1.5
--- equipment.xsl 18 Feb 2003 19:29:00 -0000 1.6
***************
*** 487,491 ****
</td>
<td colspan="2" width="50%">
! <xsl:call-template
name="attributes_form"/>
</td>
</tr>
--- 487,491 ----
</td>
<td colspan="2" width="50%">
! <xsl:call-template
name="attributes_view"/>
</td>
</tr>
Index: property.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/property.xsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** property.xsl 11 Feb 2003 10:01:57 -0000 1.3
--- property.xsl 18 Feb 2003 19:29:00 -0000 1.4
***************
*** 48,51 ****
--- 48,52 ----
<xsl:variable name="sort_property_id"><xsl:value-of
select="sort_property_id"/></xsl:variable>
<xsl:variable name="sort_name"><xsl:value-of
select="sort_name"/></xsl:variable>
+ <xsl:variable name="sort_district_id"><xsl:value-of
select="sort_district_id"/></xsl:variable>
<tr class="th">
<td class="th_text" width="10%" align="right">
***************
*** 59,63 ****
</td>
<td class="th_text" width="10%" align="center">
! <xsl:value-of select="lang_area"/>
</td>
<td class="th_text" width="5%" align="center">
--- 60,64 ----
</td>
<td class="th_text" width="10%" align="center">
! <a href="{$sort_district_id}"><xsl:value-of
select="lang_district"/></a>
</td>
<td class="th_text" width="5%" align="center">
***************
*** 102,106 ****
</td>
<td align="center">
! <xsl:value-of select="area_id"/>
</td>
<td align="center">
--- 103,107 ----
</td>
<td align="center">
! <xsl:value-of select="district_id"/>
</td>
<td align="center">
***************
*** 268,271 ****
--- 269,284 ----
</td>
</tr>
+ <xsl:choose>
+ <xsl:when test="value_property_id!=''">
+ <tr>
+ <td>
+ <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>
***************
*** 303,314 ****
<xsl:template match="view">
<xsl:call-template name="app_header"/>
! <table cellpadding="2" cellspacing="2" width="100%"
align="center">
<tr>
! <td>
! <xsl:value-of
select="lang_time_created"/>
</td>
<td>
! <xsl:value-of select="value_date"/>
</td>
</tr>
--- 316,328 ----
<xsl:template match="view">
+ <div align="left">
<xsl:call-template name="app_header"/>
! <table cellpadding="2" cellspacing="2" width="80%"
align="center">
<tr>
! <td valign="top">
! <xsl:value-of
select="lang_property_id"/>
</td>
<td>
! <xsl:value-of
select="value_property_id"/>
</td>
</tr>
***************
*** 318,338 ****
</td>
<td>
! <xsl:value-of select="value_cat"/>
</td>
</tr>
<tr>
<td valign="top">
! <xsl:value-of select="lang_content"/>
</td>
<td>
! <xsl:value-of select="value_content"/>
</td>
</tr>
<tr>
<td>
! <xsl:value-of select="lang_access"/>
</td>
<td>
! <xsl:value-of select="value_access"/>
</td>
</tr>
--- 332,384 ----
</td>
<td>
! <xsl:value-of select="value_category"/>
</td>
</tr>
<tr>
<td valign="top">
! <xsl:value-of select="lang_district"/>
</td>
<td>
! <xsl:value-of select="value_district"/>
</td>
</tr>
<tr>
<td>
! <xsl:value-of
select="lang_part_of_town"/>
! </td>
! <td>
! <xsl:value-of
select="value_part_of_town"/>
! </td>
! </tr>
! <tr>
! <td valign="top">
! <xsl:value-of select="lang_name"/>
! </td>
! <td>
! <xsl:value-of select="value_name"/>
! </td>
! </tr>
! <tr>
! <td valign="top">
! <xsl:value-of
select="lang_generaladdress"/>
! </td>
! <td>
! <xsl:value-of
select="value_generaladdress"/>
</td>
+ </tr>
+ <tr>
+ <td valign="top">
+ <xsl:value-of
select="lang_generellinfo"/>
+ </td>
+ <td>
+ <xsl:value-of
select="value_generellinfo"/>
+ </td>
+ </tr>
+ <tr>
<td>
! <xsl:value-of select="lang_attributes"/>
! </td>
! <td colspan="2" width="50%">
! <xsl:call-template
name="attributes_view"/>
</td>
</tr>
***************
*** 342,349 ****
<xsl:variable
name="lang_done"><xsl:value-of select="lang_done"/></xsl:variable>
<form method="post"
action="{$done_action}">
! <input type="submit" class="forms"
name="done" value="{$lang_done}" onMouseover="window.status='Back to the
list.';return true;" onMouseout="window.status='';return true;"/>
</form>
</td>
</tr>
</table>
</xsl:template>
--- 388,414 ----
<xsl:variable
name="lang_done"><xsl:value-of select="lang_done"/></xsl:variable>
<form method="post"
action="{$done_action}">
! <input type="submit" class="forms"
name="done" value="{$lang_done}" onMouseout="window.status='';return true;">
! <xsl:attribute
name="onMouseover">
!
<xsl:text>window.status='</xsl:text>
! <xsl:value-of
select="lang_done_statustext"/>
! <xsl:text>'; return
true;</xsl:text>
! </xsl:attribute>
! </input>
!
! </form>
! <xsl:variable
name="edit_action"><xsl:value-of select="edit_action"/></xsl:variable>
! <xsl:variable
name="lang_edit"><xsl:value-of select="lang_edit"/></xsl:variable>
! <form method="post"
action="{$edit_action}">
! <input type="submit" class="forms"
name="edit" value="{$lang_edit}" onMouseout="window.status='';return true;">
! <xsl:attribute
name="onMouseover">
!
<xsl:text>window.status='</xsl:text>
! <xsl:value-of
select="lang_edit_statustext"/>
! <xsl:text>'; return
true;</xsl:text>
! </xsl:attribute>
! </input>
</form>
</td>
</tr>
</table>
+ </div>
</xsl:template>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: property/templates/default attributes_form.xsl,1.1,1.2 attributes_view.xsl,1.1,1.2 building.xsl,1.4,1.5 equipment.xsl,1.5,1.6 property.xsl,1.3,1.4,
Sigurd Nes <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: property/inc class.boproperty.inc.php,1.2,1.3 class.soproperty.inc.php,1.3,1.4 class.uibuilding.inc.php,1.6,1.7 class.uiequipment.inc.php,1.5,1.6 class.uiproperty.inc.php,1.7,1.8
- Next by Date:
[Phpgroupware-cvs] CVS: property/inc class.soadmin.inc.php,1.1,1.2 class.sobuilding.inc.php,1.4,1.5 class.socommon.inc.php,1.9,1.10 class.soequipment.inc.php,1.6,1.7class.soinvestment.inc.php,1.5,1.6 class.soinvoice.inc.php,1.12,1.13 class.solookup.inc.php,1.7,1.8 class.soproperty.inc.php,1.4,1.5 class.sotts.inc.php,1.6,1.7 class.soXport.inc.php,1.13,1.14 class.uibuilding.inc.php,1.7,1.8 class.uiequipment.inc.php,1.6,1.7 class.uilookup.inc.php,1.7,1.8 class.uiproperty.inc.php,1.8,1.9
- Previous by thread:
[Phpgroupware-cvs] CVS: property/inc class.boproperty.inc.php,1.2,1.3 class.soproperty.inc.php,1.3,1.4 class.uibuilding.inc.php,1.6,1.7 class.uiequipment.inc.php,1.5,1.6 class.uiproperty.inc.php,1.7,1.8
- Next by thread:
[Phpgroupware-cvs] CVS: property/inc class.soadmin.inc.php,1.1,1.2 class.sobuilding.inc.php,1.4,1.5 class.socommon.inc.php,1.9,1.10 class.soequipment.inc.php,1.6,1.7class.soinvestment.inc.php,1.5,1.6 class.soinvoice.inc.php,1.12,1.13 class.solookup.inc.php,1.7,1.8 class.soproperty.inc.php,1.4,1.5 class.sotts.inc.php,1.6,1.7 class.soXport.inc.php,1.13,1.14 class.uibuilding.inc.php,1.7,1.8 class.uiequipment.inc.php,1.6,1.7 class.uilookup.inc.php,1.7,1.8 class.uiproperty.inc.php,1.8,1.9
- Index(es):