From 6ceef67adfdebed0cad870fdb232350cc3591e8a Mon Sep 17 00:00:00 2001 From: lresende Date: Fri, 30 Jul 2010 13:59:14 +0000 Subject: Updating site template to avoid using macros as the latest version of confluence/confluence html export have issues dealing with these macros git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@980794 13f79535-47bb-0310-9956-ffa450edef68 --- .../templates/TUSCANY_confluence_html_export.xml | 231 +++++++++------------ 1 file changed, 97 insertions(+), 134 deletions(-) (limited to 'site') diff --git a/site/trunk/templates/TUSCANY_confluence_html_export.xml b/site/trunk/templates/TUSCANY_confluence_html_export.xml index fee5c3bda1..9d3b1aa241 100644 --- a/site/trunk/templates/TUSCANY_confluence_html_export.xml +++ b/site/trunk/templates/TUSCANY_confluence_html_export.xml @@ -1,158 +1,121 @@ - ## #set ($pageContentHeaderEnabled = false) ## -#macro (spacer $width $height) - ## - ## Note: Replaced the spacer.gif with a table because IE wont honor the image height - ## - ## - ## - - - - -
-#end ## -#macro (renderPage $title) - #set($globalHelper = $action.getGlobalHelper()) - #set($renderer = $globalHelper.getWikiStyleRenderer()) - - ## - ## FIXME: Must be a more efficient way to find a page... - ## - - #foreach ($child in $page.space.pages) - #if ($child.title.equals($title)) - #set ($content = $renderer.convertWikiToXHtml($child.toPageContext(), $child.content).trim()) - - ## - ## HACK: Remove the leading

and trailing

- ## - - #set ($content = $content.substring(3, $content.length())) - #set ($end = $content.length() - 4) - #set ($content = $content.substring(0, $end)) - - $content - #end - #end -#end -## -#macro (generateKeywords) - - -#end -## -#macro (topNav) - - - - - - - + + - + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at - -
- - - - -   - -
- - -
-
-#end -## -#macro (pageControls) -
- - -
-#end -## -#macro (breadCrumbs) - - - - - - -
-  $autoexport.breadcrumbs($page) - - User List | Dev List | Issue Tracker   -
-#end -## -#macro (pageContent) -
- #if ($pageContentHeaderEnabled) - - #end - -
-
- $body -
-
-
-#end -## -#macro (footer) - ## Google Analytics script - - - - ## StatCounter script - website stats + http://www.apache.org/licenses/LICENSE-2.0 - -#end -## - - - #generateKeywords() + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + + + + + + - $page.title : Apache Tuscany + Apache Tuscany : $page.title - - #topNav() + + + + + + + + + + + + +
+ + + + +   + +
+ + +
+
+ + + + + + + + + +
+  $autoexport.breadcrumbs($page) + + User List | Dev List | Issue Tracker   +
+ - #breadCrumbs()
- #pageContent() + + +
+ #if ($pageContentHeaderEnabled) + + #end + +
+
+ $body +
+
+
+ +
- #footer() + + ## Google Analytics script + + + + ## StatCounter script + website stats + + + - + -- cgit v1.2.3