[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.1,1.2
From: |
Sigurd Nes <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: property/templates/default wo_hour.xsl,1.1,1.2 |
Date: |
Wed, 26 Mar 2003 07:31:58 -0500 |
Update of /cvsroot/phpgroupware/property/templates/default
In directory subversions:/tmp/cvs-serv28778/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.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** wo_hour.xsl 24 Mar 2003 17:37:24 -0000 1.1
--- wo_hour.xsl 26 Mar 2003 12:31:56 -0000 1.2
***************
*** 9,12 ****
--- 9,15 ----
<xsl:apply-templates select="add"/>
</xsl:when>
+ <xsl:when test="add_template">
+ <xsl:apply-templates select="add_template"/>
+ </xsl:when>
<xsl:when test="view">
<xsl:apply-templates select="view"/>
***************
*** 68,71 ****
--- 71,133 ----
</xsl:template>
+ <xsl:template match="add_template">
+ <xsl:call-template name="app_header"/>
+ <xsl:call-template name="menu"/>
+ <xsl:apply-templates select="workorder_data"/>
+ <table width="50%" cellpadding="2" cellspacing="2"
align="center">
+ <xsl:variable name="add_action"><xsl:value-of
select="add_action"/></xsl:variable>
+ <xsl:variable name="lang_add"><xsl:value-of
select="lang_add"/></xsl:variable>
+ <form method="post" action="{$add_action}">
+ <tr height="50">
+ <td>
+ <xsl:value-of select="lang_name"/>
+ </td>
+ <td>
+ <input type="text" name="name"
value="{value_name}" onMouseout="window.status='';return true;">
+ <xsl:attribute
name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+ <xsl:value-of
select="lang_name_statustext"/>
+ <xsl:text>'; return
true;</xsl:text>
+ </xsl:attribute>
+ </input>
+ </td>
+ </tr >
+
+ <tr height="50">
+ <td>
+ </td>
+ <td>
+ <input type="submit" class="forms"
name="add" value="{$lang_add}" onMouseout="window.status='';return true;">
+ <xsl:attribute
name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+ <xsl:value-of
select="lang_add_statustext"/>
+ <xsl:text>'; return
true;</xsl:text>
+ </xsl:attribute>
+ </input>
+
+ </td>
+ </tr >
+ </form>
+ <tr height="50">
+ <td>
+ </td>
+ <td>
+
+ <xsl:variable
name="done_action"><xsl:value-of select="done_action"/></xsl:variable>
+ <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>
+ </td>
+ </tr>
+ </table>
+ </xsl:template>
+
<xsl:template match="list_hour">
***************
*** 211,214 ****
--- 273,278 ----
<td>
</td>
+ <td>
+ </td>
<td class="th_text" align="right">
<xsl:value-of
select="value_sum_calculation"/>
***************
*** 227,230 ****
--- 291,296 ----
<td>
</td>
+ <td>
+ </td>
<td class="th_text" align="right">
<xsl:value-of
select="value_addition_rs"/>
***************
*** 243,246 ****
--- 309,314 ----
<td>
</td>
+ <td>
+ </td>
<td class="th_text" align="right">
<xsl:value-of
select="value_addition_percentage"/>
***************
*** 259,262 ****
--- 327,332 ----
<td>
</td>
+ <td>
+ </td>
<td class="th_text" align="right">
<xsl:value-of select="value_sum_tax"/>
***************
*** 275,278 ****
--- 345,350 ----
<td>
</td>
+ <td>
+ </td>
<td class="th_text" align="right">
<xsl:value-of select="value_total_sum"/>
***************
*** 394,401 ****
<xsl:variable name="sort_quantity"><xsl:value-of
select="sort_quantity"/></xsl:variable>
<tr class="th">
! <td class="th_text" width="15%" align="right">
! <xsl:value-of
select="lang_activity_num"/>
</td>
! <td class="th_text" width="40%" align="right">
<xsl:value-of select="lang_descr"/>
</td>
--- 466,476 ----
<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>
***************
*** 403,414 ****
<xsl:value-of select="lang_unit"/>
</td>
- <td class="th_text" width="5%" align="right">
- <xsl:value-of select="lang_billperea"/>
- </td>
-
<td class="th_text" width="2%" align="right">
<xsl:value-of select="lang_quantity"/>
</td>
! <td class="th_text" width="10%" align="right">
<xsl:value-of select="lang_cost"/>
</td>
--- 478,488 ----
<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_billperea"/>
! </td>
! <td class="th_text" width="15%" align="right">
<xsl:value-of select="lang_cost"/>
</td>
***************
*** 445,452 ****
<td align="right">
! <xsl:value-of select="activity_num"/>
</td>
<td align="left">
<xsl:value-of select="hours_descr"/>
</td>
<td align="left">
--- 519,531 ----
<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="hours_descr"/>
+ <br/>
+ <xsl:value-of select="remark"/>
</td>
<td align="left">
***************
*** 454,461 ****
</td>
<td align="right">
! <xsl:value-of select="billperae"/>
</td>
<td align="right">
! <xsl:value-of select="quantity"/>
</td>
<td align="right">
--- 533,540 ----
</td>
<td align="right">
! <xsl:value-of select="quantity"/>
</td>
<td align="right">
! <xsl:value-of select="billperae"/>
</td>
<td align="right">
***************
*** 463,471 ****
</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>
</td>
<td align="center">
! <xsl:variable
name="link_edit"><xsl:value-of select="link_edit"/></xsl:variable>
<a href="{$link_edit}"
onMouseover="window.status='{$lang_edit_statustext}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="text_edit"/></a>
</td>
--- 542,550 ----
</td>
<td align="center">
! <xsl:variable
name="link_view"><xsl:value-of select="link_view"/>&from=<xsl:value-of
select="//function"/></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>
</td>
<td align="center">
! <xsl:variable
name="link_edit"><xsl:value-of select="link_edit"/>&from=<xsl:value-of
select="//function"/></xsl:variable>
<a href="{$link_edit}"
onMouseover="window.status='{$lang_edit_statustext}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="text_edit"/></a>
</td>
***************
*** 519,522 ****
--- 598,614 ----
</form>
</td>
+ <td height="50">
+ <xsl:variable
name="save_template_action"><xsl:value-of
select="save_template_action"/></xsl:variable>
+ <xsl:variable
name="lang_save_template"><xsl:value-of
select="lang_save_template"/></xsl:variable>
+ <form method="post"
action="{$save_template_action}">
+ <input type="submit"
name="save_template" value="{$lang_save_template}"
onMouseout="window.status='';return true;">
+ <xsl:attribute
name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+
<xsl:value-of select="lang_save_template_statustext"/>
+ <xsl:text>';
return true;</xsl:text>
+ </xsl:attribute>
+ </input>
+ </form>
+ </td>
</tr>
</table>
***************
*** 575,578 ****
--- 667,689 ----
<xsl:choose>
<xsl:when test="value_hour_id !=''">
+ <xsl:choose>
+ <xsl:when
test="value_activity_id =''">
+ <tr>
+ <td>
+
<xsl:value-of select="lang_copy_hour"/>
+ </td>
+ <td>
+ <input
type="checkbox" name="values[copy_hour]" value="True"
onMouseout="window.status='';return true;">
+
<xsl:attribute name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+
<xsl:value-of select="lang_copy_hour_statustext"/>
+
<xsl:text>'; return true;</xsl:text>
+
</xsl:attribute>
+ </input>
+ </td>
+ </tr>
+ </xsl:when>
+ </xsl:choose>
+
<tr>
<td valign="top">
***************
*** 586,590 ****
</xsl:choose>
<xsl:choose>
! <xsl:when test="value_activity_id >0">
<tr>
<td valign="top">
--- 697,701 ----
</xsl:choose>
<xsl:choose>
! <xsl:when test="value_activity_id !=''">
<tr>
<td valign="top">
***************
*** 620,624 ****
</tr>
<xsl:choose>
! <xsl:when test="value_activity_id=0">
<tr>
<td valign="top">
--- 731,735 ----
</tr>
<xsl:choose>
! <xsl:when test="value_activity_id=''">
<tr>
<td valign="top">
***************
*** 663,667 ****
<xsl:choose>
! <xsl:when test="value_activity_id >0">
<tr>
<td valign="top">
--- 774,778 ----
<xsl:choose>
! <xsl:when test="value_activity_id !=''">
<tr>
<td valign="top">
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: property/templates/default wo_hour.xsl,1.1,1.2,
Sigurd Nes <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: property/inc class.bowo_hour.inc.php,1.2,1.3 class.sowo_hour.inc.php,1.2,1.3 class.uiwo_hour.inc.php,1.2,1.3
- Next by Date:
[Phpgroupware-cvs] CVS: property/inc/pdf/fonts - New directory
- Previous by thread:
[Phpgroupware-cvs] CVS: property/inc class.bowo_hour.inc.php,1.2,1.3 class.sowo_hour.inc.php,1.2,1.3 class.uiwo_hour.inc.php,1.2,1.3
- Next by thread:
[Phpgroupware-cvs] CVS: property/inc/pdf/fonts - New directory
- Index(es):