phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: property/templates/default chapter_filter.xsl,N


From: Sigurd Nes <address@hidden>
Subject: [Phpgroupware-cvs] CVS: property/templates/default chapter_filter.xsl,NONE,1.1 invoice.xsl,1.18,1.19 menu.xsl,1.4,1.5 nextmatchs.xsl,1.3,1.4 wo_hour.xsl,1.3,1.4 workorder.xsl,1.7,1.8
Date: Mon, 31 Mar 2003 16:14:16 -0500

Update of /cvsroot/phpgroupware/property/templates/default
In directory subversions:/tmp/cvs-serv26104/templates/default

Modified Files:
        invoice.xsl menu.xsl nextmatchs.xsl wo_hour.xsl workorder.xsl 
Added Files:
        chapter_filter.xsl 
Log Message:
no message

***** Error reading new file: [Errno 2] No such file or directory: 
'chapter_filter.xsl'
Index: invoice.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/invoice.xsl,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** invoice.xsl 8 Mar 2003 22:24:27 -0000       1.18
--- invoice.xsl 31 Mar 2003 21:14:13 -0000      1.19
***************
*** 607,611 ****
                                                <xsl:attribute 
name="onMouseover">
                                                        
<xsl:text>window.status='</xsl:text>
!                                                               <xsl:value-of 
select="lang_abid_statustext"/>
                                                        <xsl:text>'; return 
true;</xsl:text>
                                                </xsl:attribute>
--- 607,611 ----
                                                <xsl:attribute 
name="onMouseover">
                                                        
<xsl:text>window.status='</xsl:text>
!                                                               <xsl:value-of 
select="lang_vendor_statustext"/>
                                                        <xsl:text>'; return 
true;</xsl:text>
                                                </xsl:attribute>
***************
*** 902,906 ****
                                                <xsl:attribute 
name="onMouseover">
                                                        
<xsl:text>window.status='</xsl:text>
!                                                               <xsl:value-of 
select="lang_abid_statustext"/>
                                                        <xsl:text>'; return 
true;</xsl:text>
                                                </xsl:attribute>
--- 902,906 ----
                                                <xsl:attribute 
name="onMouseover">
                                                        
<xsl:text>window.status='</xsl:text>
!                                                               <xsl:value-of 
select="lang_vendor_statustext"/>
                                                        <xsl:text>'; return 
true;</xsl:text>
                                                </xsl:attribute>
***************
*** 1101,1109 ****
  
        <xsl:template match="debug">
! 
                <table width="50%" cellpadding="2" cellspacing="2" 
align="center">
  
                        <tr>
!                               <td>
                                        <xsl:value-of select="lang_bilagsnr"/>
                                </td>
--- 1101,1109 ----
  
        <xsl:template match="debug">
!               <div align="left">
                <table width="50%" cellpadding="2" cellspacing="2" 
align="center">
  
                        <tr>
!                               <td class="th_text">
                                        <xsl:value-of select="lang_bilagsnr"/>
                                </td>
***************
*** 1113,1117 ****
                        </tr>
                        <tr>
!                               <td>
                                        <xsl:value-of select="lang_type"/>
                                </td>
--- 1113,1117 ----
                        </tr>
                        <tr>
!                               <td class="th_text">
                                        <xsl:value-of select="lang_type"/>
                                </td>
***************
*** 1121,1125 ****
                        </tr>
                        <tr>
!                               <td>
                                        <xsl:value-of 
select="lang_spvend_code"/>
                                </td>
--- 1121,1125 ----
                        </tr>
                        <tr>
!                               <td class="th_text">
                                        <xsl:value-of 
select="lang_spvend_code"/>
                                </td>
***************
*** 1129,1133 ****
                        </tr>
                        <tr>
!                               <td>
                                        <xsl:value-of 
select="lang_fakturadato"/>
                                </td>
--- 1129,1133 ----
                        </tr>
                        <tr>
!                               <td class="th_text">
                                        <xsl:value-of 
select="lang_fakturadato"/>
                                </td>
***************
*** 1137,1141 ****
                        </tr>
                        <tr>
!                               <td>
                                        <xsl:value-of 
select="lang_forfallsdato"/>
                                </td>
--- 1137,1141 ----
                        </tr>
                        <tr>
!                               <td class="th_text">
                                        <xsl:value-of 
select="lang_forfallsdato"/>
                                </td>
***************
*** 1145,1149 ****
                        </tr>
                        <tr>
!                               <td>
                                        <xsl:value-of select="lang_janitor"/>
                                </td>
--- 1145,1149 ----
                        </tr>
                        <tr>
!                               <td class="th_text">
                                        <xsl:value-of select="lang_janitor"/>
                                </td>
***************
*** 1153,1157 ****
                        </tr>
                        <tr>
!                               <td>
                                        <xsl:value-of select="lang_supervisor"/>
                                </td>
--- 1153,1157 ----
                        </tr>
                        <tr>
!                               <td class="th_text">
                                        <xsl:value-of select="lang_supervisor"/>
                                </td>
***************
*** 1161,1165 ****
                        </tr>
                        <tr>
!                               <td>
                                        <xsl:value-of 
select="lang_budget_responsible"/>
                                </td>
--- 1161,1165 ----
                        </tr>
                        <tr>
!                               <td class="th_text">
                                        <xsl:value-of 
select="lang_budget_responsible"/>
                                </td>
***************
*** 1169,1173 ****
                        </tr>
                        <tr>
!                               <td>
                                        <xsl:value-of select="lang_sum"/>
                                </td>
--- 1169,1173 ----
                        </tr>
                        <tr>
!                               <td class="th_text">
                                        <xsl:value-of select="lang_sum"/>
                                </td>
***************
*** 1179,1182 ****
--- 1179,1183 ----
  
                </table>
+               </div>
                <table width="100%" cellpadding="2" cellspacing="2" 
align="center">
                        <tr class="th">
