phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: property/templates/default tts.xsl,1.2,1.3


From: Sigurd Nes <address@hidden>
Subject: [Phpgroupware-cvs] CVS: property/templates/default tts.xsl,1.2,1.3
Date: Thu, 06 Feb 2003 07:03:23 -0500

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

Modified Files:
        tts.xsl 
Log Message:
no message

Index: tts.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/tts.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** tts.xsl     6 Feb 2003 09:03:46 -0000       1.2
--- tts.xsl     6 Feb 2003 12:03:18 -0000       1.3
***************
*** 295,301 ****
  
        <xsl:template match="view">
                <div align="left">
                <xsl:call-template name="app_header"/>
-               <hr noshade="noshade" width="100%" align="center" size="1"/>
                <table cellpadding="2" cellspacing="2" width="80%" 
align="center">
                        <xsl:variable name="form_action"><xsl:value-of 
select="form_action"/></xsl:variable>
--- 295,311 ----
  
        <xsl:template match="view">
+               <script language="JavaScript">
+                       self.name="first_Window";
+                       function generate_order()
+                       {
+                               Window1=window.open('<xsl:value-of 
select="order_link"/>');
+                       }               
+                       function generate_request()
+                       {
+                               Window1=window.open('<xsl:value-of 
select="request_link"/>');
+                       }               
+               </script>
                <div align="left">
                <xsl:call-template name="app_header"/>
                <table cellpadding="2" cellspacing="2" width="80%" 
align="center">
                        <xsl:variable name="form_action"><xsl:value-of 
select="form_action"/></xsl:variable>
***************
*** 425,433 ****
                                <xsl:choose>
                                        <xsl:when test="additional_notes=''">
!                                               <tr>
!                                                       <td class="th_text">
!                                                               <xsl:value-of 
select="lang_no_additional_notes"/>
!                                                       </td>
!                                               </tr>
                                        </xsl:when>
                                        <xsl:otherwise>
--- 435,441 ----
                                <xsl:choose>
                                        <xsl:when test="additional_notes=''">
!                                               <td class="th_text">
!                                                       <xsl:value-of 
select="lang_no_additional_notes"/>
!                                               </td>
                                        </xsl:when>
                                        <xsl:otherwise>
***************
*** 524,549 ****
                        </tr>
                </table>
- 
                <hr noshade="noshade" width="100%" align="center" size="1"/>
!               <xsl:choose>
!                       <xsl:when test="record_history=''">
!                               <tr>
!                                       <td class="th_text">
!                                               <xsl:value-of 
select="lang_no_history"/>
!                                       </td>
!                               </tr>
!                       </xsl:when>
!                       <xsl:otherwise>
!                       <table width="100%" cellpadding="2" cellspacing="2" 
align="center">
!                               <xsl:apply-templates 
select="table_header_history"/>
!                               <xsl:apply-templates select="record_history"/>
!                       </table>
!                       </xsl:otherwise>
!               </xsl:choose>
! 
! 
  
                </div>
! 
        </xsl:template>
  
--- 532,579 ----
                        </tr>
                </table>
                <hr noshade="noshade" width="100%" align="center" size="1"/>
!               <table width="80%" cellpadding="2" cellspacing="2" 
align="center">
!                       <tr>
!                               <td valign="top">
!                                       <xsl:variable 
name="lang_generate_request"><xsl:value-of 
select="lang_generate_request"/></xsl:variable>
!                                       <input type="button" name="location" 
value="{$lang_generate_request}" onClick="generate_request();" 
onMouseout="window.status='';return true;">
!                                               <xsl:attribute 
name="onMouseover">
!                                                       
<xsl:text>window.status='</xsl:text>
!                                                               <xsl:value-of 
select="lang_generate_request_statustext"/>
!                                                       <xsl:text>'; return 
true;</xsl:text>
!                                               </xsl:attribute>
!                                       </input>
!                               </td>
!                               <td valign="top">
!                                       <xsl:variable 
name="lang_generate_order"><xsl:value-of 
select="lang_generate_order"/></xsl:variable>
!                                       <input type="button" name="location" 
value="{$lang_generate_order}" onClick="generate_order();" 
onMouseout="window.status='';return true;">
!                                               <xsl:attribute 
name="onMouseover">
!                                                       
<xsl:text>window.status='</xsl:text>
!                                                               <xsl:value-of 
select="lang_generate_order_statustext"/>
!                                                       <xsl:text>'; return 
true;</xsl:text>
!                                               </xsl:attribute>
!                                       </input>
!                               </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="center">
+                                                       <xsl:value-of 
select="lang_no_history"/>
+                                               </td>
+                                       </tr>
+                               </xsl:when>
+                               <xsl:otherwise>
+                                       <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>
  





reply via email to

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