|
From: | Sigurd Nes <address@hidden> |
Subject: | [Phpgroupware-cvs] property/templates/default document.xsl, 1.9, 1.10 |
Date: | Tue, 25 Nov 2003 16:03:27 +0000 |
Update of /cvsroot/phpgroupware/property/templates/default In directory subversions:/tmp/cvs-serv11103/templates/default Modified Files: document.xsl Log Message: no message Index: document.xsl =================================================================== RCS file: /cvsroot/phpgroupware/property/templates/default/document.xsl,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** document.xsl 23 Nov 2003 19:22:09 -0000 1.9 --- document.xsl 25 Nov 2003 16:03:24 -0000 1.10 *************** *** 34,38 **** <xsl:when test="cat_list!=''"> <td align="left"> ! <xsl:call-template name="cat_filter"/> </td> </xsl:when> --- 34,38 ---- <xsl:when test="cat_list!=''"> <td align="left"> ! <xsl:call-template name="cat_filter2"/> </td> </xsl:when> *************** *** 67,70 **** --- 67,103 ---- + <xsl:template name="cat_filter2"> + <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> + <xsl:value-of select="lang_cat_statustext"/> + <xsl:text>'; return true;</xsl:text> + </xsl:attribute> + <option value=""><xsl:value-of select="lang_no_cat"/></option> + <xsl:apply-templates select="cat_list"/> + </select> + <noscript> + <xsl:text> </xsl:text> + <input type="submit" name="submit" value="{$lang_submit}"/> + </noscript> + </form> + </xsl:template> + + <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> + </xsl:template> + + <xsl:template match="list_document"> <xsl:call-template name="menu"/> *************** *** 138,142 **** </td> <td class="th_text" width="2%" align="left"> ! <xsl:value-of select="lang_category"/> </td> <td class="th_text" width="5%" align="left"> --- 171,175 ---- </td> <td class="th_text" width="2%" align="left"> ! <xsl:value-of select="lang_doc_type"/> </td> <td class="th_text" width="5%" align="left"> *************** *** 204,208 **** </td> <td align="left"> ! <xsl:value-of select="category"/> </td> <td align="left"> --- 237,241 ---- </td> <td align="left"> ! <xsl:value-of select="doc_type"/> </td> <td align="left">
[Prev in Thread] | Current Thread | [Next in Thread] |