***************
*** 1237,1255 ****
                                        <xsl:value-of select="field_5"/>
                                </td>
!                               <td align="center">
!                                       <xsl:value-of select="field_6"/>
!                               </td>
!                               <td align="center">
!                                       <xsl:value-of select="field_7"/>
!                               </td>
!                               <td align="center">
!                                       <xsl:value-of select="field_8"/>
!                               </td>
!                               <td align="center">
!                                       <xsl:value-of select="field_9"/>
!                               </td>
!                               <td align="center">
!                                       <xsl:value-of select="field_10"/>
!                               </td>
                        </tr>
        </xsl:template>
--- 1238,1276 ----
                                        <xsl:value-of select="field_5"/>
                                </td>
!                               <xsl:choose>
!                                       <xsl:when test="field_6!=''">
!                                               <td align="right">
!                                                       <xsl:value-of 
select="field_6"/>
!                                               </td>
!                                       </xsl:when>
!                               </xsl:choose>
!                               <xsl:choose>
!                                       <xsl:when test="field_7!=''">
!                                               <td align="center">
!                                                       <xsl:value-of 
select="field_7"/>
!                                               </td>
!                                       </xsl:when>
!                               </xsl:choose>
!                               <xsl:choose>
!                                       <xsl:when test="field_8!=''">
!                                               <td align="center">
!                                                       <xsl:value-of 
select="field_8"/>
!                                               </td>
!                                       </xsl:when>
!                               </xsl:choose>
!                               <xsl:choose>
!                                       <xsl:when test="field_9!=''">
!                                               <td align="center">
!                                                       <xsl:value-of 
select="field_9"/>
!                                               </td>
!                                       </xsl:when>
!                               </xsl:choose>
!                               <xsl:choose>
!                                       <xsl:when test="field_10!=''">
!                                               <td align="center">
!                                                       <xsl:value-of 
select="field_10"/>
!                                               </td>
!                                       </xsl:when>
!                               </xsl:choose>
                        </tr>
        </xsl:template>
***************
*** 1584,1591 ****
                                </td>
                                <td>
!                                       <input type="text" name="vendor_id" 
value="{value_abid}" size="4"  onMouseout="window.status='';return true;">
                                                <xsl:attribute 
name="onMouseover">
                                                        
<xsl:text>window.status='</xsl:text>
!                                                               <xsl:value-of 
select="lang_abid_statustext"/>
                                                        <xsl:text>'; return 
true;</xsl:text>
                                                </xsl:attribute>
--- 1605,1612 ----
                                </td>
                                <td>
!                                       <input type="text" name="vendor_id" 
value="{value_vendor_id}" size="4"  onMouseout="window.status='';return true;">
                                                <xsl:attribute 
name="onMouseover">
                                                        
<xsl:text>window.status='</xsl:text>
!                                                               <xsl:value-of 
select="lang_vendor_statustext"/>
                                                        <xsl:text>'; return 
true;</xsl:text>
                                                </xsl:attribute>

Index: menu.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/menu.xsl,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** menu.xsl    28 Feb 2003 19:39:00 -0000      1.4
--- menu.xsl    31 Mar 2003 21:14:13 -0000      1.5
***************
*** 42,67 ****
                                        <xsl:variable 
name="link_property"><xsl:value-of select="link_property"/></xsl:variable>
                                        <a href="{$link_property}" 
onMouseover="window.status='{$lang_property}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="lang_property"/></a>
!                               </td>
!                               <td align="left">
                                        <xsl:variable 
name="link_equipment"><xsl:value-of select="link_equipment"/></xsl:variable>
                                        <a href="{$link_equipment}" 
onMouseover="window.status='{$lang_equipment}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="lang_equipment"/></a>
!                               </td>
!                               <td align="left">
                                        <xsl:variable 
name="link_workorder"><xsl:value-of select="link_workorder"/></xsl:variable>
                                        <a href="{$link_workorder}" 
onMouseover="window.status='{$lang_workorder}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="lang_workorder"/></a>
!                               </td>
!                               <td align="left">
                                        <xsl:variable 
name="link_helpdesk"><xsl:value-of select="link_helpdesk"/></xsl:variable>
                                        <a href="{$link_helpdesk}" 
onMouseover="window.status='{$lang_helpdesk}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="lang_helpdesk"/></a>
!                               </td>
!                               <td align="left">
                                        <xsl:variable 
name="link_invoice"><xsl:value-of select="link_invoice"/></xsl:variable>
                                        <a href="{$link_invoice}" 
onMouseover="window.status='{$lang_invoice}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="lang_invoice"/></a>
!                               </td>
!                               <td align="left">
                                        <xsl:variable 
name="link_pricebook"><xsl:value-of select="link_pricebook"/></xsl:variable>
                                        <a href="{$link_pricebook}" 
onMouseover="window.status='{$lang_pricebook}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="lang_pricebook"/></a>
!                               </td>
!                               <td align="left">
                                        <xsl:variable 
name="link_documentation"><xsl:value-of 
select="link_documentation"/></xsl:variable>
                                        <a href="{$link_documentation}" 
onMouseover="window.status='{$lang_documentation}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="lang_documentation"/></a>
--- 42,63 ----
                                        <xsl:variable 
name="link_property"><xsl:value-of select="link_property"/></xsl:variable>
                                        <a href="{$link_property}" 
onMouseover="window.status='{$lang_property}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="lang_property"/></a>
! 
!                               <xsl:text>  </xsl:text>
!                                       
                                        <xsl:variable 
name="link_equipment"><xsl:value-of select="link_equipment"/></xsl:variable>
                                        <a href="{$link_equipment}" 
onMouseover="window.status='{$lang_equipment}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="lang_equipment"/></a>
!                               <xsl:text>  </xsl:text>
                                        <xsl:variable 
name="link_workorder"><xsl:value-of select="link_workorder"/></xsl:variable>
                                        <a href="{$link_workorder}" 
