phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] admin/templates/default app_data.xsl,1.7,1.8


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] admin/templates/default app_data.xsl,1.7,1.8
Date: Fri, 07 Nov 2003 16:02:32 +0000

Update of /cvsroot/phpgroupware/admin/templates/default
In directory subversions:/tmp/cvs-serv28330/templates/default

Modified Files:
        app_data.xsl 
Log Message:
update

Index: app_data.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/admin/templates/default/app_data.xsl,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** app_data.xsl        3 May 2003 23:24:23 -0000       1.7
--- app_data.xsl        7 Nov 2003 16:02:29 -0000       1.8
***************
*** 27,30 ****
--- 27,33 ----
                                <xsl:call-template name="app_delete"/>
                        </xsl:when>
+                       <xsl:when test="addressmaster_list">
+                               <xsl:apply-templates 
select="addressmaster_list"/>
+                       </xsl:when>
                        <xsl:otherwise>
                                <xsl:apply-templates select="list"/>
***************
*** 89,92 ****
--- 92,188 ----
                        </xsl:attribute>
                        <td colspan="2">&nbsp;&#8226;&nbsp;<a 
href="{$pref_link}"><xsl:value-of select="pref_text"/></a></td>
+               </tr>
+       </xsl:template>
+ 
+ <!-- BEGIN addressmaster list -->
+ 
+       <xsl:template match="addressmaster_list">
+               <center>
+               <table width="80%" border="0" cellpadding="2" cellspacing="2">  
+                       <tr class="th">
+                               <td colspan="3"><xsl:value-of 
select="lang_users"/></td>
+                       </tr>
+                       <tr class="th">
+                               <td width="33%"><xsl:value-of 
select="sort_lid"/></td>
+                               <td width="33%"><xsl:value-of 
select="sort_firstname"/></td>
+                               <td width="33%"><xsl:value-of 
select="sort_lastname"/></td>
+                       </tr>
+ 
+ <!-- BEGIN user_list -->
+                       <xsl:if test="addressmaster_user != ''">
+                               <xsl:apply-templates 
select="addressmaster_user"/>
+                       </xsl:if>
+ <!-- END user_list -->
+ 
+                       <tr height="5">
+                               <td>&nbsp;</td>
+                       </tr>
+                       <tr class="th">
+                               <td colspan="3"><xsl:value-of 
select="lang_groups"/></td>
+                       </tr>
+                       <tr class="th">
+                               <td width="33%"><xsl:value-of 
select="sort_lid"/></td>
+                               <td width="33%">&nbsp;</td>
+                               <td width="33%">&nbsp;</td>
+                       </tr>
+ 
+ <!-- BEGIN group_list -->
+                       <xsl:if test="addressmaster_group != ''">
+                               <xsl:apply-templates 
select="addressmaster_group"/>
+                       </xsl:if>
+ <!-- END group_list -->
+ 
+                       <tr valign="bottom" height="50">
+                               <xsl:variable name="action_url" 
select="action_url"/>
+                               <xsl:variable name="lang_edit" 
select="lang_edit"/>
+                               <xsl:variable name="lang_done" 
select="lang_done"/>
+                               <form method="POST" action="{$action_url}">
+                               <td colspan="2"><input type="submit" 
name="edit" value="{$lang_edit}"/></td>
+                               <td colspan="2" align="right"><input 
type="submit" name="done" value="{$lang_done}"/></td>
+                               </form>
+                       </tr>
+               </table>
+               </center>
+       </xsl:template>
+ 
+       <xsl:template match="addressmaster_user">
+               <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><xsl:value-of select="lid"/></td>
+                       <td><xsl:value-of select="firstname"/></td>
+                       <td><xsl:value-of select="lastname"/></td>
+               </tr>
+       </xsl:template>
+ 
+       <xsl:template match="addressmaster_group">
+               <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><xsl:value-of select="lid"/></td>
+                       <td>&nbsp;</td>
+                       <td>&nbsp;</td>
                </tr>
        </xsl:template>





reply via email to

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