[ded6ddd] | 1 | <?xml version='1.0' encoding='ISO-8859-1'?>
|
---|
| 2 |
|
---|
| 3 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
---|
| 4 | xmlns="http://www.w3.org/1999/xhtml"
|
---|
| 5 | version="1.0">
|
---|
| 6 |
|
---|
| 7 | <!-- Dropping the HEAD links -->
|
---|
| 8 | <xsl:template name="html.head">
|
---|
| 9 | <head>
|
---|
| 10 | <xsl:call-template name="system.head.content"/>
|
---|
| 11 | <xsl:call-template name="head.content"/>
|
---|
| 12 | <xsl:call-template name="user.head.content"/>
|
---|
| 13 | </head>
|
---|
| 14 | </xsl:template>
|
---|
| 15 |
|
---|
[a9e89d0] | 16 | <!-- Header Navigation-->
|
---|
[ded6ddd] | 17 | <xsl:template name="header.navigation">
|
---|
| 18 | <xsl:param name="prev" select="/foo"/>
|
---|
| 19 | <xsl:param name="next" select="/foo"/>
|
---|
| 20 | <xsl:param name="nav.context"/>
|
---|
| 21 | <xsl:variable name="home" select="/*[1]"/>
|
---|
| 22 | <xsl:variable name="up" select="parent::*"/>
|
---|
| 23 | <xsl:variable name="row" select="count($prev) > 0 or (count($up) > 0
|
---|
| 24 | and generate-id($up) != generate-id($home)) or count($next) > 0"/>
|
---|
| 25 | <xsl:if test="$row and $home != .">
|
---|
| 26 | <div class="navheader">
|
---|
| 27 | <xsl:if test="$home != .">
|
---|
| 28 | <div class="headertitles">
|
---|
| 29 | <p>
|
---|
| 30 | <xsl:apply-templates select="$home" mode="object.title.markup"/>
|
---|
| 31 | <xsl:text> - </xsl:text>
|
---|
| 32 | <xsl:apply-templates select="$home" mode="object.subtitle.markup"/>
|
---|
| 33 | </p>
|
---|
| 34 | <xsl:if test="$up != $home">
|
---|
| 35 | <p><b>
|
---|
| 36 | <xsl:apply-templates select="$up" mode="object.title.markup"/>
|
---|
| 37 | </b></p>
|
---|
| 38 | </xsl:if>
|
---|
| 39 | </div>
|
---|
| 40 | </xsl:if>
|
---|
[4238149] | 41 | <ul class="headerlinks">
|
---|
[ded6ddd] | 42 | <xsl:if test="count($prev)>0 and $prev != $home">
|
---|
[4238149] | 43 | <li class="prev">
|
---|
[ded6ddd] | 44 | <a accesskey="p">
|
---|
| 45 | <xsl:attribute name="href">
|
---|
| 46 | <xsl:call-template name="href.target">
|
---|
| 47 | <xsl:with-param name="object" select="$prev"/>
|
---|
| 48 | </xsl:call-template>
|
---|
| 49 | </xsl:attribute>
|
---|
| 50 | <xsl:text>Prev</xsl:text>
|
---|
| 51 | </a>
|
---|
[4238149] | 52 | </li>
|
---|
[ded6ddd] | 53 | </xsl:if>
|
---|
| 54 | <xsl:if test="count($next)>0">
|
---|
[4238149] | 55 | <li class="next">
|
---|
[ded6ddd] | 56 | <a accesskey="n">
|
---|
| 57 | <xsl:attribute name="href">
|
---|
| 58 | <xsl:call-template name="href.target">
|
---|
| 59 | <xsl:with-param name="object" select="$next"/>
|
---|
| 60 | </xsl:call-template>
|
---|
| 61 | </xsl:attribute>
|
---|
| 62 | <xsl:text>Next</xsl:text>
|
---|
| 63 | </a>
|
---|
[4238149] | 64 | </li>
|
---|
[a9e89d0] | 65 | </xsl:if>
|
---|
| 66 | <xsl:if test="count($up)>0 and $up != $home">
|
---|
| 67 | <li class="up">
|
---|
| 68 | <a accesskey="u">
|
---|
| 69 | <xsl:attribute name="href">
|
---|
| 70 | <xsl:call-template name="href.target">
|
---|
| 71 | <xsl:with-param name="object" select="$up"/>
|
---|
| 72 | </xsl:call-template>
|
---|
| 73 | </xsl:attribute>
|
---|
| 74 | <xsl:text>Up</xsl:text>
|
---|
| 75 | </a>
|
---|
| 76 | </li>
|
---|
| 77 | </xsl:if>
|
---|
[4238149] | 78 | <li class="home">
|
---|
[ded6ddd] | 79 | <a accesskey="h">
|
---|
| 80 | <xsl:attribute name="href">
|
---|
| 81 | <xsl:call-template name="href.target">
|
---|
| 82 | <xsl:with-param name="object" select="$home"/>
|
---|
| 83 | </xsl:call-template>
|
---|
| 84 | </xsl:attribute>
|
---|
| 85 | <xsl:text>Home</xsl:text>
|
---|
| 86 | </a>
|
---|
[4238149] | 87 | </li>
|
---|
| 88 | </ul>
|
---|
[ded6ddd] | 89 | </div>
|
---|
| 90 | </xsl:if>
|
---|
| 91 | </xsl:template>
|
---|
| 92 |
|
---|
[a9e89d0] | 93 | <!-- Footer Navigation-->
|
---|
[ded6ddd] | 94 | <xsl:template name="footer.navigation">
|
---|
| 95 | <xsl:param name="prev" select="/foo"/>
|
---|
| 96 | <xsl:param name="next" select="/foo"/>
|
---|
| 97 | <xsl:param name="nav.context"/>
|
---|
| 98 | <xsl:variable name="home" select="/*[1]"/>
|
---|
| 99 | <xsl:variable name="up" select="parent::*"/>
|
---|
| 100 | <xsl:variable name="row" select="count($prev) > 0 or count($up) > 0
|
---|
| 101 | or count($next) > 0 or generate-id($home) != generate-id(.)"/>
|
---|
| 102 | <xsl:if test="$row">
|
---|
| 103 | <div class="navfooter">
|
---|
[4238149] | 104 | <ul>
|
---|
[ded6ddd] | 105 | <xsl:if test="count($prev)>0 and $prev != $home">
|
---|
[4238149] | 106 | <li class="prev">
|
---|
[ded6ddd] | 107 | <a accesskey="p">
|
---|
| 108 | <xsl:attribute name="href">
|
---|
| 109 | <xsl:call-template name="href.target">
|
---|
| 110 | <xsl:with-param name="object" select="$prev"/>
|
---|
| 111 | </xsl:call-template>
|
---|
| 112 | </xsl:attribute>
|
---|
| 113 | <xsl:text>Prev</xsl:text>
|
---|
[4238149] | 114 | </a>
|
---|
| 115 | <p>
|
---|
[a9e89d0] | 116 | <xsl:apply-templates select="$prev" mode="object.title.markup"/>
|
---|
[4238149] | 117 | </p>
|
---|
| 118 | </li>
|
---|
[ded6ddd] | 119 | </xsl:if>
|
---|
| 120 | <xsl:if test="count($next)>0">
|
---|
[4238149] | 121 | <li class="next">
|
---|
[ded6ddd] | 122 | <a accesskey="n">
|
---|
| 123 | <xsl:attribute name="href">
|
---|
| 124 | <xsl:call-template name="href.target">
|
---|
| 125 | <xsl:with-param name="object" select="$next"/>
|
---|
| 126 | </xsl:call-template>
|
---|
| 127 | </xsl:attribute>
|
---|
| 128 | <xsl:text>Next</xsl:text>
|
---|
[4238149] | 129 | </a>
|
---|
| 130 | <p>
|
---|
[a9e89d0] | 131 | <xsl:apply-templates select="$next" mode="object.title.markup"/>
|
---|
[4238149] | 132 | </p>
|
---|
| 133 | </li>
|
---|
[ded6ddd] | 134 | </xsl:if>
|
---|
| 135 | <xsl:if test="count($up)>0 and $up != $home">
|
---|
[4238149] | 136 | <li class="up">
|
---|
[ded6ddd] | 137 | <a accesskey="u">
|
---|
| 138 | <xsl:attribute name="href">
|
---|
| 139 | <xsl:call-template name="href.target">
|
---|
| 140 | <xsl:with-param name="object" select="$up"/>
|
---|
| 141 | </xsl:call-template>
|
---|
| 142 | </xsl:attribute>
|
---|
| 143 | <xsl:text>Up</xsl:text>
|
---|
[4238149] | 144 | </a>
|
---|
| 145 | </li>
|
---|
[ded6ddd] | 146 | </xsl:if>
|
---|
[4238149] | 147 | <xsl:if test="$home != .">
|
---|
| 148 | <li class="home">
|
---|
| 149 | <a accesskey="h">
|
---|
| 150 | <xsl:attribute name="href">
|
---|
| 151 | <xsl:call-template name="href.target">
|
---|
| 152 | <xsl:with-param name="object" select="$home"/>
|
---|
| 153 | </xsl:call-template>
|
---|
| 154 | </xsl:attribute>
|
---|
| 155 | <xsl:text>Home</xsl:text>
|
---|
| 156 | </a>
|
---|
| 157 | </li>
|
---|
| 158 | </xsl:if>
|
---|
| 159 | </ul>
|
---|
[ded6ddd] | 160 | </div>
|
---|
| 161 | </xsl:if>
|
---|
| 162 | </xsl:template>
|
---|
| 163 |
|
---|
| 164 | </xsl:stylesheet>
|
---|
[4238149] | 165 |
|
---|
| 166 |
|
---|