onMouseover="window.status='{$lang_workorder}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="lang_workorder"/></a>
!                               <xsl:text>  </xsl:text>
                                        <xsl:variable 
name="link_helpdesk"><xsl:value-of select="link_helpdesk"/></xsl:variable>
                                        <a href="{$link_helpdesk}" 
onMouseover="window.status='{$lang_helpdesk}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="lang_helpdesk"/></a>
!                               <xsl:text>  </xsl:text>
                                        <xsl:variable 
name="link_invoice"><xsl:value-of select="link_invoice"/></xsl:variable>
                                        <a href="{$link_invoice}" 
onMouseover="window.status='{$lang_invoice}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="lang_invoice"/></a>
!                               <xsl:text>  </xsl:text>
                                        <xsl:variable 
name="link_pricebook"><xsl:value-of select="link_pricebook"/></xsl:variable>
                                        <a href="{$link_pricebook}" 
onMouseover="window.status='{$lang_pricebook}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="lang_pricebook"/></a>
!                               <xsl:text>  </xsl:text>
                                        <xsl:variable 
name="link_documentation"><xsl:value-of 
select="link_documentation"/></xsl:variable>
                                        <a href="{$link_documentation}" 
onMouseover="window.status='{$lang_documentation}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="lang_documentation"/></a>
***************
*** 85,91 ****
                                        <xsl:variable 
name="sub_vendor_activities"><xsl:value-of 
select="sub_vendor_activities"/></xsl:variable>
                                        <a href="{$sub_vendor_activities}" 
onMouseover="window.status='{$sublang_vendor_activities}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="sublang_vendor_activities"/></a>
!                               </td>
! 
!                               <td align="left">
                                        <xsl:variable 
name="sublink_building"><xsl:value-of select="sublink_building"/></xsl:variable>
                                        <a href="{$sublink_building}" 
onMouseover="window.status='{$sublang_building}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="sublang_building"/></a>
--- 81,85 ----
                                        <xsl:variable 
name="sub_vendor_activities"><xsl:value-of 
select="sub_vendor_activities"/></xsl:variable>
                                        <a href="{$sub_vendor_activities}" 
onMouseover="window.status='{$sublang_vendor_activities}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="sublang_vendor_activities"/></a>
!                               <xsl:text>  </xsl:text>
                                        <xsl:variable 
name="sublink_building"><xsl:value-of select="sublink_building"/></xsl:variable>
                                        <a href="{$sublink_building}" 
onMouseover="window.status='{$sublang_building}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="sublang_building"/></a>
***************
*** 102,108 ****
                                        <xsl:variable 
name="sub_activities_list"><xsl:value-of 
select="sub_activities_list"/></xsl:variable>
                                        <a href="{$sub_activities_list}" 
onMouseover="window.status='{$sublang_activities_list}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="sublang_activities_list"/></a>
!                               </td>
! 
!                               <td align="left">
                                        <xsl:variable 
name="sublink_entrance"><xsl:value-of select="sublink_entrance"/></xsl:variable>
                                        <a href="{$sublink_entrance}" 
onMouseover="window.status='{$sublang_entrance}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="sublang_entrance"/></a>
--- 96,100 ----
                                        <xsl:variable 
name="sub_activities_list"><xsl:value-of 
select="sub_activities_list"/></xsl:variable>
                                        <a href="{$sub_activities_list}" 
onMouseover="window.status='{$sublang_activities_list}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="sublang_activities_list"/></a>
!                               <xsl:text>  </xsl:text>
                                        <xsl:variable 
name="sublink_entrance"><xsl:value-of select="sublink_entrance"/></xsl:variable>
                                        <a href="{$sublink_entrance}" 
onMouseover="window.status='{$sublang_entrance}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="sublang_entrance"/></a>
***************
*** 116,124 ****
                                        <xsl:variable 
name="sub_list_agreement"><xsl:value-of 
select="sub_list_agreement"/></xsl:variable>
                                        <a href="{$sub_list_agreement}" 
onMouseover="window.status='{$sublang_agreement}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="sublang_agreement"/></a>
!                                       
!                               </td>
! 
! 
!                               <td align="left">
                                        <xsl:variable 
name="sublink_apartment"><xsl:value-of 
select="sublink_apartment"/></xsl:variable>
                                        <a href="{$sublink_apartment}" 
onMouseover="window.status='{$sublang_apartment}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="sublang_apartment"/></a>
--- 108,112 ----
                                        <xsl:variable 
name="sub_list_agreement"><xsl:value-of 
select="sub_list_agreement"/></xsl:variable>
                                        <a href="{$sub_list_agreement}" 
onMouseover="window.status='{$sublang_agreement}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="sublang_agreement"/></a>
!                               <xsl:text>  </xsl:text>
                                        <xsl:variable 
name="sublink_apartment"><xsl:value-of 
select="sublink_apartment"/></xsl:variable>
                                        <a href="{$sublink_apartment}" 
onMouseover="window.status='{$sublang_apartment}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="sublang_apartment"/></a>
***************
*** 129,135 ****
                                        <xsl:variable 
name="sub_invoice_consume"><xsl:value-of 
select="sub_invoice_consume"/></xsl:variable>
                                        <a href="{$sub_invoice_consume}" 
onMouseover="window.status='{$sublang_invoice_consume}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="sublang_invoice_consume"/></a>
!                               </td>
! 
!                               <td align="left">
                                        <xsl:variable 
name="sublink_drawing"><xsl:value-of select="sublink_drawing"/></xsl:variable>
                                        <a href="{$sublink_drawing}" 
onMouseover="window.status='{$sublang_drawing}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="sublang_drawing"/></a>
--- 117,121 ----
                                        <xsl:variable 
name="sub_invoice_consume"><xsl:value-of 
select="sub_invoice_consume"/></xsl:variable>
                                        <a href="{$sub_invoice_consume}" 
