phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/templates/default/admin.xsl, 1.1.1.2


From: nomail
Subject: [Phpgroupware-cvs] property/templates/default/admin.xsl, 1.1.1.2
Date: Tue, 1 Jun 2004 15:05:28 +0200

Update of /property/templates/default
Modified Files:
        Branch: 
          admin.xsl

date: 2004/06/01 13:05:28;  author: sigurdne;  state: Exp;  lines: +25 -0

Log Message:
no message
=====================================================================
Index: property/templates/default/admin.xsl
diff -u property/templates/default/admin.xsl:1.1.1.1 
property/templates/default/admin.xsl:1.1.1.2
--- property/templates/default/admin.xsl:1.1.1.1        Fri Apr 23 13:14:14 2004
+++ property/templates/default/admin.xsl        Tue Jun  1 13:05:28 2004
@@ -709,6 +709,19 @@
                                        </select>
                                </td>
                        </tr>
+                       <tr>
+                               <td valign="top">
+                                       <xsl:value-of 
select="lang_default_vendor_category"/>
+                               </td>
+                               <td align="left">
+                                       <input type="hidden" 
name="values[old_default_vendor_category]" 
value="{value_old_default_vendor_category}"></input>
+                                       <xsl:variable 
name="lang_default_vendor_category_statustext"><xsl:value-of 
select="lang_default_vendor_category_statustext"/></xsl:variable>
+                                       <select 
name="values[default_vendor_category]" class="forms" 
onMouseover="window.status='{$lang_default_vendor_category_statustext}'; return 
true;" onMouseout="window.status='';return true;">
+                                               <option value=""><xsl:value-of 
select="lang_no_cat"/></option>
+                                               <xsl:apply-templates 
select="vendor_category"/>
+                                       </select>
+                               </td>
+                       </tr>
                        <tr height="50">
                                <td>
                                        <xsl:variable 
name="lang_save"><xsl:value-of select="lang_save"/></xsl:variable>
@@ -750,6 +763,18 @@
                        </xsl:when>
                        <xsl:otherwise>
                                <option value="{$user_id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
+                       </xsl:otherwise>
+               </xsl:choose>
+       </xsl:template>
+
+       <xsl:template match="vendor_category">
+       <xsl:variable name="cat_id"><xsl:value-of 
select="cat_id"/></xsl:variable>
+               <xsl:choose>
+                       <xsl:when test="selected='selected'">
+                               <option value="{$cat_id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
+                       </xsl:when>
+                       <xsl:otherwise>
+                               <option value="{$cat_id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
                        </xsl:otherwise>
                </xsl:choose>
        </xsl:template>




reply via email to

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