[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,NONE,1.1 attributes_view.xsl,NONE,1.1 location_form.xsl,NONE,1.1 location_view.xsl,NONE,1.1 status_filter.xsl,NONE,1.1 status_select.xsl,NONE,1.1 vendor_form.xsl,NONE,1.1equipment.xsl,1.4,1.5 |
Date: |
Tue, 18 Feb 2003 04:14:00 -0500 |
Update of /cvsroot/phpgroupware/property/templates/default
In directory subversions:/tmp/cvs-serv16738/templates/default
Modified Files:
equipment.xsl
Added Files:
attributes_form.xsl attributes_view.xsl location_form.xsl
location_view.xsl status_filter.xsl status_select.xsl
vendor_form.xsl
Log Message:
no message
***** Error reading new file: [Errno 2] No such file or directory:
'attributes_form.xsl'
***** Error reading new file: [Errno 2] No such file or directory:
'attributes_view.xsl'
***** Error reading new file: [Errno 2] No such file or directory:
'location_form.xsl'
***** Error reading new file: [Errno 2] No such file or directory:
'location_view.xsl'
***** Error reading new file: [Errno 2] No such file or directory:
'status_filter.xsl'
***** Error reading new file: [Errno 2] No such file or directory:
'status_select.xsl'
***** Error reading new file: [Errno 2] No such file or directory:
'vendor_form.xsl'
Index: equipment.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/equipment.xsl,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** equipment.xsl 16 Feb 2003 22:27:02 -0000 1.4
--- equipment.xsl 18 Feb 2003 09:13:57 -0000 1.5
***************
*** 82,88 ****
</td>
<td class="th_text" width="5%" align="center">
- <xsl:value-of select="lang_attribute"/>
- </td>
- <td class="th_text" width="5%" align="center">
<xsl:value-of select="lang_view"/>
</td>
--- 82,85 ----
***************
*** 97,101 ****
<xsl:template match="values">
- <xsl:variable name="lang_attribute_statustext"><xsl:value-of
select="lang_attribute_statustext"/></xsl:variable>
<xsl:variable name="lang_view_statustext"><xsl:value-of
select="lang_view_statustext"/></xsl:variable>
<xsl:variable name="lang_edit_statustext"><xsl:value-of
select="lang_edit_statustext"/></xsl:variable>
--- 94,97 ----
***************
*** 145,152 ****
</td>
<td align="center">
- <xsl:variable
name="link_attribute"><xsl:value-of select="link_attribute"/></xsl:variable>
- <a href="{$link_attribute}"
onMouseover="window.status='{$lang_attribute_statustext}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="text_attribute"/></a>
- </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>
--- 141,144 ----
***************
*** 293,297 ****
</td>
<td>
-
<input type="text" name="date"
value="{value_date}" size="12" readonly="readonly"
onMouseout="window.status='';return true;" >
<xsl:attribute
name="onMouseover">
--- 285,288 ----
***************
*** 365,368 ****
--- 356,371 ----
</td>
</tr>
+ <xsl:choose>
+ <xsl:when test="value_equipment_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>
***************
*** 377,380 ****
--- 380,385 ----
</td>
</tr>
+
+
</form>
<tr>
***************
*** 399,414 ****
<!-- view -->
-
<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>
<tr>
<td>
--- 404,433 ----
<!-- view -->
<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_equipment_id"/>
! </td>
! <td>
! <xsl:value-of
select="value_equipment_id"/>
! </td>
! </tr>
! <xsl:call-template
name="location_view"/>
!
<tr>
<td>
! <xsl:value-of select="lang_vendor"/>
</td>
<td>
! <xsl:value-of select="value_vendor_id"/>
! <xsl:text> </xsl:text>
! <xsl:value-of
select="value_vendor_name"/>
</td>
</tr>
+
<tr>
<td>
***************
*** 416,438 ****
</td>
<td>
! <xsl:value-of select="value_cat"/>
</td>
</tr>
<tr>
<td valign="top">
! <xsl:value-of select="lang_name"/>
</td>
<td>
! <xsl:value-of select="value_name"/>
</td>
</tr>
<tr>
<td>
! <xsl:value-of select="lang_access"/>
</td>
<td>
! <xsl:value-of select="value_access"/>
</td>
</tr>
<tr height="50">
<td>
--- 435,496 ----
</td>
<td>
! <xsl:value-of select="cat_text"/>
</td>
</tr>
<tr>
<td valign="top">
! <xsl:value-of select="lang_date"/>
</td>
<td>
! <xsl:value-of select="value_date"/>
</td>
</tr>
<tr>
+ <td valign="top">
+ <xsl:value-of select="lang_lifetime"/>
+ </td>
<td>
! <xsl:value-of select="value_lifetime"/>
! <xsl:text> </xsl:text> [ <xsl:value-of
select="lang_year"/> ]
</td>
+ </tr>
+ <tr>
<td>
! <xsl:value-of select="lang_status"/>
! </td>
! <td>
! <xsl:value-of select="value_status"/>
! </td>
! </tr>
! <tr>
! <td valign="top">
! <xsl:value-of select="lang_cost"/>
! </td>
! <td>
! <xsl:value-of select="value_cost"/>
! <xsl:text> </xsl:text> [ <xsl:value-of
select="currency"/> ]
! </td>
! </tr>
! <tr>
! <td valign="top">
! <xsl:value-of select="lang_descr"/>
! </td>
! <td>
! <xsl:value-of select="value_descr"/>
</td>
</tr>
+ <xsl:choose>
+ <xsl:when test="value_equipment_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>
***************
*** 440,447 ****
<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>
--- 498,525 ----
<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,NONE,1.1 attributes_view.xsl,NONE,1.1 location_form.xsl,NONE,1.1 location_view.xsl,NONE,1.1 status_filter.xsl,NONE,1.1 status_select.xsl,NONE,1.1 vendor_form.xsl,NONE,1.1equipment.xsl,1.4,1.5,
Sigurd Nes <address@hidden> <=