onMouseover="window.status='{$sublang_invoice_consume}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="sublang_invoice_consume"/></a>
!                               <xsl:text>  </xsl:text>
                                        <xsl:variable 
name="sublink_drawing"><xsl:value-of select="sublink_drawing"/></xsl:variable>
                                        <a href="{$sublink_drawing}" 
onMouseover="window.status='{$sublang_drawing}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="sublang_drawing"/></a>
***************
*** 140,146 ****
                                        <xsl:variable 
name="sub_invoice_investment_value"><xsl:value-of 
select="sub_invoice_investment_value"/></xsl:variable>
                                        <a 
href="{$sub_invoice_investment_value}" 
onMouseover="window.status='{$sublang_invoice_investment_value}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="sublang_invoice_investment_value"/></a>
!                               </td>
! 
!                               <td align="left">
                                        <xsl:variable 
name="sublink_gabnr"><xsl:value-of select="sublink_gabnr"/></xsl:variable>
                                        <a href="{$sublink_gabnr}" 
onMouseover="window.status='{$sublang_gabnr}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="sublang_gabnr"/></a>
--- 126,130 ----
                                        <xsl:variable 
name="sub_invoice_investment_value"><xsl:value-of 
select="sub_invoice_investment_value"/></xsl:variable>
                                        <a 
href="{$sub_invoice_investment_value}" 
onMouseover="window.status='{$sublang_invoice_investment_value}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="sublang_invoice_investment_value"/></a>
!                               <xsl:text>  </xsl:text>
                                        <xsl:variable 
name="sublink_gabnr"><xsl:value-of select="sublink_gabnr"/></xsl:variable>
                                        <a href="{$sublink_gabnr}" 
onMouseover="window.status='{$sublang_gabnr}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="sublang_gabnr"/></a>
***************
*** 151,159 ****
                                        <xsl:variable 
name="sub_invoice_import"><xsl:value-of 
select="sub_invoice_import"/></xsl:variable>
                                        <a href="{$sub_invoice_import}" 
onMouseover="window.status='{$sublang_invoice_import}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="sublang_invoice_import"/></a>
!                               </td>
!                               <td align="left">
                                        <xsl:variable 
name="sub_invoice_export"><xsl:value-of 
select="sub_invoice_export"/></xsl:variable>
!                                       <a href="{$sub_invoice_export}" 
onMouseover="window.status='{$sublang_invoice_export}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="sublang_invoice_export"/></a>
!                                       
                                </td>
                        </tr>
--- 135,141 ----
                                        <xsl:variable 
name="sub_invoice_import"><xsl:value-of 
select="sub_invoice_import"/></xsl:variable>
                                        <a href="{$sub_invoice_import}" 
onMouseover="window.status='{$sublang_invoice_import}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="sublang_invoice_import"/></a>
!                               <xsl:text>  </xsl:text>
                                        <xsl:variable 
name="sub_invoice_export"><xsl:value-of 
select="sub_invoice_export"/></xsl:variable>
!                                       <a href="{$sub_invoice_export}" 
onMouseover="window.status='{$sublang_invoice_export}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="sublang_invoice_export"/></a>                                     
                                </td>
                        </tr>

Index: nextmatchs.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/nextmatchs.xsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** nextmatchs.xsl      27 Jan 2003 10:40:31 -0000      1.3
--- nextmatchs.xsl      31 Mar 2003 21:14:13 -0000      1.4
***************
*** 138,143 ****
                                                <xsl:variable 
name="all"><xsl:value-of select="link_url"/>&amp;start=0</xsl:variable>
                                                        <td width="25" 
align="right">
!                                                                               
                <xsl:value-of select="lang_delete"/>
! 
                                                                <a 
href="{$all}"><img src="{$img_path}/down.gif" border="2" width="12" 
height="12"/></a>
                                                        </td>
--- 138,142 ----
                                                <xsl:variable 
name="all"><xsl:value-of select="link_url"/>&amp;start=0</xsl:variable>
                                                        <td width="25" 
align="right">
!                                                               <xsl:value-of 
select="lang_delete"/>
                                                                <a 
href="{$all}"><img src="{$img_path}/down.gif" border="2" width="12" 
height="12"/></a>
                                                        </td>

Index: wo_hour.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/wo_hour.xsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** wo_hour.xsl 29 Mar 2003 18:03:26 -0000      1.3
--- wo_hour.xsl 31 Mar 2003 21:14:13 -0000      1.4
***************
*** 6,12 ****
                                <xsl:apply-templates select="edit_hour"/>
                        </xsl:when>
-                       <xsl:when test="add">
-                               <xsl:apply-templates select="add"/>
-                       </xsl:when>
                        <xsl:when test="list_template">
                                <xsl:apply-templates select="list_template"/>
--- 6,9 ----
***************
*** 30,80 ****
        </xsl:template>
        
-       <xsl:template match="add">
-               <xsl:call-template name="app_header"/>
-               <xsl:call-template name="menu"/> 
-               <table width="50%"  cellpadding="2" cellspacing="2" 
align="center">
- 
-                       <tr height="50">
-                               <td>
-                                       <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}">
-                                       <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>
-                                       </form>
- 
-                                       <xsl:variable 
name="search_action"><xsl:value-of select="search_action"/></xsl:variable>
-                                       <xsl:variable 
name="lang_search"><xsl:value-of select="lang_search"/></xsl:variable>
-                                       <form method="post" 
action="{$search_action}">
-                                       <input type="submit" class="forms" 
name="search" value="{$lang_search}" onMouseout="window.status='';return true;">
-                                               <xsl:attribute 
name="onMouseover">
-                                                       
<xsl:text>window.status='</xsl:text>
-                                                               <xsl:value-of 
select="lang_search_statustext"/>
-                                                       <xsl:text>'; return 
true;</xsl:text>
-                                               </xsl:attribute>
-                                       </input>
-                                       </form>
-                                       
-                                       <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="add_template">
                <div align="left">
