[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: property/templates/default b_account_form.xsl,N
From: |
Sigurd Nes <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: property/templates/default b_account_form.xsl,NONE,1.1 project.xsl,NONE,1.1 lookup.xsl,1.13,1.14 workorder.xsl,1.5,1.6 |
Date: |
Tue, 18 Mar 2003 05:51:30 -0500 |
Update of /cvsroot/phpgroupware/property/templates/default
In directory subversions:/tmp/cvs-serv9215/templates/default
Modified Files:
lookup.xsl workorder.xsl
Added Files:
b_account_form.xsl project.xsl
Log Message:
no message
***** Error reading new file: [Errno 2] No such file or directory:
'b_account_form.xsl'
***** Error reading new file: [Errno 2] No such file or directory: 'project.xsl'
Index: lookup.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/lookup.xsl,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** lookup.xsl 4 Mar 2003 10:48:51 -0000 1.13
--- lookup.xsl 18 Mar 2003 10:51:27 -0000 1.14
***************
*** 27,30 ****
--- 27,33 ----
<xsl:apply-templates select="list_ns3420"/>
</xsl:when>
+ <xsl:when test="list_b_account">
+ <xsl:apply-templates select="list_b_account"/>
+ </xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="list_addressbook"/>
***************
*** 124,127 ****
--- 127,230 ----
<xsl:variable
name="lang_select"><xsl:value-of select="lang_select"/></xsl:variable>
<input
type="button" name="convert" value="{$lang_select}"
onClick="ExchangeVendor(this.form);" onMouseout="window.status='';return true;">
+
<xsl:attribute name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+
<xsl:value-of select="lang_select_statustext"/>
+
<xsl:text>'; return true;</xsl:text>
+
</xsl:attribute>
+ </input>
+ </td>
+ </form>
+ </xsl:when>
+ </xsl:choose>
+ </tr>
+ </xsl:template>
+
+ <!-- list b_account-->
+
+ <xsl:template match="list_b_account">
+ <script LANGUAGE="JavaScript">
+ function Exchangeb_account(thisform)
+ {
+ opener.document.form.b_account_id.value =
thisform.elements[0].value;
+ opener.document.form.b_account_name.value =
thisform.elements[1].value;
+ window.close()
+ }
+ </script>
+
+ <xsl:call-template name="app_header"/>
+ <table width="100%" cellpadding="2" cellspacing="2"
align="center">
+ <tr>
+ <td align="right">
+ <xsl:call-template name="search_field"/>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="3" width="100%">
+ <xsl:call-template name="nextmatchs"/>
+ </td>
+ </tr>
+ </table>
+ <table width="100%" cellpadding="2" cellspacing="2"
align="center">
+ <xsl:apply-templates
select="table_header_b_account"/>
+ <xsl:apply-templates select="values_b_account"/>
+
+ <tr>
+ <td colspan="3" width="100%">
+ <xsl:call-template name="nextmatchs"/>
+ </td>
+ </tr>
+ </table>
+ <xsl:apply-templates select="table_done"/>
+
+ </xsl:template>
+
+ <xsl:template match="table_header_b_account">
+ <xsl:variable name="sort_id"><xsl:value-of
select="sort_id"/></xsl:variable>
+ <xsl:variable name="sort_name"><xsl:value-of
select="sort_name"/></xsl:variable>
+ <tr class="th">
+ <td class="th_text" width="10%" align="right">
+ <a href="{$sort_id}"><xsl:value-of
select="lang_id"/></a>
+ </td>
+ <td class="th_text" width="40%" align="right">
+ <a href="{$sort_name}"><xsl:value-of
select="lang_name"/></a>
+ </td>
+ <td class="th_text" width="10%">
+ <xsl:value-of select="lang_select"/>
+ </td>
+ </tr>
+ </xsl:template>
+
+
+ <xsl:template match="values_b_account">
+ <xsl:variable name="lang_select_statustext"><xsl:value-of
select="lang_select_statustext"/></xsl:variable>
+ <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="id"/>
+ </td>
+ <td align="right">
+ <xsl:value-of select="b_account_name"/>
+ </td>
+ <xsl:choose>
+ <xsl:when test="id">
+ <form>
+ <td valign="top">
+ <input
type="hidden" name="hidden" value="{id}"></input>
+ <input
type="hidden" name="hidden" value="{b_account_name}"></input>
+ <xsl:variable
name="lang_select"><xsl:value-of select="lang_select"/></xsl:variable>
+ <input
type="button" name="convert" value="{$lang_select}"
onClick="Exchangeb_account(this.form);" onMouseout="window.status='';return
true;">
<xsl:attribute name="onMouseover">
<xsl:text>window.status='</xsl:text>
Index: workorder.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/workorder.xsl,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** workorder.xsl 16 Mar 2003 17:49:33 -0000 1.5
--- workorder.xsl 18 Mar 2003 10:51:27 -0000 1.6
***************
*** 6,9 ****
--- 6,12 ----
<xsl:apply-templates select="edit"/>
</xsl:when>
+ <xsl:when test="add">
+ <xsl:apply-templates select="add"/>
+ </xsl:when>
<xsl:when test="view">
<xsl:apply-templates select="view"/>
***************
*** 15,18 ****
--- 18,68 ----
</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="list_workorder">
<xsl:call-template name="app_header"/>
***************
*** 218,239 ****
</tr>
</xsl:for-each>
- <xsl:variable name="form_action"><xsl:value-of
select="form_action"/></xsl:variable>
- <form method="post" name="form" action="{$form_action}">
<xsl:choose>
! <xsl:when test="value_project_id!=''">
! <tr>
! <td>
! <xsl:value-of
select="lang_copy_project"/>
! </td>
! <td>
! <input type="checkbox"
name="values[copy_project]" value="True" onMouseout="window.status='';return
true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
!
<xsl:value-of select="lang_copy_project_statustext"/>
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
</input>
</td>
! </tr>
<tr>
<td>
--- 268,292 ----
</tr>
</xsl:for-each>
<xsl:choose>
! <xsl:when test="value_workorder_id!=''">
! <td valign="top">
! <xsl:variable
name="calculate_action"><xsl:value-of
select="calculate_action"/>&workorder_id=<xsl:value-of
select="value_workorder_id"/></xsl:variable>
! <xsl:variable
name="lang_calculate"><xsl:value-of select="lang_calculate"/></xsl:variable>
! <form method="post"
action="{$calculate_action}">
! <input type="submit"
class="forms" name="calculate" value="{$lang_calculate}"
onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
!
<xsl:value-of select="lang_calculate_statustext"/>
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
</input>
+ </form>
</td>
! </xsl:when>
! </xsl:choose>
! <xsl:variable name="form_action"><xsl:value-of
select="form_action"/></xsl:variable>
! <form method="post" name="form" action="{$form_action}">
! <xsl:choose>
! <xsl:when test="value_project_id!=''">
<tr>
<td>
***************
*** 241,276 ****
</td>
<td>
! <xsl:value-of
select="value_project_id"/>
</td>
</tr>
</xsl:when>
! </xsl:choose>
! <tr>
! <td valign="top">
! <xsl:value-of select="lang_name"/>
! </td>
! <td>
! <input type="text" name="values[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>
<td valign="top">
! <xsl:value-of select="lang_descr"/>
</td>
<td>
! <textarea cols="60" rows="6"
name="values[descr]" wrap="virtual" onMouseout="window.status='';return true;">
! <xsl:attribute
name="onMouseover">
!
<xsl:text>window.status='</xsl:text>
! <xsl:value-of
select="lang_descr_statustext"/>
! <xsl:text>'; return
true;</xsl:text>
! </xsl:attribute>
! <xsl:value-of
select="value_descr"/>
! </textarea>
</td>
</tr>
--- 294,326 ----
</td>
<td>
! <xsl:variable
name="project_link"><xsl:value-of select="project_link"/>&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_project_id"/>
! </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>
***************
*** 279,285 ****
<xsl:value-of select="lang_category"/>
</td>
! <td>
! <xsl:call-template name="cat_select"/>
! </td>
</tr>
<xsl:choose>
--- 329,341 ----
<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>
***************
*** 291,295 ****
</xsl:otherwise>
</xsl:choose>
-
<tr>
<td valign="top">
--- 347,350 ----
***************
*** 297,310 ****
</td>
<td>
! <input type="text"
name="values[power_meter]" value="{value_power_meter}" size="12"
onMouseout="window.status='';return true;" >
! <xsl:attribute
name="onMouseover">
!
<xsl:text>window.status='</xsl:text>
! <xsl:value-of
select="lang_power_meter_statustext"/>
! <xsl:text>'; return
true;</xsl:text>
! </xsl:attribute>
! </input>
</td>
</tr>
<tr>
<td>
<xsl:value-of
select="lang_charge_tenant"/>
--- 352,421 ----
</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"/>
***************
*** 335,338 ****
--- 446,481 ----
<tr>
<td valign="top">
+ <xsl:value-of select="lang_title"/>
+ </td>
+ <td>
+ <input type="text" name="values[title]"
value="{value_title}" 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>
+ <tr>
+ <td valign="top">
+ <xsl:value-of select="lang_descr"/>
+ </td>
+ <td>
+ <textarea cols="60" rows="6"
name="values[descr]" wrap="virtual" onMouseout="window.status='';return true;">
+ <xsl:attribute
name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+ <xsl:value-of
select="lang_descr_statustext"/>
+ <xsl:text>'; return
true;</xsl:text>
+ </xsl:attribute>
+ <xsl:value-of
select="value_descr"/>
+ </textarea>
+ </td>
+ </tr>
+ <xsl:call-template name="vendor_form"/>
+ <xsl:call-template name="b_account_form"/>
+
+ <tr>
+ <td valign="top">
<xsl:value-of select="lang_budget"/>
</td>
***************
*** 348,387 ****
</td>
</tr>
-
<tr>
! <td class="th_text" valign="top">
! <xsl:value-of
select="lang_workorder_id"/>
</td>
- <xsl:choose>
- <xsl:when
test="sum_workorder_budget=''">
- <td class="th_text">
- <xsl:value-of
select="lang_no_workorders"/>
- </td>
- </xsl:when>
- <xsl:otherwise>
- <td>
- <table width="100%" cellpadding="2"
cellspacing="2" align="center">
- <xsl:apply-templates
select="table_header_workorder_budget"/>
- <xsl:apply-templates
select="workorder_budget"/>
- <tr class="th">
- <td class="th_text"
width="5%" align="right">
- <xsl:value-of
select="lang_sum"/>
- </td>
- <td class="th_text"
width="5%" align="right">
- <xsl:value-of
select="sum_workorder_budget"/>
- </td>
- </tr>
- </table>
- </td>
- </xsl:otherwise>
- </xsl:choose>
</tr>
-
<tr>
! <td>
! <xsl:value-of
select="lang_coordinator"/>
</td>
<td>
! <xsl:call-template
name="user_id_select"/>
</td>
</tr>
--- 491,522 ----
</td>
</tr>
<tr>
! <td valign="top">
! <xsl:value-of
select="lang_addition_rs"/>
! </td>
! <td>
! <input type="text"
name="values[addition_rs]" value="{value_addition_rs}"
onMouseout="window.status='';return true;">
! <xsl:attribute
name="onMouseover">
!
<xsl:text>window.status='</xsl:text>
! <xsl:value-of
select="lang_addition_rs_statustext"/>
! <xsl:text>'; return
true;</xsl:text>
! </xsl:attribute>
! </input>
! <xsl:text> </xsl:text> [ <xsl:value-of
select="currency"/> ]
</td>
</tr>
<tr>
! <td valign="top">
! <xsl:value-of
select="lang_addition_percentage"/>
</td>
<td>
! <input type="text"
name="values[addition_percentage]" value="{value_addition_percentage}"
onMouseout="window.status='';return true;">
! <xsl:attribute
name="onMouseover">
!
<xsl:text>window.status='</xsl:text>
! <xsl:value-of
select="lang_addition_percentage_statustext"/>
! <xsl:text>'; return
true;</xsl:text>
! </xsl:attribute>
! </input>
! <xsl:text> </xsl:text> [ % ]
</td>
</tr>
***************
*** 439,467 ****
</tr>
<tr>
- <td valign="top">
- <xsl:value-of select="lang_branch"/>
- </td>
- <td>
- <xsl:variable
name="lang_branch_statustext"><xsl:value-of
select="lang_branch_statustext"/></xsl:variable>
- <select name="values[branch][]"
class="forms" multiple="multiple"
onMouseover="window.status='{$lang_branch_statustext}'; return true;"
onMouseout="window.status='';return true;">
- <xsl:apply-templates
select="branch_list"/>
- </select>
- </td>
- </tr>
- <tr>
- <td valign="top">
- <xsl:value-of
select="lang_other_branch"/>
- </td>
- <td>
- <input type="text"
name="values[other_branch]" value="{value_other_branch}"
onMouseout="window.status='';return true;">
- <xsl:attribute
name="onMouseover">
-
<xsl:text>window.status='</xsl:text>
- <xsl:value-of
select="lang_other_branch_statustext"/>
- <xsl:text>'; return
true;</xsl:text>
- </xsl:attribute>
- </input>
- </td>
- </tr>
- <tr>
<td>
<xsl:value-of select="lang_key_fetch"/>
--- 574,577 ----
***************
*** 492,500 ****
</td>
<td>
! <xsl:variable
name="lang_key_responsible_statustext"><xsl:value-of
select="lang_key_responsible_statustext"/></xsl:variable>
! <select
name="values[key_responsible]" class="forms"
onMouseover="window.status='{$lang_key_responsible_statustext}'; return true;"
onMouseout="window.status='';return true;">
! <option
value=""><xsl:value-of select="lang_no_key_responsible"/></option>
! <xsl:apply-templates
select="key_responsible_list"/>
! </select>
</td>
</tr>
--- 602,612 ----
</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>
***************
*** 581,584 ****
--- 693,697 ----
</xsl:template>
+ <!--
<xsl:template match="workorder_budget">
<xsl:variable name="workorder_link"><xsl:value-of
select="//workorder_link"/>&id=<xsl:value-of
select="workorder_id"/></xsl:variable>
***************
*** 630,634 ****
</xsl:choose>
</xsl:template>
!
<xsl:template match="key_fetch_list">
<xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
--- 743,747 ----
</xsl:choose>
</xsl:template>
! -->
<xsl:template match="key_fetch_list">
<xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
***************
*** 729,779 ****
<xsl:call-template name="app_header"/>
<table cellpadding="2" cellspacing="2" width="80%"
align="center">
<tr>
! <td>
! <xsl:value-of select="lang_project_id"/>
</td>
<td>
! <xsl:value-of
select="value_project_id"/>
</td>
</tr>
<tr>
- <td valign="top">
- <xsl:value-of select="lang_name"/>
- </td>
<td>
! <xsl:value-of select="value_name"/>
</td>
</tr>
<tr>
<td valign="top">
! <xsl:value-of select="lang_descr"/>
</td>
<td>
! <xsl:value-of select="value_descr"/>
</td>
</tr>
<tr>
<td>
! <xsl:value-of select="lang_category"/>
</td>
! <xsl:for-each select="cat_list" >
! <td>
<xsl:choose>
<xsl:when
test="selected">
! <xsl:value-of
select="name"/>
</xsl:when>
</xsl:choose>
! </td>
! </xsl:for-each>
</tr>
- <xsl:call-template name="location_view"/>
<tr>
<td valign="top">
! <xsl:value-of
select="lang_power_meter"/>
</td>
<td>
! <xsl:value-of
select="value_power_meter"/>
</td>
</tr>
<tr>
<td>
--- 842,975 ----
<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"/>&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>
***************
*** 790,894 ****
<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 class="th_text" valign="top">
! <xsl:value-of
select="lang_workorder_id"/>
</td>
- <xsl:choose>
- <xsl:when
test="sum_workorder_budget=''">
- <td class="th_text">
- <xsl:value-of
select="lang_no_workorders"/>
- </td>
- </xsl:when>
- <xsl:otherwise>
- <td>
- <table width="100%" cellpadding="2"
cellspacing="2" align="center">
- <xsl:apply-templates
select="table_header_workorder_budget"/>
- <xsl:apply-templates
select="workorder_budget"/>
- <tr class="th">
- <td class="th_text"
width="5%" align="right">
- <xsl:value-of
select="lang_sum"/>
- </td>
- <td class="th_text"
width="5%" align="right">
- <xsl:value-of
select="sum_workorder_budget"/>
- </td>
- </tr>
- </table>
- </td>
- </xsl:otherwise>
- </xsl:choose>
</tr>
-
<tr>
<td>
! <xsl:value-of
select="lang_coordinator"/>
</td>
- <xsl:for-each select="user_list" >
- <td>
- <xsl:choose>
- <xsl:when
test="selected">
- <xsl:value-of
select="name"/>
- </xsl:when>
- </xsl:choose>
- </td>
- </xsl:for-each>
</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 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>
--- 986,1079 ----
<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>
***************
*** 897,909 ****
<xsl:value-of select="lang_key_fetch"/>
</td>
! <td>
! <xsl:for-each select="key_fetch_list" >
! <xsl:choose>
! <xsl:when
test="selected">
<xsl:value-of
select="name"/>
! </xsl:when>
! </xsl:choose>
! </xsl:for-each>
! </td>
</tr>
<tr>
--- 1082,1094 ----
<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>
***************
*** 911,923 ****
<xsl:value-of
select="lang_key_deliver"/>
</td>
! <td>
! <xsl:for-each select="key_deliver_list"
>
! <xsl:choose>
! <xsl:when
test="selected">
<xsl:value-of
select="name"/>
! </xsl:when>
! </xsl:choose>
! </xsl:for-each>
! </td>
</tr>
<tr>
--- 1096,1108 ----
<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>
***************
*** 925,929 ****
<xsl:value-of
select="lang_key_responsible"/>
</td>
-
<td>
<xsl:for-each
select="key_responsible_list" >
--- 1110,1113 ----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: property/templates/default b_account_form.xsl,NONE,1.1 project.xsl,NONE,1.1 lookup.xsl,1.13,1.14 workorder.xsl,1.5,1.6,
Sigurd Nes <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: property/inc class.bocommon.inc.php,1.28,1.29 class.bolookup.inc.php,1.5,1.6 class.boproject.inc.php,1.1,1.2 class.boworkorder.inc.php,1.6,1.7 class.solookup.inc.php,1.12,1.13 class.soproject.inc.php,1.2,1.3 class.soworkorder.inc.php,1.7,1.8 class.uilookup.inc.php,1.10,1.11 class.uiproject.inc.php,1.1,1.2 class.uiworkorder.inc.php,1.6,1.7
- Next by Date:
[Phpgroupware-cvs] CVS: property/setup setup.inc.php,1.28,1.29 tables_current.inc.php,1.48,1.49
- Previous by thread:
[Phpgroupware-cvs] CVS: property/inc class.bocommon.inc.php,1.28,1.29 class.bolookup.inc.php,1.5,1.6 class.boproject.inc.php,1.1,1.2 class.boworkorder.inc.php,1.6,1.7 class.solookup.inc.php,1.12,1.13 class.soproject.inc.php,1.2,1.3 class.soworkorder.inc.php,1.7,1.8 class.uilookup.inc.php,1.10,1.11 class.uiproject.inc.php,1.1,1.2 class.uiworkorder.inc.php,1.6,1.7
- Next by thread:
[Phpgroupware-cvs] CVS: property/setup setup.inc.php,1.28,1.29 tables_current.inc.php,1.48,1.49
- Index(es):