Author: jukka Date: Fri Dec 12 02:34:42 2008 New Revision: 725960 URL: http://svn.apache.org/viewvc?rev=725960&view=rev Log: site: Added the privacy policy to the site template Modified: jackrabbit/site/style/template.vm (contents, props changed) Modified: jackrabbit/site/style/template.vm URL: http://svn.apache.org/viewvc/jackrabbit/site/style/template.vm?rev=725960&r1=725959&r2=725960&view=diff ============================================================================== --- jackrabbit/site/style/template.vm (original) +++ jackrabbit/site/style/template.vm Fri Dec 12 02:34:42 2008 @@ -1,74 +1,78 @@ -#set($base = "http://jackrabbit.apache.org") -#macro (simplify $content) - #set ($content = $content.replaceAll(" rel=\"nofollow\"", "")) - #set ($content = $content.replaceAll(" title=\"Visit page outside Confluence\"", "")) - $content -#end -#macro (renderPage $title) - #set($renderer = $action.getGlobalHelper().getWikiStyleRenderer()) - #foreach ($child in $page.space.pages) - #if (($child.title.equals($title)) && ( $child.contentStatus.equals("current"))) - #set ($content = $renderer.convertWikiToXHtml($child.toPageContext(), $child.content).trim()) - #simplify($content) - #end - #end -#end - - - - - $page.title - - - -
- -
- -
-

$page.title

-#simplify($body) -
-
-
- -
- - - - - +#set($base = "http://jackrabbit.apache.org") +#macro (simplify $content) + #set ($content = $content.replaceAll(" rel=\"nofollow\"", "")) + #set ($content = $content.replaceAll(" title=\"Visit page outside Confluence\"", "")) + #set ($content = $content.replaceAll("\"\"","\"\"")) + #set ($content = $content.replaceAll("\"\"","\"\"")) + $content +#end +#macro (renderPage $title) + #set($renderer = $action.getGlobalHelper().getWikiStyleRenderer()) + #foreach ($child in $page.space.pages) + #if (($child.title.equals($title)) && ( $child.contentStatus.equals("current"))) + #set ($content = $renderer.convertWikiToXHtml($child.toPageContext(), $child.content).trim()) + #simplify($content) + #end + #end +#end + + + + + $page.title + + + +
+ +
+ +
+

$page.title

+#simplify($body) +
+
+
+ +
+ + + + + + Propchange: jackrabbit/site/style/template.vm ------------------------------------------------------------------------------ svn:eol-style = native