--- 27,30 ----
***************
*** 97,101 ****
                        </xsl:for-each>
                </table>
-               <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>
--- 47,50 ----
***************
*** 165,170 ****
--- 114,129 ----
                        </tr>
                </table>
+               <xsl:apply-templates select="workorder_data"/>
                <table width="100%" cellpadding="2" cellspacing="2" 
align="center">
                <hr noshade="noshade" width="100%" align="center" size="1"/>
+                       <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_hour"/>
                        <xsl:apply-templates select="values_hour"/>
***************
*** 195,198 ****
--- 154,166 ----
                <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_hour"/>
                        <xsl:apply-templates select="values_hour"/>
***************
*** 205,225 ****
                <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">
--- 173,176 ----
***************
*** 246,254 ****
                                </xsl:choose>   
                        </table>
!                       <table width="100%" cellpadding="2" cellspacing="2" 
align="center">
!                       <hr noshade="noshade" width="100%" align="center" 
size="1"/>
!                               <xsl:apply-templates select="table_sum"/>
!                               <xsl:apply-templates select="table_done"/>
!                       </table>
        </xsl:template>
  
--- 197,201 ----
                                </xsl:choose>   
                        </table>
!                       <xsl:apply-templates select="table_done"/>
        </xsl:template>
  
***************
*** 415,418 ****
--- 362,374 ----
                <table width="100%" cellpadding="2" cellspacing="2" 
align="center">
                <hr noshade="noshade" width="100%" align="center" size="1"/>
+                       <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_hour"/>
                        <xsl:apply-templates select="values_hour"/>
***************
*** 455,458 ****
--- 411,423 ----
                <xsl:variable name="lang_edit_statustext"><xsl:value-of 
select="lang_edit_statustext"/></xsl:variable>
                <xsl:variable name="lang_prizing_statustext"><xsl:value-of 
select="lang_prizing_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">
***************
*** 587,590 ****
--- 552,564 ----
                <table width="100%" cellpadding="2" cellspacing="2" 
align="center">
                <hr noshade="noshade" width="100%" align="center" size="1"/>
+                       <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_hour"/>
                        <xsl:apply-templates select="values_hour"/>
***************
*** 829,834 ****
        </xsl:template>
  
- 
- 
        <xsl:template match="table_header_hour">
                <xsl:variable name="sort_activity_num"><xsl:value-of 
select="sort_activity_num"/></xsl:variable>
--- 803,806 ----
***************
*** 858,864 ****
                                </td>
                                <td class="th_text" width="5%" align="center">
-                                       <xsl:value-of select="lang_view"/>
-                               </td>
-                               <td class="th_text" width="5%" align="center">
                                        <xsl:value-of select="lang_edit"/>
                                </td>
--- 830,833 ----
***************
*** 873,876 ****
--- 842,854 ----
                <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">
***************
*** 912,924 ****
                                </td>
                                <td align="center">
!                                       <xsl:variable 
name="link_view"><xsl:value-of select="link_view"/>&amp;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"/>&amp;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>
                                <td align="center">
!                                       <xsl:variable 
name="link_delete"><xsl:value-of 
select="//link_delete"/>&amp;hour_id=<xsl:value-of 
select="hour_id"/></xsl:variable>
                                        <a href="{$link_delete}" 
onMouseover="window.status='{$lang_delete_statustext}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="text_delete"/></a>
                                </td>
--- 890,898 ----
                                </td>
                                <td align="center">
!                                       <xsl:variable 
name="link_edit"><xsl:value-of select="link_edit"/>&amp;from=<xsl:value-of 
select="//function"/>&amp;template_id=<xsl:value-of 
select="//template_id"/></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>
                                <td align="center">
!                                       <xsl:variable 
name="link_delete"><xsl:value-of 
select="//link_delete"/>&amp;hour_id=<xsl:value-of 
select="hour_id"/>&amp;template_id=<xsl:value-of 
select="//template_id"/></xsl:variable>
                                        <a href="{$link_delete}" 
onMouseover="window.status='{$lang_delete_statustext}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="text_delete"/></a>
                                </td>
***************
*** 929,933 ****
                <table width="80%" >
                        <tr>
!                               <td height="50">
                                        <xsl:variable 
name="add_prizebook_action"><xsl:value-of 
select="add_prizebook_action"/></xsl:variable>
                                        <xsl:variable 
name="lang_add_prizebook"><xsl:value-of 
select="lang_add_prizebook"/></xsl:variable>
--- 903,907 ----
                <table width="80%" >
                        <tr>
!                               <td align="left" height="50">
                                        <xsl:variable 
name="add_prizebook_action"><xsl:value-of 
select="add_prizebook_action"/></xsl:variable>
                                        <xsl:variable 
name="lang_add_prizebook"><xsl:value-of 
select="lang_add_prizebook"/></xsl:variable>
***************
*** 942,946 ****
                                        </form>
                                </td>
!                               <td height="50">
                                        <xsl:variable 
name="add_template_action"><xsl:value-of 
select="add_template_action"/></xsl:variable>
                                        <xsl:variable 
name="lang_add_template"><xsl:value-of 
select="lang_add_template"/></xsl:variable>
--- 916,920 ----
                                        </form>
                                </td>
!                               <td align="left" height="50">
                                        <xsl:variable 
name="add_template_action"><xsl:value-of 
select="add_template_action"/></xsl:variable>
                                        <xsl:variable 
name="lang_add_template"><xsl:value-of 
select="lang_add_template"/></xsl:variable>
***************
*** 955,959 ****
                                        </form>
                                </td>
!                               <td height="50">
                                        <xsl:variable 
name="add_custom_action"><xsl:value-of 
select="add_custom_action"/></xsl:variable>
                                        <xsl:variable 
name="lang_add_custom"><xsl:value-of select="lang_add_custom"/></xsl:variable>
--- 929,933 ----
                                        </form>
                                </td>
