|
From: | Bettina Gille <address@hidden> |
Subject: | [Phpgroupware-cvs] phpgwapi/templates/default categories.xsl, NONE, 1.1 nextmatchs.xsl, 1.8, 1.9 cat_filter.xsl, 1.10, NONE cat_select.xsl, 1.9, NONE |
Date: | Thu, 13 Nov 2003 13:51:41 +0000 |
Update of /cvsroot/phpgroupware/phpgwapi/templates/default In directory subversions:/tmp/cvs-serv18066/templates/default Modified Files: nextmatchs.xsl Added Files: categories.xsl Removed Files: cat_filter.xsl cat_select.xsl Log Message: update categories --- cat_select.xsl DELETED --- --- cat_filter.xsl DELETED --- --- NEW FILE: categories.xsl --- <!-- $Id: categories.xsl,v 1.1 2003/11/13 13:51:38 ceb Exp $ --> <xsl:template name="categories"> <xsl:choose> <xsl:when test="cat_filter != ''"> <xsl:apply-templates select="cat_filter"/> </xsl:when> <xsl:when test="cat_select != ''"> <xsl:apply-templates select="cat_select"/> </xsl:when> </xsl:choose> </xsl:template> <xsl:template match="cat_filter"> <xsl:variable name="select_url"><xsl:value-of select="select_url"/></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_url}"> <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="none"><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_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="none"><xsl:value-of select="lang_no_cat"/></option> <xsl:apply-templates select="cat_list"/> </select> </xsl:template> <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> </xsl:template> Index: nextmatchs.xsl =================================================================== RCS file: /cvsroot/phpgroupware/phpgwapi/templates/default/nextmatchs.xsl,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** nextmatchs.xsl 11 Nov 2003 13:42:00 -0000 1.8 --- nextmatchs.xsl 13 Nov 2003 13:51:39 -0000 1.9 *************** *** 88,92 **** </xsl:choose> ! <xsl:choose> <xsl:when test="number($num_records) = number(0)"> <td nowrap="nowrap" align="center">0 - 0 of 0 </td> --- 88,92 ---- </xsl:choose> ! <!-- <xsl:choose> <xsl:when test="number($num_records) = number(0)"> <td nowrap="nowrap" align="center">0 - 0 of 0 </td> *************** *** 108,113 **** </xsl:choose> </xsl:otherwise> ! </xsl:choose> ! <xsl:choose> <xsl:when test="number($all_records) > (number($start_record) + number($record_limit))"> --- 108,114 ---- </xsl:choose> </xsl:otherwise> ! </xsl:choose> --> ! ! <td nowrap="nowrap" align="center"><xsl:value-of select="lang_showing"/></td> <xsl:choose> <xsl:when test="number($all_records) > (number($start_record) + number($record_limit))">
[Prev in Thread] | Current Thread | [Next in Thread] |