phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: property/templates/default branch_select.xsl,NO


From: Sigurd Nes <address@hidden>
Subject: [Phpgroupware-cvs] CVS: property/templates/default branch_select.xsl,NONE,1.1 dim_d_select.xsl,NONE,1.1 unit_select.xsl,NONE,1.1 lookup.xsl,1.12,1.13 pricebook.xsl,1.2,1.3
Date: Tue, 04 Mar 2003 05:48:58 -0500

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

Modified Files:
        lookup.xsl pricebook.xsl 
Added Files:
        branch_select.xsl dim_d_select.xsl unit_select.xsl 
Log Message:
no message

***** Error reading new file: [Errno 2] No such file or directory: 
'branch_select.xsl'
***** Error reading new file: [Errno 2] No such file or directory: 
'dim_d_select.xsl'
***** Error reading new file: [Errno 2] No such file or directory: 
'unit_select.xsl'
Index: lookup.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/lookup.xsl,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** lookup.xsl  27 Feb 2003 09:53:32 -0000      1.12
--- lookup.xsl  4 Mar 2003 10:48:51 -0000       1.13
***************
*** 24,27 ****
--- 24,30 ----
                                <xsl:apply-templates select="list_street"/>
                        </xsl:when>
+                       <xsl:when test="list_ns3420">
+                               <xsl:apply-templates select="list_ns3420"/>
+                       </xsl:when>
                        <xsl:otherwise>
                                <xsl:apply-templates select="list_addressbook"/>
***************
*** 221,224 ****
--- 224,327 ----
                                                                <xsl:variable 
name="lang_select"><xsl:value-of select="lang_select"/></xsl:variable>
                                                                <input 
