jeremy 2003/11/18 05:13:04
Modified: src/blocks/woody/samples/resources woody-field-styling.xsl
Log:
udated confpatch tasks to copy smtp-host from build.properties to
cocoon.xconf. override this value (the default is 127.0.0.1) by creating a
local.build.properties
Revision Changes Path
1.14 +6 -1
cocoon-2.1/src/blocks/woody/samples/resources/woody-field-styling.xsl
Index: woody-field-styling.xsl
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/blocks/woody/samples/resources/woody-field-styling.xsl,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- woody-field-styling.xsl 16 Nov 2003 01:00:17 -0000 1.13
+++ woody-field-styling.xsl 18 Nov 2003 13:13:04 -0000 1.14
@@ -75,8 +75,13 @@
<xsl:if test="@required='true'">
<span class="woody-field-required"> * </span>
</xsl:if>
+ <xsl:apply-templates select="wi:help"/>
</xsl:template>
-
+
+ <xsl:template match="wi:help">
+ <a href="#" style="color:orange; font-weight: bold"
onclick="alert('{normalize-space(.)}'); return false;"> ? </a>
+ </xsl:template>
+
<xsl:template match="wi:validation-message">
<a href="#" class="woody-validation-message-indicator"
onclick="alert('{normalize-space(.)}'); return false;"> ! </a>
</xsl:template>