ugo 2004/02/07 02:15:23
Modified: src/blocks/woody/samples/resources woody-field-styling.xsl
Log:
Fixed relative path for HTMLArea.
Revision Changes Path
1.41 +2 -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.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- woody-field-styling.xsl 6 Feb 2004 10:10:14 -0000 1.40
+++ woody-field-styling.xsl 7 Feb 2004 10:15:23 -0000 1.41
@@ -5,6 +5,7 @@
exclude-result-prefixes="wi">
<!--+
| This stylesheet is designed to be included by
'woody-samples-styling.xsl'.
+ | Version CVS $Id$
+-->
<!-- Location of the resources directory, where JS libs and icons are
stored -->
@@ -15,7 +16,7 @@
<script src="{$resources-uri}/mattkruse-lib/PopupWindow.js"
type="text/javascript"/>
<script src="{$resources-uri}/woody-lib.js" type="text/javascript"/>
<script type="text/javascript">
- _editor_url = "resources/htmlarea/";
+ _editor_url = "<xsl:value-of select="concat($resources-uri,
'/htmlarea/')"/>";
_editor_lang = "en";
</script>
<script type="text/javascript"
src="{$resources-uri}/htmlarea/htmlarea.js"></script>