type="button" name="convert" value="{$lang_select}" 
onClick="ExchangeStreet(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 ns3420-->
+ 
+       <xsl:template match="list_ns3420">
+               <script LANGUAGE="JavaScript">
+                       function Exchangens3420(thisform)
+                       {
+                               opener.document.form.ns3420_id.value = 
thisform.elements[0].value;
+                               opener.document.form.ns3420_descr.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_ns3420"/>
+                               <xsl:apply-templates select="values_ns3420"/>
+ 
+                       <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_ns3420">
+               <xsl:variable name="sort_id"><xsl:value-of 
select="sort_id"/></xsl:variable>
+               <xsl:variable name="sort_descr"><xsl:value-of 
select="sort_descr"/></xsl:variable>
+                       <tr class="th">
+                               <td class="th_text" width="15%" align="right">
+                                       <a href="{$sort_id}"><xsl:value-of 
select="lang_id"/></a>
+                               </td>
+                               <td class="th_text" width="85%" align="right">
+                                       <a href="{$sort_descr}"><xsl:value-of 
select="lang_descr"/></a>
+                               </td>
+                               <td class="th_text" width="5%">
+                                       <xsl:value-of select="lang_select"/>
+                               </td>
+                       </tr>
+       </xsl:template>
+ 
+ 
+       <xsl:template match="values_ns3420">
+               <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="left">
+                                       <xsl:value-of select="id"/>
+                               </td>
+                               <td align="left">
+                                       <xsl:value-of select="ns3420_descr"/>
+                               </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="{ns3420_descr}"></input>
+                                                               <xsl:variable 
name="lang_select"><xsl:value-of select="lang_select"/></xsl:variable>
+                                                               <input 
type="button" name="convert" value="{$lang_select}" 
onClick="Exchangens3420(this.form);" onMouseout="window.status='';return true;">
                                                                        
<xsl:attribute name="onMouseover">
                                                                                
<xsl:text>window.status='</xsl:text>

Index: pricebook.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/pricebook.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** pricebook.xsl       2 Mar 2003 00:39:12 -0000       1.2
--- pricebook.xsl       4 Mar 2003 10:48:51 -0000       1.3
***************
*** 3,8 ****
        <xsl:template name="app_data">
                <xsl:choose>
!                       <xsl:when test="edit">
!                               <xsl:apply-templates select="edit"/>
                        </xsl:when>
                        <xsl:when test="view">
--- 3,8 ----
        <xsl:template name="app_data">
                <xsl:choose>
!                       <xsl:when test="edit_activity">
!                               <xsl:apply-templates select="edit_activity"/>
                        </xsl:when>
                        <xsl:when test="view">
***************
*** 12,15 ****
--- 12,21 ----
                                <xsl:apply-templates select="list_activities"/>
                        </xsl:when>
+                       <xsl:when test="prizing">
+                               <xsl:apply-templates select="prizing"/>
+                       </xsl:when>
+                       <xsl:when test="list_activity_vendor">
+                               <xsl:apply-templates 
select="list_activity_vendor"/>
+                       </xsl:when>
                        <xsl:otherwise>
                                <xsl:apply-templates select="list"/>
***************
*** 210,213 ****
--- 216,354 ----
        </xsl:template>
  
+       <xsl:template match="prizing">
+               <div align="left">
+               <xsl:variable name="check_source"><xsl:value-of 
select="check_source"/></xsl:variable>
+               <SCRIPT LANGUAGE="JavaScript" SRC="{$check_source}"></SCRIPT>
+               <xsl:call-template name="app_header"/>
+               <xsl:call-template name="menu"/> 
+               <table width="100%" cellpadding="2" cellspacing="2" 
align="center">
+               <xsl:for-each select="error" >
+                       <tr>
+                               <td class="th_text" colspan="2" align="center">
+                                       <xsl:value-of select="msg"/>
+                               </td>
+                       </tr>
+               </xsl:for-each>
+               <xsl:for-each select="message" >
+                       <tr>
+                               <td class="th_text" colspan="2" align="center">
+                                       <xsl:value-of select="msg"/>
+                               </td>
+                       </tr>
+               </xsl:for-each>
+                       <tr>
+                               <td colspan="3" width="100%">
+                                       <xsl:call-template name="nextmatchs"/>
+                               </td>
+                       </tr>
+               </table>
+               <xsl:variable name="update_action"><xsl:value-of 
select="update_action"/></xsl:variable>
+               <form method="post" name="form" action="{$update_action}">
+               <table width="100%" cellpadding="2" cellspacing="2" 
align="center">
+                               <xsl:apply-templates 
select="table_header_prizing"/>
+                               <xsl:choose>
+                                       <xsl:when 
test="values_prizing[index_count]!=''">
+                                               <xsl:apply-templates 
select="values_prizing"/>
+                                       </xsl:when>
+                               </xsl:choose>                                   
        
+               </table>
+               <input type="hidden" name="values[activity_id][0]" 
value="{value_activity_id}" ></input>
+               <input type="hidden" name="values[vendor_id][0]" 
value="{value_vendor_id}" ></input>
+               <input type="hidden" name="values[old_m_cost][0]" 
value="{value_m_cost}" ></input>
+               <input type="hidden" name="values[old_w_cost][0]" 
value="{value_w_cost}" ></input>
+               <input type="hidden" name="values[old_total_cost][0]" 
value="{value_total_cost}" ></input>
+               <input type="hidden" name="values[update][0]" value="update" 
></input>
+ 
+               <table width="50%" cellpadding="2" cellspacing="2" 
align="center">
+ 
+                               <xsl:choose>
+                                       <xsl:when 
test="values_prizing[index_count]!=''">
+                                               <xsl:apply-templates 
select="table_update"/>
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                               <xsl:apply-templates 
select="table_first_entry"/>
+                                       </xsl:otherwise>
+                               </xsl:choose>                                   
        
+ 
+               </table>
+               </form>
+               <table width="100%" cellpadding="2" cellspacing="2" 
align="center">
+                               <xsl:apply-templates select="table_add"/>
+               </table>
+               </div>
+       </xsl:template>
+ 
+       <xsl:template match="table_header_prizing">
+                       <tr class="th">
+                               <td class="th_text" width="5%" align="right">
+                                       <xsl:value-of 
select="lang_index_count"/>
+                               </td>
+                               <td class="th_text" width="5%" align="right">
+                                       <xsl:value-of select="lang_last_index"/>
+                               </td>
+                               <td class="th_text" width="10%" align="right">
+                                       <xsl:value-of select="lang_w_cost"/>
+                               </td>
+                               <td class="th_text" width="10%" align="right">
+                                       <xsl:value-of select="lang_m_cost"/>
+                               </td>
+                               <td class="th_text" width="10%" align="right">
+                                       <xsl:value-of select="lang_total_cost"/>
+                               </td>
+                               <td class="th_text" width="5%" align="right">
+                                       <xsl:value-of select="lang_date"/>
+                               </td>
+                               <td class="th_text" width="5%" align="center">
+                                       <xsl:value-of select="lang_delete"/>
+                               </td>
+                       </tr>
+       </xsl:template>
+ 
+       <xsl:template match="values_prizing">
+               <xsl:variable name="lang_delete_statustext"><xsl:value-of 
select="lang_delete_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="index_count"/>
+                               </td>
+                               <td align="right">
+                                       <xsl:value-of select="this_index"/>
+                               </td>
+                               <td align="right">
+                                       <xsl:value-of select="w_cost"/>
+                               </td>
+                               <td align="right">
+                                       <xsl:value-of select="m_cost"/>
+                               </td>
+                               <td align="right">
+                                       <xsl:value-of select="total_cost"/>
+                               </td>
+                               <td align="right">
+                                       <xsl:value-of select="date"/>
+                               </td>
+                               <td align="center">
+                                       <xsl:choose>
+                                               <xsl:when 
test="current_index!=''">
+                                                       <xsl:variable 
name="link_delete"><xsl:value-of select="link_delete"/></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>
+                                               </xsl:when>
+                                       </xsl:choose>
+                               </td>
+                       </tr>
+       </xsl:template>
+ 
        <xsl:template match="list_activities">
                <xsl:variable name="check_source"><xsl:value-of 
select="check_source"/></xsl:variable>
***************
*** 343,346 ****
--- 484,689 ----
        </xsl:template>
  
+       <xsl:template match="list_activity_vendor">
+               <xsl:call-template name="app_header"/>
+               <xsl:call-template name="menu"/> 
+               <table width="100%" cellpadding="2" cellspacing="2" 
align="center">
+               <xsl:for-each select="error" >
+                       <tr>
+                               <td class="th_text" colspan="2" align="center">
+                                       <xsl:value-of select="msg"/>
+                               </td>
+                       </tr>
+               </xsl:for-each>
+               <xsl:for-each select="message" >
+                       <tr>
+                               <td class="th_text" colspan="2" align="center">
+                                       <xsl:value-of select="msg"/>
+                               </td>
+                       </tr>
+               </xsl:for-each>
+                       <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_activity_vendor"/>
+                               <xsl:apply-templates 
select="values_activity_vendor"/>
+               </table>
+               <table width="100%" cellpadding="2" cellspacing="2" 
align="center">
+               <xsl:variable name="form_action"><xsl:value-of 
select="form_action"/></xsl:variable>
+               <form method="post" name="form" action="{$form_action}">
+                               <xsl:call-template name="vendor_form"/>
+                               <input type="hidden" name="values[activity_id]" 
value="{activity_id}" ></input>
+                       <tr height="50">
+                               <td>
+                                       <xsl:variable 
name="lang_save"><xsl:value-of select="lang_save"/></xsl:variable>
+                                       <input type="submit" name="values[add]" 
value="{$lang_save}" onMouseout="window.status='';return true;">
+                                               <xsl:attribute 
name="onMouseover">
+                                                       
<xsl:text>window.status='</xsl:text>
+                                                               <xsl:value-of 
select="lang_save_statustext"/>
+                                                       <xsl:text>'; return 
true;</xsl:text>
+                                               </xsl:attribute>
+                                       </input>
+                               </td>
+                       </tr>
+                       </form>
+                       <tr>
+                               <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" 
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="table_header_activity_vendor">
+               <xsl:variable name="sort_vendor"><xsl:value-of 
select="sort_vendor"/></xsl:variable>
+                       <tr class="th">
+                               <td class="th_text" width="10%" align="left">
+                                       <xsl:value-of select="lang_num"/>
+                               </td>
+                               <td class="th_text" width="5%" align="left">
+                                       <xsl:value-of select="lang_branch"/>
+                               </td>
+                               <td class="th_text" width="20%" align="left">
+                                       <a href="{$sort_vendor}"><xsl:value-of 
select="lang_vendor"/></a>
+                               </td>
+                               <td class="th_text" width="5%" align="left">
+                                       <xsl:value-of select="lang_prizing"/>
+                               </td>
+                               <td class="th_text" width="5%" align="center">
+                                       <xsl:value-of select="lang_delete"/>
+                               </td>
+                       </tr>
+       </xsl:template>
+ 
+       <xsl:template match="values_activity_vendor">
+               <xsl:variable name="lang_prizing_statustext"><xsl:value-of 
select="lang_prizing_statustext"/></xsl:variable>
+               <xsl:variable name="lang_delete_statustext"><xsl:value-of 
select="lang_delete_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="left">
+                                       <xsl:value-of select="num"/>
+                               </td>
+                               <td align="left">
+                                       <xsl:value-of select="branch"/>
+                               </td>
+                               <td align="left">
+                                       <xsl:value-of select="vendor_name"/>
+                               </td>
+                               <td align="center">
+                                       <xsl:variable 
name="link_prizing"><xsl:value-of select="link_prizing"/></xsl:variable>
+                                       <a href="{$link_prizing}" 
onMouseover="window.status='{$lang_prizing_statustext}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="text_prizing"/></a>
+                               </td>
+                               <td align="center">
+                                       <xsl:variable 
name="link_delete"><xsl:value-of select="link_delete"/></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>
+                       </tr>
+       </xsl:template>
+ 
+ 
+       <xsl:template match="table_first_entry">
+               <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>
+                       <tr>
+                               <td>
+                                       <xsl:value-of select="lang_m_cost"/>
+                               </td>
+                               <td>
+                                       <input type="text" 
name="values[m_cost]"  size="12" onMouseout="window.status='';return true;" >
+                                               <xsl:attribute 
name="onMouseover">
+                                                       
<xsl:text>window.status='</xsl:text>
+                                                               <xsl:value-of 
select="lang_m_cost_statustext"/>
+                                                       <xsl:text>'; return 
true;</xsl:text>
+                                               </xsl:attribute>
+                                       </input>
+                               </td>
+                       </tr>
+                       <tr>
+                               <td>
+                                       <xsl:value-of select="lang_w_cost"/>
+                               </td>
+                               <td>
+                                       <input type="text" 
name="values[w_cost]"  size="12" onMouseout="window.status='';return true;" >
+                                               <xsl:attribute 
name="onMouseover">
+                                                       
<xsl:text>window.status='</xsl:text>
+                                                               <xsl:value-of 
select="lang_w_cost_statustext"/>
+                                                       <xsl:text>'; return 
true;</xsl:text>
+                                               </xsl:attribute>
+                                       </input>
+                               </td>
+                       </tr>
+                       <tr>
+                               <td>
+                                       <xsl:value-of select="lang_date"/>
+                               </td>
+                               <td>
+                                       <xsl:variable 
name="link_calendar_date"><xsl:value-of 
select="link_calendar_date"/></xsl:variable>
+                                       <input type="text" name="date" 
value="{date}" size="12" onclick="{$link_calendar_date}" readonly="readonly" 
onMouseout="window.status='';return true;" >
+                                               <xsl:attribute 
name="onMouseover">
+                                                       
<xsl:text>window.status='</xsl:text>
+                                                               <xsl:value-of 
select="lang_date_statustext"/>
+                                                       <xsl:text>'; return 
true;</xsl:text>
+                                               </xsl:attribute>
+                                       </input>
+                       
+                                       <xsl:variable 
name="calendar_gif"><xsl:value-of select="calendar_gif"/></xsl:variable>
+               
+                                       <a href="javascript:doNothing()" 
onClick="{$link_calendar_date}">
+                                       <img src="{$calendar_gif}" border="2" 
width="12" height="12"/></a>
+                                       <xsl:value-of 
select="lang_popup_calendar"/>
+                       
+                               </td>
+                       </tr>
+                       <tr>
+                               <td height="50">
+                                       <xsl:variable 
name="lang_add"><xsl:value-of select="lang_add"/></xsl:variable>
+                                               <input type="submit" 
name="values[submit_add]" value="{$lang_add}" 
onMouseout="window.status='';return true;">
+                                                       <xsl:attribute 
name="onMouseover">
+                                                               
<xsl:text>window.status='</xsl:text>
+                                                                       
<xsl:value-of select="lang_date_statustext"/>
+                                                               <xsl:text>'; 
return true;</xsl:text>
+                                                       </xsl:attribute>
+                                               </input>
+                               </td>
+                       </tr>
+       </xsl:template>
+ 
+ 
        <xsl:template match="table_update">
                <script language="JavaScript">
***************
*** 410,414 ****
  <!-- add / edit -->
  
!       <xsl:template match="edit">
                <div align="left">
                <xsl:call-template name="app_header"/>
--- 753,764 ----
  <!-- add / edit -->
  
!       <xsl:template match="edit_activity">
!               <script language="JavaScript">
!                       self.name="first_Window";
!                       function ns3420_lookup()
!                       {
!                               Window1=window.open('<xsl:value-of 
select="ns3420_link"/>',"Search","width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes");
!                       }               
!               </script>
                <div align="left">
                <xsl:call-template name="app_header"/>
***************
*** 431,460 ****
                        <form method="post" name="form" action="{$form_action}">
                        <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_building_id"/>
                                </td>
                                <td>
!                                       <xsl:choose>
!                                               <xsl:when 
test="value_building_id ='' or error_flag=1">
!                                                       <input type="text" 
size="3" name="values[building_id]" value="{value_building_id}" 
onMouseout="window.status='';return true;">
!                                                               <xsl:attribute 
name="onMouseover">
!                                                                       
<xsl:text>window.status='</xsl:text>
!                                                                               
<xsl:value-of select="lang_building_id_statustext"/>
!                                                                       
<xsl:text>'; return true;</xsl:text>
!                                                               </xsl:attribute>
!                                                       </input>
!                                               </xsl:when>
!                                               <xsl:otherwise>
!                                                       <xsl:value-of 
select="value_building_id"/>
!                                               </xsl:otherwise>
!                                       </xsl:choose>
                                </td>
                        </tr>
--- 781,807 ----
                        <form method="post" name="form" action="{$form_action}">
                        <xsl:choose>
!                               <xsl:when test="value_activity_id !=''">
!                                       <tr>
!                                               <td valign="top">
!                                                       <xsl:value-of 
select="lang_activity_id"/>
!                                               </td>
!                                               <td class="th_text" >
!                                                       <xsl:value-of 
select="value_activity_id"/>
!                                               </td>
!                                       </tr>
                                </xsl:when>
                        </xsl:choose>
                        <tr>
                                <td valign="top">
!                                       <xsl:value-of select="lang_num"/>
                                </td>
                                <td>
!                                       <input type="text"  name="values[num]" 
value="{value_num}" onMouseout="window.status='';return true;">
!                                               <xsl:attribute 
name="onMouseover">
!                                                       
<xsl:text>window.status='</xsl:text>
!                                                               <xsl:value-of 
select="lang_num_statustext"/>
!                                                       <xsl:text>'; return 
true;</xsl:text>
!                                               </xsl:attribute>
!                                       </input>
                                </td>
                        </tr>
***************
*** 469,555 ****
                        <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_general_address"/>
                                </td>
                                <td>
!                                       <input type="text" 
name="values[general_address]" value="{value_general_address}" 
onMouseout="window.status='';return true;">
                                                <xsl:attribute 
name="onMouseover">
                                                        
<xsl:text>window.status='</xsl:text>
!                                                               <xsl:value-of 
select="lang_general_address_statustext"/>
                                                        <xsl:text>'; return 
true;</xsl:text>
                                                </xsl:attribute>
!                                       </input>
! 
                                </td>
                        </tr>
                        <tr>
!                               <td valign="top">
!                                       <xsl:value-of select="lang_remark"/>
                                </td>
                                <td>
!                                       <textarea cols="60" rows="4" 
name="values[remark]" wrap="virtual" onMouseout="window.status='';return true;">
!                                               <xsl:attribute 
name="onMouseover">
!                                                       
<xsl:text>window.status='</xsl:text>
!                                                               <xsl:value-of 
select="lang_remark_statustext"/>
!                                                       <xsl:text>'; return 
true;</xsl:text>
!                                               </xsl:attribute>
!                                               <xsl:value-of 
select="value_remark"/>           
!                                       </textarea>
! 
                                </td>
                        </tr>
                        <tr>
                                <td>
!                                       <xsl:value-of select="lang_access"/>
                                </td>
                                <td>
!                                       <xsl:choose>
!                                                       <xsl:when 
test="value_access = 'private'">
!                                                               <input 
type="checkbox" name="values[access]" value="True" checked="checked" 
onMouseout="window.status='';return true;">
!                                                                       
<xsl:attribute name="onMouseover">
!                                                                               
<xsl:text>window.status='</xsl:text>
!                                                                               
        <xsl:value-of select="lang_access_on_statustext"/>
!                                                                               
<xsl:text>'; return true;</xsl:text>
!                                                                       
</xsl:attribute>
!                                                               </input>
!                                                       </xsl:when>
!                                                       <xsl:otherwise>
!                                                               <input 
type="checkbox" name="values[access]" value="True" 
onMouseout="window.status='';return true;">
!                                                                       
<xsl:attribute name="onMouseover">
!                                                                               
<xsl:text>window.status='</xsl:text>
!                                                                               
        <xsl:value-of select="lang_access_off_statustext"/>
!                                                                               
<xsl:text>'; return true;</xsl:text>
!                                                                       
</xsl:attribute>
!                                                               </input>
!                                                       </xsl:otherwise>
!                                       </xsl:choose>
                                </td>
                        </tr>
-                       <xsl:choose>
-                               <xsl:when test="value_building_id!=''">
-                                       <tr>
-                                               <td>
-                                                       <xsl:value-of 
select="lang_attributes"/>
-                                               </td>
-                                               <td colspan="2" width="50%">
-                                                       <xsl:call-template 
name="attributes_form"/>                                                     
-                                               </td>
-                                       </tr>
-                               </xsl:when>
-                       </xsl:choose>
                        <tr height="50">
                                <td>
--- 816,886 ----
                        <tr>
                                <td valign="top">
!                                       <xsl:value-of select="lang_descr"/>
                                </td>
                                <td>
!                                       <textarea cols="60" rows="4" 
name="values[descr]" wrap="virtual" onMouseout="window.status='';return true;">
                                                <xsl:attribute 
name="onMouseover">
                                                        
<xsl:text>window.status='</xsl:text>
!                                                               <xsl:value-of 
select="lang_descr_statustext"/>
                                                        <xsl:text>'; return 
true;</xsl:text>
                                                </xsl:attribute>
!                                               <xsl:value-of 
select="value_descr"/>            
!                                       </textarea>
                                </td>
                        </tr>
                        <tr>
                                <td valign="top">
!                                       <xsl:value-of select="lang_base_descr"/>
                                </td>
                                <td>
!                                       <textarea cols="60" rows="4" 
name="values[base_descr]" wrap="virtual" onMouseout="window.status='';return 
true;">
                                                <xsl:attribute 
name="onMouseover">
                                                        
<xsl:text>window.status='</xsl:text>
!                                                               <xsl:value-of 
select="lang_base_descr_statustext"/>
                                                        <xsl:text>'; return 
true;</xsl:text>
                                                </xsl:attribute>
!                                               <xsl:value-of 
select="value_base_descr"/>               
!                                       </textarea>
                                </td>
                        </tr>
                        <tr>
!                               <td>
!                                       <xsl:value-of select="lang_unit"/>
                                </td>
                                <td>
!                                       <xsl:call-template name="unit_select"/>
                                </td>
                        </tr>
                        <tr>
                                <td>
!                                       <xsl:value-of select="lang_dim_d"/>
                                </td>
                                <td>
!                                       <xsl:call-template name="dim_d_select"/>
!                               </td>
!                       </tr>
!                       <tr>
!                               <td>
!                                       <xsl:value-of select="lang_branch"/>
!                               </td>
!                               <td>
!                                       <xsl:call-template 
name="branch_select"/>
!                               </td>
!                       </tr>
!                       <tr>
!                               <td>
!                                       <a href="javascript:ns3420_lookup()" 
onMouseover="window.status='{lang_ns3420_statustext}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="lang_ns3420"/></a>
!                               </td>
!                               <td>
!                                       <input  type="text" name="ns3420_id" 
value="{value_ns3420_id}"  onClick="ns3420_lookup();" readonly="readonly">
!                                       <xsl:attribute name="onMouseover">
!                                                       
<xsl:text>window.status='</xsl:text>
!                                                               <xsl:value-of 
select="lang_ns3420_statustext"/>
!                                                       <xsl:text>'; return 
true;</xsl:text>
!                                               </xsl:attribute>
!                                       </input>
!                                       <input type="hidden" 
name="ns3420_descr"></input>                                       
                                </td>
                        </tr>
                        <tr height="50">
                                <td>





reply via email to

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