[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/templates/default/s_agreement.xsl, 1.6
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/templates/default/s_agreement.xsl, 1.6 |
Date: |
Wed, 30 Jun 2004 00:04:50 +0200 |
Update of /property/templates/default
Modified Files:
Branch:
s_agreement.xsl
date: 2004/06/29 22:04:50; author: sigurdne; state: Exp; lines: +144 -135
Log Message:
no message
=====================================================================
Index: property/templates/default/s_agreement.xsl
diff -u property/templates/default/s_agreement.xsl:1.5
property/templates/default/s_agreement.xsl:1.6
--- property/templates/default/s_agreement.xsl:1.5 Tue Jun 29 12:48:29 2004
+++ property/templates/default/s_agreement.xsl Tue Jun 29 22:04:50 2004
@@ -723,152 +723,161 @@
<xsl:template match="view">
<div align="left">
- <table cellpadding="2" cellspacing="2" width="79%"
align="center">
- <tr >
- <td align="left">
- <xsl:value-of select="lang_id"/>
- </td>
- <td align="left">
- <xsl:value-of
select="value_s_agreement_id"/>
- </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_descr"/>
- </td>
- <td>
- <textarea disabled="disabled" cols="60"
rows="6" name="values[descr]" wrap="virtual"
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>
- <xsl:value-of
select="value_descr"/>
- </textarea>
- </td>
- </tr>
- <tr >
- <td align="left">
- <xsl:value-of select="lang_category"/>
- </td>
- <xsl:for-each select="cat_list" >
- <xsl:choose>
- <xsl:when
test="selected='selected'">
- <td>
- <xsl:value-of
select="name"/>
- </td>
- </xsl:when>
- </xsl:choose>
- </xsl:for-each>
- </tr>
- <xsl:call-template name="vendor_view"/>
- <xsl:call-template name="b_account_view"/>
- <tr>
- <td valign="top">
- <xsl:value-of select="lang_start_date"/>
- </td>
- <td>
- <input type="text" id="start_date"
name="start_date" size="10" value="{value_start_date}" readonly="readonly"
onMouseout="window.status='';return true;" ></input>
- </td>
- </tr>
- <tr>
- <td valign="top">
- <xsl:value-of select="lang_end_date"/>
- </td>
- <td>
- <input type="text" id="end_date"
name="end_date" size="10" value="{value_end_date}" readonly="readonly"
onMouseout="window.status='';return true;" ></input>
- </td>
- </tr>
- <xsl:choose>
- <xsl:when test="files!=''">
+ <table cellpadding="2" cellspacing="2" align="center">
+ <tr><td>
+ <table cellpadding="2" cellspacing="2" width="79%"
align="center">
+ <tr >
+ <td align="left">
+ <xsl:value-of select="lang_id"/>
+ </td>
+ <td align="left">
+ <xsl:value-of
select="value_s_agreement_id"/>
+ </td>
+ </tr>
+
<tr>
- <td align="left" valign="top">
- <xsl:value-of
select="//lang_files"/>
+ <td valign="top">
+ <xsl:value-of
select="lang_name"/>
</td>
<td>
- <table>
- <tr class="th">
- <td class="th_text"
width="85%" align="left">
- <xsl:value-of
select="lang_filename"/>
- </td>
- </tr>
- <xsl:for-each
select="files" >
- <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="left">
-
<xsl:choose>
-
<xsl:when test="//link_to_files!=''">
-
<xsl:variable name="link_to_file"><xsl:value-of
select="//link_to_files"/>/<xsl:value-of select="directory"/>/<xsl:value-of
select="file_name"/></xsl:variable>
-
<a href="{$link_to_file}" target="_blank"
onMouseover="window.status='{//lang_view_file_statustext}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of select="name"/></a>
-
</xsl:when>
-
<xsl:otherwise>
-
<xsl:variable name="link_view_file"><xsl:value-of
select="//link_view_file"/>&file_name=<xsl:value-of
select="file_name"/></xsl:variable>
-
<a href="{$link_view_file}" target="_blank"
onMouseover="window.status='{//lang_view_file_statustext}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of select="name"/></a>
-
</xsl:otherwise>
-
</xsl:choose>
-
<xsl:text> </xsl:text>
- </td>
- </tr>
- </xsl:for-each>
- </table>
+ <xsl:value-of
select="value_name"/>
</td>
</tr>
- </xsl:when>
- </xsl:choose>
-
- <xsl:choose>
- <xsl:when test="attributes_view != ''">
- <tr>
- <td colspan="2" width="50%"
align="left">
- <xsl:apply-templates
select="attributes_view"/>
- </td>
- </tr>
- </xsl:when>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="member_of_list != ''">
<tr>
<td valign="top">
- <xsl:value-of
select="lang_member_of"/>
+ <xsl:value-of
select="lang_descr"/>
</td>
- <!-- <td valign="top">
- <xsl:for-each
select="member_of_list[selected='selected']" >
- <xsl:value-of
select="name"/>
- <xsl:if
test="position() != last()">, </xsl:if>
- </xsl:for-each>
- </td>-->
-
<td>
- <xsl:variable
name="lang_member_of_statustext"><xsl:value-of
select="lang_member_of_statustext"/></xsl:variable>
- <select
disabled="disabled" name="values[member_of][]" class="forms"
multiple="multiple" onMouseover="window.status='{$lang_member_of_statustext}';
return true;" onMouseout="window.status='';return true;">
-
<xsl:apply-templates select="member_of_list"/>
- </select>
+ <textarea disabled="disabled"
cols="60" rows="6" name="values[descr]" wrap="virtual"
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>
+ <xsl:value-of
select="value_descr"/>
+ </textarea>
</td>
</tr>
- </xsl:when>
- </xsl:choose>
- </table>
+ <tr >
+ <td align="left">
+ <xsl:value-of
select="lang_category"/>
+ </td>
+ <xsl:for-each select="cat_list" >
+ <xsl:choose>
+ <xsl:when
test="selected='selected'">
+ <td>
+
<xsl:value-of select="name"/>
+ </td>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:for-each>
+ </tr>
+ <xsl:call-template name="vendor_view"/>
+ <xsl:call-template name="b_account_view"/>
+ <tr>
+ <td valign="top">
+ <xsl:value-of
select="lang_start_date"/>
+ </td>
+ <td>
+ <input type="text"
id="start_date" name="start_date" size="10" value="{value_start_date}"
readonly="readonly" onMouseout="window.status='';return true;" ></input>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top">
+ <xsl:value-of
select="lang_end_date"/>
+ </td>
+ <td>
+ <input type="text"
id="end_date" name="end_date" size="10" value="{value_end_date}"
readonly="readonly" onMouseout="window.status='';return true;" ></input>
+ </td>
+ </tr>
+ <xsl:choose>
+ <xsl:when test="files!=''">
+ <tr>
+ <td align="left" valign="top">
+ <xsl:value-of
select="//lang_files"/>
+ </td>
+ <td>
+ <table>
+ <tr class="th">
+ <td
class="th_text" width="85%" align="left">
+
<xsl:value-of select="lang_filename"/>
+ </td>
+ </tr>
+ <xsl:for-each
select="files" >
+ <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="left">
+
<xsl:choose>
+
<xsl:when test="//link_to_files!=''">
+
<xsl:variable name="link_to_file"><xsl:value-of
select="//link_to_files"/>/<xsl:value-of select="directory"/>/<xsl:value-of
select="file_name"/></xsl:variable>
+
<a href="{$link_to_file}" target="_blank"
onMouseover="window.status='{//lang_view_file_statustext}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of select="name"/></a>
+
</xsl:when>
+
<xsl:otherwise>
+
<xsl:variable name="link_view_file"><xsl:value-of
select="//link_view_file"/>&file_name=<xsl:value-of
select="file_name"/></xsl:variable>
+
<a href="{$link_view_file}" target="_blank"
onMouseover="window.status='{//lang_view_file_statustext}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of select="name"/></a>
+
</xsl:otherwise>
+
</xsl:choose>
+
<xsl:text> </xsl:text>
+
</td>
+ </tr>
+ </xsl:for-each>
+ </table>
+ </td>
+ </tr>
+ </xsl:when>
+ </xsl:choose>
+ <xsl:choose>
+ <xsl:when test="attributes_view != ''">
+ <tr>
+ <td colspan="2"
width="50%" align="left">
+
<xsl:apply-templates select="attributes_view"/>
+ </td>
+ </tr>
+ </xsl:when>
+ </xsl:choose>
+ <xsl:choose>
+ <xsl:when test="member_of_list != ''">
+ <tr>
+ <td valign="top">
+ <xsl:value-of
select="lang_member_of"/>
+ </td>
+ <!-- <td valign="top">
+ <xsl:for-each
select="member_of_list[selected='selected']" >
+ <xsl:value-of
select="name"/>
+ <xsl:if
test="position() != last()">, </xsl:if>
+ </xsl:for-each>
+ </td>-->
+
+ <td>
+ <xsl:variable
name="lang_member_of_statustext"><xsl:value-of
select="lang_member_of_statustext"/></xsl:variable>
+ <select
disabled="disabled" name="values[member_of][]" class="forms"
multiple="multiple" onMouseover="window.status='{$lang_member_of_statustext}';
return true;" onMouseout="window.status='';return true;">
+
<xsl:apply-templates select="member_of_list"/>
+ </select>
+ </td>
+ </tr>
+ </xsl:when>
+ </xsl:choose>
+ </table>
+ </td></tr>
+ <tr><td>
+ <table>
+ <xsl:call-template name="alarm_view"/>
+ </table>
+ </td>
+ </tr>
+ </table>
<xsl:choose>
<xsl:when test="values!=''">
<table width="100%" cellpadding="2"
cellspacing="2" align="center">
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/templates/default/s_agreement.xsl, 1.6,
nomail <=