[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: property/templates/default wo_hour.xsl,1.5,1.6
From: |
Sigurd Nes <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: property/templates/default wo_hour.xsl,1.5,1.6 |
Date: |
Wed, 02 Apr 2003 06:13:49 -0500 |
Update of /cvsroot/phpgroupware/property/templates/default
In directory subversions:/tmp/cvs-serv25335/templates/default
Modified Files:
wo_hour.xsl
Log Message:
no message
Index: wo_hour.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/wo_hour.xsl,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** wo_hour.xsl 1 Apr 2003 16:37:37 -0000 1.5
--- wo_hour.xsl 2 Apr 2003 11:13:47 -0000 1.6
***************
*** 170,173 ****
--- 170,293 ----
</xsl:template>
+ <xsl:template match="view">
+ <xsl:call-template name="app_header"/>
+ <xsl:call-template name="menu"/>
+ <table width="100%" cellpadding="2" cellspacing="2"
align="center">
+ <xsl:for-each select="message" >
+ <tr>
+ <td class="th_text" colspan="2" align="center">
+ <xsl:value-of select="msg"/>
+ </td>
+ </tr>
+ </xsl:for-each>
+ <xsl:for-each select="error" >
+ <tr>
+ <td class="th_text" colspan="2" align="center">
+ <xsl:value-of select="msg"/>
+ </td>
+ </tr>
+ </xsl:for-each>
+ </table>
+ <xsl:apply-templates select="workorder_data"/>
+ <table width="100%" cellpadding="2" cellspacing="2"
align="center">
+ <tr >
+ <td class="th_text" colspan="3" align="right">
+ <xsl:value-of
select="lang_total_records"/>
+ <xsl:text> : </xsl:text>
+ </td>
+ <td class="th_text" colspan="5" align="left">
+ <xsl:value-of
select="total_hours_records"/>
+ </td>
+ </tr>
+ <xsl:apply-templates select="table_header_view_order"/>
+ <xsl:apply-templates select="values_view_order"/>
+ </table>
+ <xsl:apply-templates select="table_send"/>
+ <xsl:apply-templates select="table_done"/>
+ </xsl:template>
+
+ <xsl:template match="table_header_view_order">
+ <xsl:variable name="sort_activity_num"><xsl:value-of
select="sort_activity_num"/></xsl:variable>
+ <xsl:variable name="sort_descr"><xsl:value-of
select="sort_descr"/></xsl:variable>
+ <xsl:variable name="sort_quantity"><xsl:value-of
select="sort_quantity"/></xsl:variable>
+ <tr class="th">
+ <td class="th_text" width="5%" align="right">
+ <xsl:value-of select="lang_post"/>
+ </td>
+ <td class="th_text" width="15%" align="left">
+ <xsl:value-of select="lang_code"/>
+ </td>
+ <td class="th_text" width="40%" align="left">
+ <xsl:value-of select="lang_descr"/>
+ </td>
+ <td class="th_text" width="4%" align="left">
+ <xsl:value-of select="lang_unit"/>
+ </td>
+ <td class="th_text" width="2%" align="right">
+ <xsl:value-of select="lang_quantity"/>
+ </td>
+ <td class="th_text" width="5%" align="right">
+ <xsl:value-of select="lang_billperae"/>
+ </td>
+ <td class="th_text" width="15%" align="right">
+ <xsl:value-of select="lang_cost"/>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="values_view_order">
+ <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>
+ <xsl:variable name="lang_delete_statustext"><xsl:value-of
select="lang_delete_statustext"/></xsl:variable>
+ <xsl:choose>
+ <xsl:when test="new_grouping=1">
+ <tr>
+ <td class="th_text" align="center" colspan="10"
width="100%">
+ <xsl:value-of select="grouping_descr"/>
+ </td>
+ </tr>
+ </xsl:when>
+ </xsl:choose>
+ <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="post"/>
+ </td>
+ <td align="left">
+ <xsl:value-of select="code"/>
+ </td>
+ <td align="left">
+ <xsl:value-of select="descr"/>
+ <br/>
+ <xsl:value-of select="remark"/>
+ </td>
+ <td align="left">
+ <xsl:value-of select="unit"/>
+ </td>
+ <td align="right">
+ <xsl:value-of select="quantity"/>
+ </td>
+ <td align="right">
+ <xsl:value-of select="billperae"/>
+ </td>
+ <td align="right">
+ <xsl:value-of select="cost"/>
+ </td>
+ </tr>
+ </xsl:template>
+
<xsl:template match="list_template">
<xsl:call-template name="app_header"/>
***************
*** 1016,1020 ****
</form>
</tr>
-
</table>
</xsl:template>
--- 1136,1139 ----
***************
*** 1040,1043 ****
--- 1159,1185 ----
</xsl:template>
+ <xsl:template match="table_send">
+ <table width="80%" >
+ <tr>
+ <td align="center" height="50">
+ <xsl:variable
name="send_order_action"><xsl:value-of
select="send_order_action"/></xsl:variable>
+ <xsl:variable
name="lang_send_order"><xsl:value-of select="lang_send_order"/></xsl:variable>
+ <form method="post"
action="{$send_order_action}">
+ <input type="submit"
name="send_order" value="{$lang_send_order}"
onMouseout="window.status='';return true;">
+ <xsl:attribute
name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+
<xsl:value-of select="lang_send_order_statustext"/>
+ <xsl:text>';
return true;</xsl:text>
+ </xsl:attribute>
+ </input>
+ </form>
+ </td>
+ </tr>
+ </table>
+ </xsl:template>
+
+
+
+
<!-- add / edit -->
***************
*** 1346,1351 ****
</table>
</div>
!
! </xsl:template>
!
! <!-- view -->
--- 1488,1490 ----
</table>
</div>
! </xsl:template>
\ No newline at end of file
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: property/templates/default wo_hour.xsl,1.5,1.6,
Sigurd Nes <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: property/inc class.uiwo_hour.inc.php,1.6,1.7 hook_settings.inc.php,1.6,1.7
- Next by Date:
[Phpgroupware-cvs] CVS: property/setup setup.inc.php,1.31,1.32
- Previous by thread:
[Phpgroupware-cvs] CVS: property/inc class.uiwo_hour.inc.php,1.6,1.7 hook_settings.inc.php,1.6,1.7
- Next by thread:
[Phpgroupware-cvs] CVS: property/setup setup.inc.php,1.31,1.32
- Index(es):