phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/templates/default entity.xsl, 1.9, 1.10 tts.


From: Sigurd Nes <address@hidden>
Subject: [Phpgroupware-cvs] property/templates/default entity.xsl, 1.9, 1.10 tts.xsl, 1.16, 1.17
Date: Wed, 12 Nov 2003 18:00:53 +0000

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

Modified Files:
        entity.xsl tts.xsl 
Log Message:
no message

Index: tts.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/tts.xsl,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** tts.xsl     10 Nov 2003 17:24:00 -0000      1.16
--- tts.xsl     12 Nov 2003 18:00:51 -0000      1.17
***************
*** 34,37 ****
--- 34,40 ----
                                        <xsl:call-template name="cat_filter"/>
                                </td>
+                               <td>
+                                       <xsl:call-template 
name="filter_district"/>
+                               </td>
                                <td align="center">
                                        <xsl:call-template 
name="filter_filter"/>
***************
*** 42,46 ****
                        </tr>
                        <tr>
!                               <td colspan="3" width="100%">
                                        <xsl:call-template name="nextmatchs"/>
                                </td>
--- 45,49 ----
                        </tr>
                        <tr>
!                               <td colspan="8" width="100%">
                                        <xsl:call-template name="nextmatchs"/>
                                </td>
***************
*** 369,373 ****
                                </td>
                        </tr>
!                       <xsl:choose>
                                <xsl:when test="value_report_id!=''">
                                        <tr>
--- 372,376 ----
                                </td>
                        </tr>
! <!--                  <xsl:choose>
                                <xsl:when test="value_report_id!=''">
                                        <tr>
***************
*** 384,392 ****
                                        </tr>
                                </xsl:when>
!                       </xsl:choose>
                        <xsl:choose>
                                <xsl:when test="value_request_id!=''">
                                        <tr>
!                                               <td align="left" valign="top">
                                                        <xsl:value-of 
select="//lang_request"/>
                                                </td>
--- 387,409 ----
                                        </tr>
                                </xsl:when>
!                       </xsl:choose> -->
!                       <xsl:for-each select="entity_origin_list" >
!                       <tr>
!                               <td class="th_text">
!                                       <xsl:value-of select="name"/>
!                               </td>
!                               <td class="th_text">
!                                       <xsl:for-each select="link_info" >
!                                               <xsl:variable 
name="link_entity_origin"><xsl:value-of select="link"/>&amp;id=<xsl:value-of 
select="id"/></xsl:variable>
!                                                       <a 
href="{$link_entity_origin}"><xsl:value-of select="id"/></a>
!                                                       <xsl:text> </xsl:text>
!                                       </xsl:for-each>
!                               </td>
!                       </tr>                           
!                       </xsl:for-each>
                        <xsl:choose>
                                <xsl:when test="value_request_id!=''">
                                        <tr>
!                                               <td  class="th_text" 
align="left" valign="top">
                                                        <xsl:value-of 
select="//lang_request"/>
                                                </td>
***************
*** 404,408 ****
                                <xsl:when test="value_project_id!=''">
                                        <tr>
!                                               <td align="left" valign="top">
                                                        <xsl:value-of 
select="//lang_project"/>
                                                </td>
--- 421,425 ----
                                <xsl:when test="value_project_id!=''">
                                        <tr>
!                                               <td class="th_text" 
align="left" valign="top">
                                                        <xsl:value-of 
select="//lang_project"/>
                                                </td>
***************
*** 418,435 ****
                        </xsl:choose>
  
-                       <xsl:for-each select="entity_origin_list" >
-                       <tr>
-                               <td class="th_text">
-                                       <xsl:value-of select="name"/>
-                               </td>
-                               <td class="th_text">
-                                       <xsl:for-each select="link_info" >
-                                               <xsl:variable 
name="link_entity_origin"><xsl:value-of select="link"/>&amp;id=<xsl:value-of 
select="id"/></xsl:variable>
-                                                       <a 
href="{$link_entity_origin}"><xsl:value-of select="id"/></a>
-                                                       <xsl:text> </xsl:text>
-                                       </xsl:for-each>
-                               </td>
-                       </tr>                           
-                       </xsl:for-each>
  
                        <tr>
