1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

Fix path to images. CSS path doesn't work yet - I'll have a look at that tomorrow

(This used to be commit 0666499b1d)
This commit is contained in:
Jelmer Vernooij 2004-04-26 23:29:19 +00:00 committed by Gerald W. Carter
parent de523d7744
commit 74920cac5b
2 changed files with 12 additions and 5 deletions

View File

@ -104,10 +104,7 @@ txt: $(TXTDIR) $(TXTDIR)/Samba-HOWTO-Collection.txt $(TXTDIR)/Samba-Developers-G
htmlman: $(HTMLDIR) $(MANPAGES_HTML) $(HTMLDIR)/CSS htmlman: $(HTMLDIR) $(MANPAGES_HTML) $(HTMLDIR)/CSS
html-single: $(HTMLDIR) $(HTMLDIR)/CSS $(HTMLDIR)/Samba-HOWTO-Collection.html $(HTMLDIR)/Samba-Developers-Guide.html $(HTMLDIR)/Samba-Guide.html html-single: $(HTMLDIR) $(HTMLDIR)/CSS $(HTMLDIR)/Samba-HOWTO-Collection.html $(HTMLDIR)/Samba-Developers-Guide.html $(HTMLDIR)/Samba-Guide.html
@if [ ! -d $(HTMLDIR)/images/ ]; then \ cp -p $(GUIDEDOC_IMAGES_PNG) $(HOWTODIR_IMAGES_PNG) $(HTMLDIR)/images/
mkdir $(HTMLDIR)/images/; \
fi \
&& cp -p $(IMAGEPROJDIR)/*png $(HTMLDIR)/images/
html: $(HTMLDIR)/howto $(HTMLDIR)/guide $(HTMLDIR)/devel html: $(HTMLDIR)/howto $(HTMLDIR)/guide $(HTMLDIR)/devel

View File

@ -270,13 +270,23 @@
</xsl:element> </xsl:element>
</xsl:element> </xsl:element>
<xsl:element name="imageobject"> <xsl:element name="imageobject">
<xsl:attribute name="role"><xsl:text>html</xsl:text></xsl:attribute>
<xsl:element name="imagedata"> <xsl:element name="imagedata">
<xsl:attribute name="fileref"> <xsl:attribute name="fileref">
<xsl:text>howto/imagefiles/</xsl:text><xsl:value-of select="imagefile"/><xsl:text>.png</xsl:text></xsl:attribute> <xsl:text>images/</xsl:text><xsl:value-of select="imagefile"/><xsl:text>.png</xsl:text></xsl:attribute>
<xsl:attribute name="scale"><xsl:text>50</xsl:text></xsl:attribute> <xsl:attribute name="scale"><xsl:text>50</xsl:text></xsl:attribute>
<xsl:attribute name="scalefit"><xsl:text>1</xsl:text></xsl:attribute> <xsl:attribute name="scalefit"><xsl:text>1</xsl:text></xsl:attribute>
</xsl:element> </xsl:element>
</xsl:element> </xsl:element>
<xsl:element name="imageobject">
<xsl:element name="imagedata">
<xsl:attribute name="fileref">
<xsl:text>images/</xsl:text><xsl:value-of select="imagefile"/><xsl:text>.png</xsl:text></xsl:attribute>
<xsl:attribute name="scale"><xsl:text>50</xsl:text></xsl:attribute>
<xsl:attribute name="scalefit"><xsl:text>1</xsl:text></xsl:attribute>
</xsl:element>
</xsl:element>
</xsl:element> </xsl:element>
</xsl:element> </xsl:element>
</xsl:template> </xsl:template>