Changeset 8c5aa90 for stylesheets/xhtml/lfs-navigational.xsl
- Timestamp:
- 05/08/2004 02:02:56 PM (20 years ago)
- Children:
- 27d11cd
- Parents:
- 215e6dc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/xhtml/lfs-navigational.xsl
r215e6dc r8c5aa90 41 41 </div> 42 42 </xsl:if> 43 < ulclass="headerlinks">43 <div class="headerlinks"> 44 44 <xsl:if test="count($prev)>0 and $prev != $home"> 45 < li>45 <div class='prev'> 46 46 <a accesskey="p"> 47 47 <xsl:attribute name="href"> … … 52 52 <xsl:text>Prev</xsl:text> 53 53 </a> 54 </ li>54 </div> 55 55 </xsl:if> 56 <li> 56 <xsl:if test="count($next)>0"> 57 <div class='next'> 58 <a accesskey="n"> 59 <xsl:attribute name="href"> 60 <xsl:call-template name="href.target"> 61 <xsl:with-param name="object" select="$next"/> 62 </xsl:call-template> 63 </xsl:attribute> 64 <xsl:text>Next</xsl:text> 65 </a> 66 </div> 67 </xsl:if> 68 <div class='home'> 57 69 <a accesskey="h"> 58 70 <xsl:attribute name="href"> … … 63 75 <xsl:text>Home</xsl:text> 64 76 </a> 65 </li> 66 <xsl:if test="count($next)>0"> 67 <li> 68 <a accesskey="n"> 69 <xsl:attribute name="href"> 70 <xsl:call-template name="href.target"> 71 <xsl:with-param name="object" select="$next"/> 72 </xsl:call-template> 73 </xsl:attribute> 74 <xsl:text>Next</xsl:text> 75 </a> 76 </li> 77 </xsl:if> 78 </ul> 77 </div> 78 </div> 79 79 </div> 80 <hr/>81 80 </xsl:if> 82 81 </xsl:template> … … 92 91 or count($next) > 0 or generate-id($home) != generate-id(.)"/> 93 92 <xsl:if test="$row"> 94 <hr/>95 93 <div class="navfooter"> 96 <ul>97 94 <xsl:if test="count($prev)>0 and $prev != $home"> 98 < li>95 <div class='prev'> 99 96 <a accesskey="p"> 100 97 <xsl:attribute name="href"> … … 104 101 </xsl:attribute> 105 102 <xsl:text>Prev</xsl:text> 106 </a> 103 </a><br/> 107 104 <xsl:text> </xsl:text> 108 105 <xsl:apply-templates select="$prev" mode="object.title.markup"/> 109 </li> 106 </div> 107 </xsl:if> 108 <xsl:if test="count($next)>0"> 109 <div class='next'> 110 <a accesskey="n"> 111 <xsl:attribute name="href"> 112 <xsl:call-template name="href.target"> 113 <xsl:with-param name="object" select="$next"/> 114 </xsl:call-template> 115 </xsl:attribute> 116 <xsl:text>Next</xsl:text> 117 </a><br/> 118 <xsl:text> </xsl:text> 119 <xsl:apply-templates select="$next" mode="object.title.markup"/> 120 </div> 110 121 </xsl:if> 111 122 <xsl:if test="count($up)>0 and $up != $home"> 112 < li>123 <div class='up'> 113 124 <a accesskey="u"> 114 125 <xsl:attribute name="href"> … … 118 129 </xsl:attribute> 119 130 <xsl:text>Up</xsl:text> 120 </a> 121 </li> 131 </a> 132 <xsl:if test="$home != ."> 133 <div class='home'> 134 <a accesskey="h"> 135 <xsl:attribute name="href"> 136 <xsl:call-template name="href.target"> 137 <xsl:with-param name="object" select="$home"/> 138 </xsl:call-template> 139 </xsl:attribute> 140 <xsl:text>Home</xsl:text> 141 </a> 142 </div> 143 </xsl:if> 144 </div> 122 145 </xsl:if> 123 <xsl:if test="$home != .">124 <li>125 <a accesskey="h">126 <xsl:attribute name="href">127 <xsl:call-template name="href.target">128 <xsl:with-param name="object" select="$home"/>129 </xsl:call-template>130 </xsl:attribute>131 <xsl:text>Home</xsl:text>132 </a>133 </li>134 </xsl:if>135 <xsl:if test="count($next)>0">136 <li>137 <a accesskey="n">138 <xsl:attribute name="href">139 <xsl:call-template name="href.target">140 <xsl:with-param name="object" select="$next"/>141 </xsl:call-template>142 </xsl:attribute>143 <xsl:text>Next</xsl:text>144 </a>145 <xsl:text> </xsl:text>146 <xsl:apply-templates select="$next" mode="object.title.markup"/>147 </li>148 </xsl:if>149 </ul>150 146 </div> 151 147 </xsl:if> … … 153 149 154 150 </xsl:stylesheet> 155 156
Note:
See TracChangeset
for help on using the changeset viewer.