diff options
author | Frank Peters <fpe@openoffice.org> | 2004-08-19 18:45:01 +0000 |
---|---|---|
committer | Frank Peters <fpe@openoffice.org> | 2004-08-19 18:45:01 +0000 |
commit | 70bb607da25eb1affc75d050212cd9b5281ef57c (patch) | |
tree | a985ca81a01fc1dd8ae96fa9910d3c77895dbbd4 /helpcontent2 | |
parent | 5ffa2c7b07952a4e20c4da1321845ebc9fa1f656 (diff) |
main_transform fixed link prefix
Diffstat (limited to 'helpcontent2')
-rw-r--r-- | helpcontent2/source/auxiliary/main_transform.xsl | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/helpcontent2/source/auxiliary/main_transform.xsl b/helpcontent2/source/auxiliary/main_transform.xsl index 29572310a4..fea5889d52 100644 --- a/helpcontent2/source/auxiliary/main_transform.xsl +++ b/helpcontent2/source/auxiliary/main_transform.xsl @@ -142,11 +142,12 @@ <!-- parts of help and image urls --> -<xsl:variable name="help_url_prefix" select="concat('vnd.sun.star.help:///',$module,'/')"/> +<xsl:variable name="help_url_prefix" select="concat('vnd.sun.star.help://',$module,'/')"/> <xsl:variable name="img_url_prefix" select="concat('vnd.sun.star.pkg://',$imgrepos,'/')"/> -<xsl:variable name="urlpost" select="concat('?Language=',$lang,$am,'System=',$System)"/> +<xsl:variable name="urlpost" select="concat('?Language=',$lang,$am,'System=',$System,$am,'UseDB=no')"/> <xsl:variable name="urlpre" select="$help_url_prefix" /> -<xsl:variable name="linkprefix" select="''"/> +<xsl:variable name="linkprefix" select="$urlpre"/> +<xsl:variable name="linkpostfix" select="$urlpost"/> <!-- DEBUG: <xsl:variable name="help_url_prefix" select="'file:///handbuch/WORKBENCH/help2/source/'"/> @@ -407,7 +408,7 @@ </xsl:when> <xsl:otherwise> - <xsl:variable name="href"><xsl:value-of select="concat($linkprefix,@href)"/></xsl:variable> + <xsl:variable name="href"><xsl:value-of select="concat($linkprefix,@href,$linkpostfix)"/></xsl:variable> <a href="{$href}"><xsl:apply-templates /></a> </xsl:otherwise> @@ -416,7 +417,7 @@ <xsl:template match="link" mode="embedded"> <xsl:variable name="href"> - <xsl:value-of select="concat($linkprefix,@href,$urlpost)"/> + <xsl:value-of select="concat($linkprefix,@href,$linkpostfix)"/> </xsl:variable> <a href="{$href}"><xsl:apply-templates /></a> </xsl:template> |