phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/templates/default cat_filter.xsl,1.7,1.


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/templates/default cat_filter.xsl,1.7,1.8 cat_select.xsl,1.7,1.8
Date: Sun, 20 Oct 2002 18:01:23 -0400

Update of /cvsroot/phpgroupware/phpgwapi/templates/default
In directory subversions:/tmp/cvs-serv25308

Modified Files:
        cat_filter.xsl cat_select.xsl 
Log Message:
update

Index: cat_filter.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/templates/default/cat_filter.xsl,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** cat_filter.xsl      12 Oct 2002 22:32:49 -0000      1.7
--- cat_filter.xsl      20 Oct 2002 22:01:21 -0000      1.8
***************
*** 3,9 ****
        <xsl:template name="cat_filter">
                <xsl:variable name="select_action"><xsl:value-of 
select="select_action"/></xsl:variable>
                <xsl:variable name="lang_submit"><xsl:value-of 
select="lang_submit"/></xsl:variable>
                <form method="post" action="{$select_action}">
!                       <select name="cat_id" onChange="this.form.submit();" 
onMouseout="window.status='';return true;">
                                <xsl:attribute name="onMouseover">
                                        <xsl:text>window.status='</xsl:text>
--- 3,10 ----
        <xsl:template name="cat_filter">
                <xsl:variable name="select_action"><xsl:value-of 
select="select_action"/></xsl:variable>
+               <xsl:variable name="select_name"><xsl:value-of 
select="select_name"/></xsl:variable>
                <xsl:variable name="lang_submit"><xsl:value-of 
select="lang_submit"/></xsl:variable>
                <form method="post" action="{$select_action}">
!                       <select name="{$select_name}" 
onChange="this.form.submit();" onMouseout="window.status='';return true;">
                                <xsl:attribute name="onMouseover">
                                        <xsl:text>window.status='</xsl:text>
***************
*** 16,20 ****
                        <noscript>
                                <xsl:text> </xsl:text>
!                               <input type="submit" class="forms" 
name="submit" value="{$lang_submit}"/> 
                        </noscript>
                </form>
--- 17,21 ----
                        <noscript>
                                <xsl:text> </xsl:text>
!                               <input type="submit" name="submit" 
value="{$lang_submit}"/>
                        </noscript>
                </form>
***************
*** 22,32 ****
  
        <xsl:template match="cat_list">
!       <xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
                <xsl:choose>
                        <xsl:when test="selected">
!                               <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
                        </xsl:when>
                        <xsl:otherwise>
!                               <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
                        </xsl:otherwise>
                </xsl:choose>
--- 23,33 ----
  
        <xsl:template match="cat_list">
!       <xsl:variable name="cat_id"><xsl:value-of 
select="cat_id"/></xsl:variable>
                <xsl:choose>
                        <xsl:when test="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>

Index: cat_select.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/templates/default/cat_select.xsl,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** cat_select.xsl      12 Oct 2002 22:33:01 -0000      1.7
--- cat_select.xsl      20 Oct 2002 22:01:21 -0000      1.8
***************
*** 2,7 ****
  
        <xsl:template name="cat_select">
!               <option value=""><xsl:value-of select="lang_no_cat"/></option>
!                       <xsl:apply-templates select="cat_list"/>
        </xsl:template>
  
--- 2,11 ----
  
        <xsl:template name="cat_select">
!       <xsl:variable name="lang_cat_statustext"><xsl:value-of 
select="lang_cat_statustext"/></xsl:variable>
!       <xsl:variable name="select_name"><xsl:value-of 
select="select_name"/></xsl:variable>
!               <select name="{$select_name}" class="forms" 
onMouseover="window.status='{$lang_cat_statustext}'; return true;" 
onMouseout="window.status='';return true;">
!                       <option value=""><xsl:value-of 
select="lang_no_cat"/></option>
!                               <xsl:apply-templates select="cat_list"/>
!               </select>
        </xsl:template>
  





reply via email to

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