!                               <td align="left" height="50">
                                        <xsl:variable 
name="add_custom_action"><xsl:value-of 
select="add_custom_action"/></xsl:variable>
                                        <xsl:variable 
name="lang_add_custom"><xsl:value-of select="lang_add_custom"/></xsl:variable>
***************
*** 968,972 ****
                                        </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>
--- 942,946 ----
                                        </form>
                                </td>
!                               <td align="left" 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>
***************
*** 982,985 ****
--- 956,1010 ----
                                </td>
                        </tr>
+                       <tr>
+                       <xsl:variable name="print_view_action"><xsl:value-of 
select="print_view_action"/></xsl:variable>
+                       <xsl:variable name="lang_print_view"><xsl:value-of 
select="lang_print_view"/></xsl:variable>
+                       <form method="post" action="{$print_view_action}">
+                               <td align="left" height="50">
+                                               <input type="submit" 
name="print_view" value="{$lang_print_view}" 
onMouseout="window.status='';return true;">
+                                                       <xsl:attribute 
name="onMouseover">
+                                                               
<xsl:text>window.status='</xsl:text>
+                                                                       
<xsl:value-of select="lang_print_view_statustext"/>
+                                                               <xsl:text>'; 
return true;</xsl:text>
+                                                       </xsl:attribute>
+                                               </input>
+                               </td>
+                               <td>
+                                       <xsl:value-of select="lang_show_cost"/>
+                                       <input type="checkbox" name="show_cost" 
value="True"  onMouseout="window.status='';return true;">
+                                               <xsl:attribute 
name="onMouseover">
+                                                       
<xsl:text>window.status='</xsl:text>
+                                                               <xsl:value-of 
select="lang_show_cost_statustext"/>
+                                                       <xsl:text>'; return 
true;</xsl:text>
+                                               </xsl:attribute>
+                                       </input>
+                               </td>
+                               </form>
+                       </tr>
+                       <tr>
+                       <xsl:variable name="view_tender_action"><xsl:value-of 
select="view_tender_action"/></xsl:variable>
+                       <xsl:variable name="lang_view_tender"><xsl:value-of 
select="lang_view_tender"/></xsl:variable>
+                       <form method="post" action="{$view_tender_action}">
+                               <td align="left" height="50">
+                                               <input type="submit" 
name="view_tender" value="{$lang_view_tender}"  
onMouseout="window.status='';return true;">
+                                                       <xsl:attribute 
name="onMouseover">
+                                                               
<xsl:text>window.status='</xsl:text>
+                                                                       
<xsl:value-of select="lang_view_tender_statustext"/>
+                                                               <xsl:text>'; 
return true;</xsl:text>
+                                                       </xsl:attribute>
+                                               </input>
+                               </td>
+                               <td>
+                                       <xsl:value-of select="lang_show_cost"/>
+                                       <input type="checkbox" name="show_cost" 
value="True"  onMouseout="window.status='';return true;">
+                                               <xsl:attribute 
name="onMouseover">
+                                                       
<xsl:text>window.status='</xsl:text>
+                                                               <xsl:value-of 
select="lang_show_cost_statustext"/>
+                                                       <xsl:text>'; return 
true;</xsl:text>
+                                               </xsl:attribute>
+                                       </input>
+                               </td>
+                               </form>
+                       </tr>
+ 
                </table>
        </xsl:template>
***************
*** 1314,1749 ****
        </xsl:template>
  
- 
- 
- 
- 
- 
- 
-       <xsl:template match="key_fetch_list">
-       <xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
-               <xsl:choose>
-                       <xsl:when test="selected">
-                               <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
-                       </xsl:when>
-                       <xsl:otherwise>
-                               <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
-                       </xsl:otherwise>
-               </xsl:choose>
-       </xsl:template>
- 
- 
-       <xsl:template match="key_deliver_list">
-       <xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
-               <xsl:choose>
-                       <xsl:when test="selected">
-                               <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
-                       </xsl:when>
-                       <xsl:otherwise>
-                               <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
-                       </xsl:otherwise>
-               </xsl:choose>
-       </xsl:template>
- 
- 
-       <xsl:template match="table_header_history">
-                       <tr class="th">
-                               <td class="th_text" width="20%" align="left">
-                                       <xsl:value-of select="lang_date"/>
-                               </td>
-                               <td class="th_text" width="10%" align="left">
-                                       <xsl:value-of select="lang_user"/>
-                               </td>
-                               <td class="th_text" width="30%" align="left">
-                                       <xsl:value-of select="lang_action"/>
-                               </td>
-                               <td class="th_text" width="10%" align="left">
-                                       <xsl:value-of select="lang_new_value"/>
-                               </td>
-                       </tr>
-       </xsl:template>
- 
-       <xsl:template match="record_history">
-                       <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:value-of select="value_date"/>
-                               </td>
-                               <td align="left">
-                                       <xsl:value-of select="value_user"/>
-                               </td>
-                               <td align="left">
-                                       <xsl:value-of select="value_action"/>
-                               </td>
-                               <td align="left">
-                                       <xsl:value-of select="value_new_value"/>
-                               </td>
-                       </tr>
-       </xsl:template>
- 
-       <xsl:template match="table_header_workorder_budget">
-                       <tr class="th">
-                               <td class="th_text" width="4%" align="right">
-                                       <xsl:value-of 
select="lang_workorder_id"/>
-                               </td>
-                               <td class="th_text" width="10%" align="right">
-                                       <xsl:value-of select="lang_sum"/>
-                               </td>
-                       </tr>
-       </xsl:template>
- 
- 
  <!-- view -->
