summaryrefslogtreecommitdiffstats
path: root/help3xsl/online_transform.xsl
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2018-09-05 17:19:44 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2018-09-06 17:06:15 +0200
commit39da00d7b4006f8bffe2075ac7c58afbdbc81785 (patch)
tree2ffab948b4a25dc8a89bc21ef3e573ea9fb332a7 /help3xsl/online_transform.xsl
parentShow how beautiful are our icons (diff)
downloadhelp-39da00d7b4006f8bffe2075ac7c58afbdbc81785.tar.gz
help-39da00d7b4006f8bffe2075ac7c58afbdbc81785.zip
tdf#117551 Change icons to SVG equivalent
Change-Id: I5d174b434429485d270ba7b6e9147a3bc2b84828 Reviewed-on: https://gerrit.libreoffice.org/60056 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl/online_transform.xsl')
-rw-r--r--help3xsl/online_transform.xsl7
1 files changed, 4 insertions, 3 deletions
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index 67ea702201..cbd43cd7e5 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -99,9 +99,9 @@
<xsl:variable name="linkpostfix" select="''"/>
<!-- images for notes, tips and warnings -->
-<xsl:variable name="note_img" select="concat($img_url_prefix,'icon-themes/help/note.png')"/>
-<xsl:variable name="tip_img" select="concat($img_url_prefix,'icon-themes/help/tip.png')"/>
-<xsl:variable name="warning_img" select="concat($img_url_prefix,'icon-themes/help/warning.png')"/>
+<xsl:variable name="note_img" select="concat($img_url_prefix,'icon-themes/help/note.svg')"/>
+<xsl:variable name="tip_img" select="concat($img_url_prefix,'icon-themes/help/tip.svg')"/>
+<xsl:variable name="warning_img" select="concat($img_url_prefix,'icon-themes/help/warning.svg')"/>
<!-- Strings for the help UI page -->
<xsl:variable name="tmp_href_ui"><xsl:value-of select="concat($urlpre,'text/shared/help/browserhelp.xhp')"/></xsl:variable>
@@ -1092,6 +1092,7 @@
<xsl:attribute name="style"><xsl:value-of select="$width"/><xsl:value-of select="$height"/></xsl:attribute>
<xsl:if test="ancestor::tablecell">
<xsl:attribute name="class"><xsl:value-of select="'imageicon'"/></xsl:attribute>
+ <xsl:attribute name="src"><xsl:value-of select="concat(substring-before($src2,'.png'),'.svg')"/></xsl:attribute>
</xsl:if>
</img>
</xsl:template>