Update of /var/cvs/applications/editwizard/templates/data/xsl
In directory james.mmbase.org:/tmp/cvs-serv26254/data/xsl
Modified Files:
Tag: MMBase-1_8
base.xsl list.xsl
Log Message:
IMHO completely arbitrary 'nobr' tags where added in list.xsl. Moved that to
CSS s that it is at least easy to escape it
See also:
http://cvs.mmbase.org/viewcvs/applications/editwizard/templates/data/xsl
Index: base.xsl
===================================================================
RCS file: /var/cvs/applications/editwizard/templates/data/xsl/base.xsl,v
retrieving revision 1.35.2.2
retrieving revision 1.35.2.3
diff -u -b -r1.35.2.2 -r1.35.2.3
--- base.xsl 31 May 2007 11:57:38 -0000 1.35.2.2
+++ base.xsl 14 Oct 2008 12:48:17 -0000 1.35.2.3
@@ -7,7 +7,7 @@
@author Michiel Meeuwissen
@author Nico Klasens
@author Martijn Houtman
- @version $Id: base.xsl,v 1.35.2.2 2007/05/31 11:57:38 michiel Exp $
+ @version $Id: base.xsl,v 1.35.2.3 2008/10/14 12:48:17 michiel Exp $
-->
<xsl:import href="xsl/prompts.xsl" />
@@ -347,7 +347,7 @@
<xsl:value-of select="$nodes[lang($language)]"
disable-output-escaping="yes" />
</xsl:when>
<!-- default to english -->
- <xsl:when test="$nodes[lang('en')]">
+ <xsl:when test="$nodes[lang('en')]">
<xsl:value-of select="$nodes[lang('en')]"
disable-output-escaping="yes" />
</xsl:when>
<xsl:otherwise>
Index: list.xsl
===================================================================
RCS file: /var/cvs/applications/editwizard/templates/data/xsl/list.xsl,v
retrieving revision 1.43.2.7
retrieving revision 1.43.2.8
diff -u -b -r1.43.2.7 -r1.43.2.8
--- list.xsl 3 Mar 2008 10:35:34 -0000 1.43.2.7
+++ list.xsl 14 Oct 2008 12:48:17 -0000 1.43.2.8
@@ -7,7 +7,7 @@
@author Kars Veling
@author Michiel Meeuwissen
@author Nico Klasens
- @version $Id: list.xsl,v 1.43.2.7 2008/03/03 10:35:34 andre Exp $
+ @version $Id: list.xsl,v 1.43.2.8 2008/10/14 12:48:17 michiel Exp $
-->
<xsl:import href="xsl/baselist.xsl" />
@@ -404,16 +404,16 @@
</xsl:template>
<xsl:template match="field">
- <td class="field">
- <xsl:if test="position() > 1">
- <nobr>
+ <td class="field [EMAIL PROTECTED] pos{position()}">
+ <xsl:choose>
+ <xsl:when test="position() > 1">
<xsl:call-template name="writeCurrentField" />
- </nobr>
- </xsl:if>
- <xsl:if test="position()=1">
+ </xsl:when>
+ <xsl:otherwise>
<xsl:call-template name="writeCurrentField" />
<xsl:text disable-output-escaping="yes">&nbsp;</xsl:text>
- </xsl:if>
+ </xsl:otherwise>
+ </xsl:choose>
</td>
</xsl:template>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs