You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-cvs@jakarta.apache.org by jo...@apache.org on 2001/02/23 22:02:42 UTC
cvs commit: jakarta-site2/xdocs/stylesheets site.vsl
jon 01/02/23 13:02:42
Modified: xdocs/stylesheets site.vsl
Log:
added subsection tag thanks to Martin Poeschl <mp...@marmot.at>
-jon
Revision Changes Path
1.10 +29 -0 jakarta-site2/xdocs/stylesheets/site.vsl
Index: site.vsl
===================================================================
RCS file: /home/cvs/jakarta-site2/xdocs/stylesheets/site.vsl,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- site.vsl 2001/01/28 04:44:52 1.9
+++ site.vsl 2001/02/23 21:02:41 1.10
@@ -8,6 +8,8 @@
#set ($bodylink = "#525D76")
#set ($bannerbg = "#525D76")
#set ($bannerfg = "#ffffff")
+ #set ($subbannerbg = "#828DA6")
+ #set ($subbannerfg = "#ffffff")
#set ($tablethbg = "#039acc")
#set ($tabletdbg = "#a0ddf0")
@@ -142,6 +144,33 @@
<tr><td>
<blockquote>
#foreach ( $items in $section.getChildren() )
+ #if ($items.getName().equals("img"))
+ #image ($items)
+ #elseif ($items.getName().equals("source"))
+ #source ($items)
+ #elseif ($items.getName().equals("table"))
+ #table ($items)
+ #elseif ($items.getName().equals("subsection"))
+ #subsection ($items)
+ #else
+ $xmlout.outputString($items)
+ #end
+ #end
+ </blockquote>
+ </td></tr>
+ </table>
+#end
+
+#macro ( subsection $subsection)
+ <table border="0" cellspacing="0" cellpadding="2" width="100%">
+ <tr><td bgcolor="$subbannerbg">
+ <font color="$subbannerfg" face="arial,helvetica,sanserif">
+ <strong>$subsection.getAttributeValue("name")</strong>
+ </font>
+ </td></tr>
+ <tr><td>
+ <blockquote>
+ #foreach ( $items in $subsection.getChildren() )
#if ($items.getName().equals("img"))
#image ($items)
#elseif ($items.getName().equals("source"))