Applying patch from Martin van den Bemt <mllist@mvdb.net>. Adds a new

optionally footer section and corrects the copyright symbol.  Thanks
Martin.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112962 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
kaz 2003-02-20 22:04:03 +00:00
parent 5b756361ae
commit 96e68fd82d
2 changed files with 25 additions and 4 deletions

View File

@ -395,19 +395,24 @@
</table>
<div id="footer">
<table border="0" cellspacing="0" cellpadding="4">
<tr>
<td>
<jsl:applyTemplates select="$nav/body/footer"/>
</td>
</tr>
<tr>
<td>
<j:if test="${!empty(pom.organization.name)}">
<j:if test="${!empty(pom.inceptionYear)}">
<j:if test="${pom.inceptionYear == mavenCurrentYear}">
<!-- FIXME &copy; -->${mavenCurrentYear}, ${pom.organization.name}
&#169; ${mavenCurrentYear}, ${pom.organization.name}
</j:if>
<j:if test="${pom.inceptionYear != mavenCurrentYear}">
<!-- FIXME &copy; --> ${pom.inceptionYear}-${mavenCurrentYear}, ${pom.organization.name}
&#169; ${pom.inceptionYear}-${mavenCurrentYear}, ${pom.organization.name}
</j:if>
</j:if>
<j:if test="${empty(pom.inceptionYear)}">
<!-- FIXME &copy; --> ${mavenCurrentYear}, ${pom.organization.name}
&#169; ${mavenCurrentYear}, ${pom.organization.name}
</j:if>
</j:if>

View File

@ -13,7 +13,7 @@
the Maven documentation.
</p>
<p>
The documentation is in <code>Anakia</code> format. More information
The documentation is mainly in <code>Anakia</code> format. More information
along with samples, can be found at:
<ul>
<li>
@ -24,6 +24,22 @@
</li>
</ul>
</p>
<p>
There is addition to the anakia format. You can use the <code>footer</code> tag for including
text or images just below the navigation menu and above the copyright notice.
This tag is only usefull in the navigation.xml file.<br/>
Here is an example : <br/>
<source><![CDATA[
<!-- footer will be placed above the (c) -->
<footer>
<A href="http://sourceforge.net/projects/ctecl">
<IMG src="http://sourceforge.net/sflogo.php?group_id=72748" border="0" alt="sf logo"/>
</A>
</footer>
]]></source>
<br/>
The footer should be placed within the body element.
</p>
</section>
</body>
</document>