- 
-       <xsl:template match="view">
- 
-               <script language="JavaScript">
-                       var calDateFormat="<xsl:value-of select="dateformat"/>";
-               </script>
-               <xsl:variable name="calendar_source"><xsl:value-of 
select="calendar_source"/></xsl:variable>
-               <SCRIPT LANGUAGE="JavaScript" SRC="{$calendar_source}"></SCRIPT>
- 
-               <div align="left">
-               <xsl:call-template name="app_header"/>
-               <table cellpadding="2" cellspacing="2" width="80%" 
align="center">
-                       <xsl:choose>
-                               <xsl:when test="value_project_id!=''">
-                                       <tr>
-                                               <td>
-                                                       <xsl:value-of 
select="lang_project_id"/>
-                                               </td>
-                                               <td>
-                                                       <xsl:variable 
name="project_link"><xsl:value-of select="project_link"/>&amp;id=<xsl:value-of 
select="value_project_id"/></xsl:variable>
-                                                       <a 
href="{$project_link}"><xsl:value-of select="value_project_id"/></a>
-                                                       <input type="hidden" 
name="values[project_id]" value="{value_project_id}"></input>
-                                               </td>
-                                       </tr>
-                               </xsl:when>
-                               <xsl:otherwise>
-                               <tr>
-                                       <td valign="top">
-                                               <xsl:value-of 
select="lang_title"/>
-                                       </td>
-                                       <td>
-                                               <input type="text" 
name="values[project_id]" value="" onMouseout="window.status='';return true;">
-                                                       <xsl:attribute 
name="onMouseover">
-                                                               
<xsl:text>window.status='</xsl:text>
-                                                                       
<xsl:value-of select="lang_title_statustext"/>
-                                                               <xsl:text>'; 
return true;</xsl:text>
-                                                       </xsl:attribute>
-                                               </input>
-                                       </td>
-                       </tr>
-                               </xsl:otherwise>
-                       </xsl:choose>
-                       <tr>
-                               <td valign="top">
-                                       <xsl:value-of 
select="lang_project_name"/>
-                               </td>
-                               <td>
-                                       <xsl:value-of 
select="value_project_name"/>
-                               </td>
-                       </tr>
-                       <tr>
-                               <td>
-                                       <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:choose>
-                               <xsl:when test="location_type='form'">
-                                       <xsl:call-template 
name="location_form"/>
-                               </xsl:when>
-                               <xsl:otherwise>
-                                       <xsl:call-template 
name="location_view"/>
-                               </xsl:otherwise>
-                       </xsl:choose>
-                       <tr>
-                               <td valign="top">
-                                       <xsl:value-of 
select="lang_power_meter"/>
-                               </td>
-                               <td>
-                                       <xsl:value-of 
select="value_power_meter"/>
-                               </td>
-                       </tr>
-                       <tr>
-                               <td>
-                                       <xsl:value-of 
select="lang_coordinator"/>
-                               </td>
-                               <xsl:for-each select="user_list" >
-                                       <xsl:choose>
-                                               <xsl:when test="selected">
-                                                       <td>
-                                                               <xsl:value-of 
select="name"/>
-                                                       </td>
-                                               </xsl:when>
-                                       </xsl:choose>
-                               </xsl:for-each>
-                       </tr>
-                       <tr>
-                               <td valign="top">
-                                       <xsl:value-of select="lang_branch"/>
-                               </td>
-                               <td>
-                                       <xsl:for-each select="branch_list" >
-                                               <xsl:choose>
-                                                       <xsl:when 
test="selected">
-                                                               <xsl:value-of 
select="name"/>,
-                                                       </xsl:when>
-                                               </xsl:choose>
-                                       </xsl:for-each>
-                               </td>
-                       </tr>
-                       <tr>
-                               <td valign="top">
-                                       <xsl:value-of 
select="lang_other_branch"/>
-                               </td>
-                               <td>
-                                       <xsl:value-of 
select="value_other_branch"/>
-                               </td>
-                       </tr>
-                       <xsl:choose>
-                               <xsl:when test="value_workorder_id!=''">
-                                       <tr>
-                                               <td>
-                                                       <xsl:value-of 
select="lang_workorder_id"/>
-                                               </td>
-                                               <td>
-                                                       <xsl:value-of 
select="value_workorder_id"/>
-                                               </td>
-                                       </tr>   
-                                       <tr>
-                                               <td>
-                                                       <xsl:value-of 
select="lang_copy_workorder"/>
-                                               </td>
-                                               <td>
-                                                       <input type="checkbox" 
name="values[copy_workorder]" value="True"  onMouseout="window.status='';return 
true;">
-                                                               <xsl:attribute 
name="onMouseover">
-                                                                       
<xsl:text>window.status='</xsl:text>
-                                                                               
<xsl:value-of select="lang_copy_workorder_statustext"/>
-                                                                       
<xsl:text>'; return true;</xsl:text>
-                                                               </xsl:attribute>
-                                                       </input>
-                                               </td>
-                                       </tr>
-                               </xsl:when>
-                       </xsl:choose>
-                       <tr>
-                               <td>
-                                       <xsl:value-of 
select="lang_charge_tenant"/>
-                               </td>
-                               <td>
-                               <xsl:choose>
-                                       <xsl:when test="charge_tenant='1'">
-                                               X
-                                       </xsl:when>
-                               </xsl:choose>
-                               </td>
-                       </tr>
-                       <tr>
-                               <td valign="top">
-                                       <xsl:value-of select="lang_title"/>
-                               </td>
-                               <td>
-                                       <xsl:value-of select="value_title"/>
-                               </td>
-                       </tr>
-                       <tr>
-                               <td valign="top">
-                                       <xsl:value-of select="lang_descr"/>
-                               </td>
-                               <td>
-                                       <xsl:value-of select="value_descr"/>    
        
