donaldp 2002/06/13 01:57:12
Modified: site/src/xdocs/stylesheets docs.vsl
Log:
Add in some author tags
Revision Changes Path
1.6 +12 -1 jakarta-ant-myrmidon/site/src/xdocs/stylesheets/docs.vsl
Index: docs.vsl
===================================================================
RCS file: /home/cvs/jakarta-ant-myrmidon/site/src/xdocs/stylesheets/docs.vsl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- docs.vsl 13 Jun 2002 08:24:06 -0000 1.5
+++ docs.vsl 13 Jun 2002 08:57:11 -0000 1.6
@@ -55,7 +55,9 @@
#end
#macro (footer)
- </div></div></td>
+ </div>
+ #getAuthorList()
+ </div></td>
</tr>
</table>
@@ -264,6 +266,15 @@
#end
>#copycontent($element)</$element.name>
#end
+#end
+
+#macro (getAuthorList)
+ <div align="right" id="authors">by
+ #set ($authors = $root.getChild("properties").getChildren("author"))
+ #foreach ( $au in $authors )
+ #if( $velocityCount != 1 ),#end <a
href="$au.getAttributeValue("email")">$au.getText()</a>
+ #end
+ </div>
#end
#macro (copycontent $element)
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>