phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/templates/default admin_entity.xsl, 1.8, 1.


From: Sigurd Nes <address@hidden>
Subject: [Phpgroupware-cvs] property/templates/default admin_entity.xsl, 1.8, 1.9 entity.xsl, 1.6, 1.7 tts.xsl, 1.14, 1.15
Date: Sun, 09 Nov 2003 20:25:13 +0000

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

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

Index: tts.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/tts.xsl,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** tts.xsl     10 Oct 2003 21:57:15 -0000      1.14
--- tts.xsl     9 Nov 2003 20:25:10 -0000       1.15
***************
*** 579,582 ****
--- 579,597 ----
                                        </form>
                                </td>
+                               <xsl:for-each select="link_entity" >
+                               <td valign="top">
+                                       <xsl:variable name="link"><xsl:value-of 
select="link"/></xsl:variable>
+                                       <form method="post" action="{$link}">
+                                       <xsl:variable name="name"><xsl:value-of 
select="name"/></xsl:variable>
+                                       <input type="submit" name="location" 
value="{$name}" onMouseout="window.status='';return true;">
+                                               <xsl:attribute 
name="onMouseover">
+                                                       
<xsl:text>window.status='</xsl:text>
+                                                               <xsl:value-of 
select="lang_start_statustext"/>
+                                                       <xsl:text>'; return 
true;</xsl:text>
+                                               </xsl:attribute>
+                                       </input>
+                                       </form>
+                               </td>
+                               </xsl:for-each>
                        </tr>
                </table>

Index: admin_entity.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/admin_entity.xsl,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** admin_entity.xsl    6 Nov 2003 18:51:04 -0000       1.8
--- admin_entity.xsl    9 Nov 2003 20:25:10 -0000       1.9
***************
*** 529,532 ****
--- 529,540 ----
                                                </td>
                                        </tr>
+                                       <tr>
+                                               <td valign="top">
+                                                       <xsl:value-of 
select="lang_start_this_entity"/>
+                                               </td>
+                                               <td>
+                                                       <xsl:call-template 
name="include_list_3"/>
+                                               </td>
+                                       </tr>
                                </xsl:when>
                        </xsl:choose>
***************
*** 1289,1292 ****
--- 1297,1354 ----
                                                                                
<xsl:text>window.status='</xsl:text>
                                                                                
        <xsl:value-of select="//lang_include_2_statustext"/>
+                                                                               
<xsl:text>'; return true;</xsl:text>
+                                                                       
</xsl:attribute>
+                                                               </input>
+                                                       </xsl:otherwise>
+                                               </xsl:choose>
+                                       </td>
+                                       </tr>
+                               </xsl:for-each>
+                       </table>
+       </xsl:template>
+       <xsl:template name="include_list_3">
+                       <table cellpadding="2" cellspacing="2" width="80%" 
align="left">
+                               <tr class="th">
+                                       <td class="th_text" width="85%" 
align="left">
+                                               <xsl:value-of 
select="lang_name"/>
+                                       </td>
+                                       <td class="th_text" width="15%" 
align="center">
+                                               <xsl:value-of 
select="lang_select"/>
+                                       </td>
+                               </tr>
+                               <xsl:for-each select="include_list_3" >
+                                       <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="name"/>
+                                       </td>
+                                       <td align="center">
+                                               <xsl:choose>
+                                                       <xsl:when 
test="selected='selected'">
+                                                               <input 
type="checkbox" name="values[start_entity_from][]" value="{id}" 
checked="checked" onMouseout="window.status='';return true;">
+                                                                       
<xsl:attribute name="onMouseover">
+                                                                               
<xsl:text>window.status='</xsl:text>
+                                                                               
        <xsl:value-of select="//lang_include_3_statustext"/>
+                                                                               
<xsl:text>'; return true;</xsl:text>
+                                                                       
</xsl:attribute>
+                                                               </input>
+                                                       </xsl:when>
+                                                       <xsl:otherwise>
+                                                               <input 
type="checkbox" name="values[start_entity_from][]" value="{id}"  
onMouseout="window.status='';return true;">
+                                                                       
<xsl:attribute name="onMouseover">
+                                                                               
<xsl:text>window.status='</xsl:text>
+                                                                               
        <xsl:value-of select="//lang_include_3_statustext"/>
                                                                                
<xsl:text>'; return true;</xsl:text>
                                                                        
</xsl:attribute>

Index: entity.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/entity.xsl,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** entity.xsl  5 Nov 2003 21:15:50 -0000       1.6
--- entity.xsl  9 Nov 2003 20:25:10 -0000       1.7
***************
*** 184,187 ****
--- 184,217 ----
                                </xsl:when>
                        </xsl:choose>
+                       <xsl:for-each select="origin_list" >
+                               <xsl:variable name="link"><xsl:value-of 
select="link"/>&amp;id=<xsl:value-of select="id"/></xsl:variable>
+                               <tr>
+                                       <td>
+                                               <xsl:value-of select="name"/>
+                                       </td>
+                                       <td>                                    
        
+                                               <a href="{$link}"  
onMouseover="window.status='{statustext}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of select="id"/></a>
+                                       </td>
+                               </tr>
+                       </xsl:for-each>
+ 
+ 
+                       <xsl:choose>
+                               <xsl:when test="value_ticket_id!=''">
+                                       <tr>
+                                               <td>
+                                                       <xsl:value-of 
select="lang_ticket"/>
+                                               </td>
+                                               <td class="th_text"  
align="left">
+                                                       <xsl:for-each 
select="value_ticket_id" >
+                                                                       
<xsl:variable name="link_ticket"><xsl:value-of 
select="//link_ticket"/>&amp;id=<xsl:value-of select="id"/></xsl:variable>
+                                                                       <a 
href="{$link_ticket}"  
onMouseover="window.status='{//lang_ticket_statustext}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of select="id"/></a>
+                                                                       
<xsl:text> </xsl:text>
+                                                       </xsl:for-each>
+                                               </td>
+                                       </tr>
+                               </xsl:when>
+                       </xsl:choose>
+ 
                        <tr>
                                <td class="th_text">
***************
*** 192,205 ****
                                </td>
                        </tr>
                        <tr>
                                <td class="th_text">
                                        <xsl:value-of select="lang_category"/>
                                </td>
                                <td class="th_text">
!                                       <xsl:value-of select="category_name"/>
                                </td>
                        </tr>
-                       <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_id!=''">
--- 222,244 ----
                                </td>
                        </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">
                                        <xsl:value-of select="lang_category"/>
+                                       <input type="hidden" 
name="values[origin_type]" value="{value_origin_type}"></input>
+                                       <input type="hidden" 
name="values[origin_id]" value="{value_origin_id}"></input>
                                </td>
                                <td class="th_text">
!                                       <xsl:choose>
!                                               <xsl:when test="cat_list=''">
!                                                       <xsl:value-of 
select="category_name"/>
!                                               </xsl:when>
!                                               <xsl:otherwise>
!                                                       <xsl:call-template 
name="cat_select"/>                                                  
!                                               </xsl:otherwise>
!                                       </xsl:choose>
                                </td>
                        </tr>
                        <xsl:choose>
                                <xsl:when test="value_id!=''">
***************
*** 210,213 ****
--- 249,253 ----
                                                <td>
                                                        <xsl:value-of 
select="value_num"/>
+                                                       <input type="hidden" 
name="location_code" value="{location_code}"></input>
                                                        <input type="hidden" 
name="values[id]" value="{value_id}"></input>
                                                        <input type="hidden" 
name="values[num]" value="{value_num}"></input>





reply via email to

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