-                               </td>
-                       </tr>
-                       <tr>
-                               <td valign="top">
-                                       <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 valign="top">
-                                       <xsl:value-of select="lang_b_account"/>
-                               </td>
-                               <td>
-                                       <xsl:value-of 
select="value_b_account_id"/>
-                                       <xsl:text> - </xsl:text>
-                                       <xsl:value-of 
select="value_b_account_name"/>
-                               </td>
-                       </tr>
- 
-                       <tr>
-                               <td valign="top">
-                                       <xsl:value-of select="lang_budget"/>
-                               </td>
-                               <td>
-                                       <xsl:value-of select="value_budget"/>
-                                       <xsl:text> </xsl:text> [ <xsl:value-of 
select="currency"/> ]
-                               </td>
-                       </tr>
-                       <tr>
-                               <td valign="top">
-                                       <xsl:value-of 
select="lang_addition_rs"/>
-                               </td>
-                               <td>
-                                       <xsl:value-of 
select="value_addition_rs"/>
-                                       <xsl:text> </xsl:text> [ <xsl:value-of 
select="currency"/> ]
-                               </td>
-                       </tr>
-                       <tr>
-                               <td valign="top">
-                                       <xsl:value-of 
select="lang_addition_percentage"/>
-                               </td>
-                               <td>
-                                       <xsl:value-of 
select="value_addition_percentage"/>
-                                       <xsl:text> </xsl:text> [ % ]
-                               </td>
-                       </tr>
-                       <tr>
-                               <td>
-                                       <xsl:value-of select="lang_status"/>
-                               </td>
-                                       <xsl:for-each select="status_list" >
-                                               <xsl:choose>
-                                                       <xsl:when 
test="selected">
-                                                               <td>
-                                                                       
<xsl:value-of select="name"/>
-                                                               </td>
-                                                       </xsl:when>
-                                               </xsl:choose>
-                                       </xsl:for-each>
-                       </tr>
-                       <tr>
-                               <td valign="top">
-                                       <xsl:value-of select="lang_start_date"/>
-                               </td>
-                               <td>
-                                       <xsl:value-of 
select="value_start_date"/>                       
-                               </td>
-                       </tr>
-                       <tr>
-                               <td valign="top">
-                                       <xsl:value-of select="lang_end_date"/>
-                               </td>
-                               <td>
-                                       <xsl:value-of select="value_end_date"/> 
                                        
-                               </td>
-                       </tr>
-                       <tr>
-                               <td>
-                                       <xsl:value-of select="lang_key_fetch"/>
-                               </td>
-                               <xsl:for-each select="key_fetch_list" >
-                                       <xsl:choose>
-                                               <xsl:when test="selected">
-                                                       <td>
-                                                               <xsl:value-of 
select="name"/>
-                                                       </td>
-                                               </xsl:when>
-                                       </xsl:choose>
-                               </xsl:for-each>
-                       </tr>
-                       <tr>
-                               <td>
-                                       <xsl:value-of 
select="lang_key_deliver"/>
-                               </td>
-                               <xsl:for-each select="key_deliver_list" >
-                                       <xsl:choose>
-                                               <xsl:when test="selected">
-                                                       <td>
-                                                               <xsl:value-of 
select="name"/>
-                                                       </td>
-                                               </xsl:when>
-                                       </xsl:choose>
-                               </xsl:for-each>
-                       </tr>
-                       <tr>
-                               <td>
-                                       <xsl:value-of 
select="lang_key_responsible"/>
-                               </td>
-                               <td>
-                                       <xsl:for-each 
select="key_responsible_list" >
-                                               <xsl:choose>
-                                                       <xsl:when 
test="selected">
-                                                               <xsl:value-of 
select="name"/>
-                                                       </xsl:when>
-                                               </xsl:choose>
-                                       </xsl:for-each>
-                               </td>
-                       </tr>
-                       <tr height="50">
-                               <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>
-                                       <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>
-               <hr noshade="noshade" width="100%" align="center" size="1"/>
-               <table width="80%" cellpadding="2" cellspacing="2" 
align="center">
-                       <xsl:choose>
-                               <xsl:when test="record_history=''">
-                                       <tr>
-                                               <td class="th_text" 
align="left">
-                                                       <xsl:value-of 
select="lang_no_history"/>
-                                               </td>
-                                       </tr>
-                               </xsl:when>
-                               <xsl:otherwise>
-                                       <tr>
-                                               <td class="th_text" 
align="left">
-                                                       <xsl:value-of 
select="lang_history"/>
-                                               </td>
-                                       </tr>                                   
-                                       <xsl:apply-templates 
select="table_header_history"/>
-                                       <xsl:apply-templates 
select="record_history"/>
-                               </xsl:otherwise>
-                       </xsl:choose>
-               </table>
-               </div>
-               <hr noshade="noshade" width="100%" align="center" size="1"/>
-       </xsl:template>
--- 1339,1341 ----

Index: workorder.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/workorder.xsl,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** workorder.xsl       18 Mar 2003 14:23:11 -0000      1.7
--- workorder.xsl       31 Mar 2003 21:14:13 -0000      1.8
***************
*** 142,145 ****
--- 142,148 ----
                                </td>
                                <td class="th_text" width="5%" align="center">
+                                       <xsl:value-of select="lang_calculate"/>
+                               </td>
+                               <td class="th_text" width="5%" align="center">
                                        <xsl:value-of select="lang_view"/>
                                </td>
***************
*** 154,157 ****
--- 157,161 ----
  
        <xsl:template match="values_workorder">
+               <xsl:variable name="lang_calculate_statustext"><xsl:value-of 
select="lang_calculate_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>
***************
*** 209,212 ****
--- 213,220 ----
                                <td align="left">
                                        <xsl:value-of select="entry_date"/>
+                               </td>
+                               <td align="center">
+                                       <xsl:variable 
name="link_calculate"><xsl:value-of select="link_calculate"/></xsl:variable>
+                                       <a href="{$link_calculate}" 
onMouseover="window.status='{$lang_calculate_statustext}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="text_calculate"/></a>
                                </td>
                                <td align="center">





reply via email to

[Prev in Thread] Current Thread [Next in Thread]