--- 435,438 ----
***************
*** 582,586 ****
                                        </form>
                                </td>
!                               <td valign="top">
                                        <xsl:variable 
name="report_link"><xsl:value-of select="report_link"/></xsl:variable>
                                        <form method="post" 
action="{$report_link}">
--- 585,589 ----
                                        </form>
                                </td>
!               <!--            <td valign="top">
                                        <xsl:variable 
name="report_link"><xsl:value-of select="report_link"/></xsl:variable>
                                        <form method="post" 
action="{$report_link}">
***************
*** 594,598 ****
                                        </input>
                                        </form>
!                               </td>
                                <xsl:choose>
                                        <xsl:when test="link_entity!=''">
--- 597,601 ----
                                        </input>
                                        </form>
!                               </td> -->
                                <xsl:choose>
                                        <xsl:when test="link_entity!=''">

Index: entity.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/entity.xsl,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** entity.xsl  10 Nov 2003 17:52:57 -0000      1.9
--- entity.xsl  12 Nov 2003 18:00:51 -0000      1.10
***************
*** 19,22 ****
--- 19,26 ----
        
        <xsl:template match="list">
+               <div id="overDiv" style="position:absolute; 
visibility:hide;z-index:1;"></div>
+               <xsl:variable name="overlib_source"><xsl:value-of 
select="overlib_source"/></xsl:variable>
+               <SCRIPT LANGUAGE="JavaScript" SRC="{$overlib_source}"></SCRIPT>
+ 
                <xsl:call-template name="menu"/> 
                <table width="100%"  cellpadding="2" cellspacing="2" 
align="center">
***************
*** 223,227 ****
                        </tr>
                        <xsl:variable name="form_action"><xsl:value-of 
select="form_action"/></xsl:variable>
!                       <form method="post" name="form" action="{$form_action}">
                        <tr>
                                <td class="th_text">
--- 227,231 ----
                        </tr>
                        <xsl:variable name="form_action"><xsl:value-of 
select="form_action"/></xsl:variable>
!                       <form ENCTYPE="multipart/form-data" method="post" 
name="form" action="{$form_action}">
                        <tr>
                                <td class="th_text">
***************
*** 267,270 ****
--- 271,354 ----
                                </xsl:when>
                        </xsl:choose>
