Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 52106 Details for
Bug 82199
[Request] The style=printable URL option become hereditary
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for handbook.xsl
TEMPFILE (text/plain), 2.87 KB, created by
Sven Vermeulen (RETIRED)
on 2005-02-25 02:23:38 UTC
(
hide
)
Description:
Patch for handbook.xsl
Filename:
MIME Type:
Creator:
Sven Vermeulen (RETIRED)
Created:
2005-02-25 02:23:38 UTC
Size:
2.87 KB
patch
obsolete
>Index: handbook.xsl >=================================================================== >RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/handbook.xsl,v >retrieving revision 1.25 >diff -u -t -r1.25 handbook.xsl >--- handbook.xsl 5 Feb 2005 12:42:14 -0000 1.25 >+++ handbook.xsl 25 Feb 2005 10:23:14 -0000 >@@ -49,12 +49,21 @@ > <xsl:for-each select="part"> > <xsl:variable name="curpart" select="position()" /> > <li> >- <xsl:if test="$full = 0"> >- <b><a href="{/book/@link}?part={$curpart}&chap=0"><xsl:value-of select="title" /></a></b> >- </xsl:if> >- <xsl:if test="$full = 1"> >- <b><a href="#book_part{$curpart}"><xsl:value-of select="title" /></a></b> >- </xsl:if> >+ <xsl:choose> >+ <xsl:when test="$full = 0"> >+ <xsl:choose> >+ <xsl:when test="$style != 'printable'"> >+ <b><a href="{/book/@link}?part={$curpart}&chap=0"><xsl:value-of select="title" /></a></b> >+ </xsl:when> >+ <xsl:otherwise> >+ <b><a href="{/book/@link}?part={$curpart}&chap=0&style=printable"><xsl:value-of select="title" /></a></b> >+ </xsl:otherwise> >+ </xsl:choose> >+ </xsl:when> >+ <xsl:otherwise> >+ <b><a href="#book_part{$curpart}"><xsl:value-of select="title" /></a></b> >+ </xsl:otherwise> >+ </xsl:choose> > <xsl:if test="abstract"> > <br /> > <xsl:value-of select="abstract" /> >@@ -63,12 +72,21 @@ > <xsl:for-each select="chapter"> > <xsl:variable name="curchap" select="position()" /> > <li> >- <xsl:if test="$full = 0"> >- <b><a href="{/book/@link}?part={$curpart}&chap={$curchap}"><xsl:value-of select="title" /></a></b> >- </xsl:if> >- <xsl:if test="$full = 1"> >- <b><a href="#book_part{$curpart}_chap{$curchap}"><xsl:value-of select="title" /></a></b> >- </xsl:if> >+ <xsl:choose> >+ <xsl:when test="$full = 0"> >+ <xsl:choose> >+ <xsl:when test="$style != 'printable'"> >+ <b><a href="{/book/@link}?part={$curpart}&chap={$curchap}"><xsl:value-of select="title" /></a></b> >+ </xsl:when> >+ <xsl:otherwise> >+ <b><a href="{/book/@link}?part={$curpart}&chap={$curchap}&style=printable"><xsl:value-of select="title" /></a></b> >+ </xsl:otherwise> >+ </xsl:choose> >+ </xsl:when> >+ <xsl:otherwise> >+ <b><a href="#book_part{$curpart}_chap{$curchap}"><xsl:value-of select="title" /></a></b> >+ </xsl:otherwise> >+ </xsl:choose> > <xsl:if test="abstract"> > <br/> > <xsl:value-of select="abstract" />
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 82199
:
52105
|
52106
|
52247