Gentoo Archives: gentoo-commits

From: "Xavier Neys (neysx)" <neysx@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide2.xsl guide.xsl
Date: Sun, 28 Sep 2008 14:02:19
Message-Id: E1Kjwqm-0006p0-4d@stork.gentoo.org
1 neysx 08/09/28 14:02:16
2
3 Modified: guide2.xsl guide.xsl
4 Log:
5 #234823 Add link to full book
6
7 Revision Changes Path
8 1.35 xml/htdocs/xsl/guide2.xsl
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide2.xsl?rev=1.35&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide2.xsl?rev=1.35&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide2.xsl?r1=1.34&r2=1.35
13
14 Index: guide2.xsl
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide2.xsl,v
17 retrieving revision 1.34
18 retrieving revision 1.35
19 diff -u -r1.34 -r1.35
20 --- guide2.xsl 8 Aug 2008 23:27:20 -0000 1.34
21 +++ guide2.xsl 28 Sep 2008 14:02:15 -0000 1.35
22 @@ -1829,7 +1829,7 @@
23 </xsl:variable>
24
25 <table border="0" cellspacing="4px" cellpadding="4px">
26 - <!-- Add a "printer-friendly" button when link attribute exists -->
27 + <!-- Add a "printer-friendly" -->
28 <xsl:if test="/book or /guide">
29 <tr>
30 <td class="topsep" align="center">
31 @@ -1855,6 +1855,27 @@
32 </td>
33 </tr>
34 </xsl:if>
35 + <!-- Add link to full handbook -->
36 + <xsl:if test="$TTOP='book' and $full=0">
37 + <tr>
38 + <td class="topsep" align="center">
39 + <p class="altmenu">
40 + <xsl:variable name="ShowFullHBTip"><xsl:value-of select="func:gettext('ShowFullHBTip')"/></xsl:variable>
41 + <xsl:variable name="href">
42 + <xsl:choose>
43 + <xsl:when test="$part != 0 and $chap != 0">
44 + <xsl:value-of select="concat($link, '?full=1#book_part',$part,'_chap',$chap)"/>
45 + </xsl:when>
46 + <xsl:otherwise>
47 + <xsl:value-of select="concat($link, '?full=1')"/>
48 + </xsl:otherwise>
49 + </xsl:choose>
50 + </xsl:variable>
51 + <a title="{$ShowFullHBTip}" class="altlink" href="{$href}"><xsl:value-of select="func:gettext('ShowFullHB')"/></a>
52 + </p>
53 + </td>
54 + </tr>
55 + </xsl:if>
56 <xsl:if test="/book/date or /guide/date or /sections/date or /mainpage/date or /news/date">
57 <tr>
58 <td class="topsep">
59
60
61
62 1.238 xml/htdocs/xsl/guide.xsl
63
64 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.238&view=markup
65 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.238&content-type=text/plain
66 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide.xsl?r1=1.237&r2=1.238
67
68 Index: guide.xsl
69 ===================================================================
70 RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
71 retrieving revision 1.237
72 retrieving revision 1.238
73 diff -u -r1.237 -r1.238
74 --- guide.xsl 3 Sep 2008 21:46:06 -0000 1.237
75 +++ guide.xsl 28 Sep 2008 14:02:15 -0000 1.238
76 @@ -1681,7 +1681,7 @@
77 </xsl:variable>
78
79 <table border="0" cellspacing="4px" cellpadding="4px">
80 - <!-- Add a "printer-friendly" button when link attribute exists -->
81 + <!-- Add a "printer-friendly" -->
82 <xsl:if test="/book or /guide">
83 <tr>
84 <td class="topsep" align="center">
85 @@ -1707,6 +1707,27 @@
86 </td>
87 </tr>
88 </xsl:if>
89 + <!-- Add link to full handbook -->
90 + <xsl:if test="$TTOP='book' and $full=0">
91 + <tr>
92 + <td class="topsep" align="center">
93 + <p class="altmenu">
94 + <xsl:variable name="ShowFullHBTip"><xsl:value-of select="func:gettext('ShowFullHBTip')"/></xsl:variable>
95 + <xsl:variable name="href">
96 + <xsl:choose>
97 + <xsl:when test="$part != 0 and $chap != 0">
98 + <xsl:value-of select="concat($link, '?full=1#book_part',$part,'_chap',$chap)"/>
99 + </xsl:when>
100 + <xsl:otherwise>
101 + <xsl:value-of select="concat($link, '?full=1')"/>
102 + </xsl:otherwise>
103 + </xsl:choose>
104 + </xsl:variable>
105 + <a title="{$ShowFullHBTip}" class="altlink" href="{$href}"><xsl:value-of select="func:gettext('ShowFullHB')"/></a>
106 + </p>
107 + </td>
108 + </tr>
109 + </xsl:if>
110 <xsl:if test="/book/date or /guide/date or /sections/date or /mainpage/date or /news/date">
111 <tr>
112 <td class="topsep">