+ 
+                       <xsl:choose>
+                               <xsl:when test="files!=''">
+                       <tr>
+                               <td align="left" valign="top">
+                                       <xsl:value-of select="//lang_files"/>
+                               </td>
+                               <td>
+                               <table>
+                                       <tr class="th">
+                                               <td class="th_text" width="85%" 
align="left">
+                                                       <xsl:value-of 
select="lang_filename"/>
+                                               </td>
+                                               <td class="th_text" width="15%" 
align="center">
+                                                       <xsl:value-of 
select="lang_delete_file"/>
+                                               </td>
+                                       </tr>
+                               <xsl:for-each select="files" >
+                                       <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:choose>
+                                                       <xsl:when 
test="//link_to_files!=''">
+                                                               <xsl:variable 
name="link_to_file"><xsl:value-of select="//link_to_files"/>/<xsl:value-of 
select="directory"/>/<xsl:value-of select="file_name"/></xsl:variable>
+                                                               <a 
href="{$link_to_file}" target="_blank" 
onMouseover="window.status='{//lang_view_file_statustext}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of select="name"/></a>
+                                                       </xsl:when>
+                                                       <xsl:otherwise>
+                                                               <xsl:variable 
name="link_view_file"><xsl:value-of 
select="//link_view_file"/>&amp;file_name=<xsl:value-of 
select="file_name"/></xsl:variable>
+                                                               <a 
href="{$link_view_file}" target="_blank" 
onMouseover="window.status='{//lang_view_file_statustext}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of select="name"/></a>
+                                                       </xsl:otherwise>
+                                               </xsl:choose>
+                                               <xsl:text> </xsl:text>
+                                       </td>
+                                       <td align="center">
+                                               <input type="checkbox" 
name="values[delete_file][]" value="{name}"  
onMouseout="window.status='';return true;">
+                                                       <xsl:attribute 
name="onMouseover">
+                                                               
<xsl:text>window.status='</xsl:text>
+                                                                       
<xsl:value-of select="//lang_delete_file_statustext"/>
+                                                               <xsl:text>'; 
return true;</xsl:text>
+                                                       </xsl:attribute>
+                                               </input>
+                                       </td>
+                                       </tr>
+                               </xsl:for-each>
+                               </table>
+                               </td>
+                       </tr>
+                               </xsl:when>
+                       </xsl:choose>
+ 
+                       <xsl:choose>
+                               <xsl:when test="cat_list=''">
+                                       <tr>
+                                               <td valign="top">
+                                                       <xsl:value-of 
select="lang_upload_file"/>
+                                               </td>
+                                               <td>
+                                                       <input type="file" 
name="file" size="40" onMouseout="window.status='';return true;">
+                                                               <xsl:attribute 
name="onMouseover">
+                                                                       
<xsl:text>window.status='</xsl:text>
+                                                                               
<xsl:value-of select="lang_file_statustext"/>
+                                                                       
<xsl:text>'; return true;</xsl:text>
+                                                               </xsl:attribute>
+                                                       </input>
+                                               </td>
+                                       </tr>
+                               </xsl:when>
+                       </xsl:choose>
                        <tr>
                                <td colspan="2" width="50%" align="left">
***************
*** 358,361 ****
--- 442,493 ----
                                <xsl:when test="vendor_data!=''">
                                        <xsl:call-template name="vendor_form"/>
+                               </xsl:when>
+                       </xsl:choose>
+                       <xsl:choose>
+                               <xsl:when test="files!=''">
+                               <tr>
+                                       <td align="left" valign="top">
+                                               <xsl:value-of 
select="//lang_files"/>
+                                       </td>
+                                       <td>
+                                       <table>
+                                               <tr class="th">
+                                                       <td class="th_text" 
width="85%" align="left">
+                                                               <xsl:value-of 
select="lang_filename"/>
+                                                       </td>
+                                               </tr>
+                                                       <xsl:for-each 
select="files" >
+                                                               <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:choose>
+                                                                               
        <xsl:when test="//link_to_files!=''">
+                                                                               
                <xsl:variable name="link_to_file"><xsl:value-of 
select="//link_to_files"/>/<xsl:value-of select="directory"/>/<xsl:value-of 
select="file_name"/></xsl:variable>
+                                                                               
                <a href="{$link_to_file}" target="_blank" 
onMouseover="window.status='{//lang_view_file_statustext}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of select="name"/></a>
+                                                                               
        </xsl:when>
+                                                                               
        <xsl:otherwise>
+                                                                               
                <xsl:variable name="link_view_file"><xsl:value-of 
select="//link_view_file"/>&amp;file_name=<xsl:value-of 
select="file_name"/></xsl:variable>
+                                                                               
                <a href="{$link_view_file}" target="_blank" 
onMouseover="window.status='{//lang_view_file_statustext}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of select="name"/></a>
+                                                                               
        </xsl:otherwise>
+                                                                               
</xsl:choose>
+                                                                               
<xsl:text> </xsl:text>
+                                                                       </td>
+                                                               </tr>
+                                                       </xsl:for-each>
+                                               </table>
+                                       </td>
+                               </tr>
                                </xsl:when>
                        </xsl:choose>





reply via email to

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