You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by cc...@apache.org on 2010/04/28 19:41:30 UTC

svn commit: r939023 [8/12] - /servicemix/sandbox/ccustine/cwikitemplates/

Added: servicemix/sandbox/ccustine/cwikitemplates/OPENEJBx30.template
URL: http://svn.apache.org/viewvc/servicemix/sandbox/ccustine/cwikitemplates/OPENEJBx30.template?rev=939023&view=auto
==============================================================================
--- servicemix/sandbox/ccustine/cwikitemplates/OPENEJBx30.template (added)
+++ servicemix/sandbox/ccustine/cwikitemplates/OPENEJBx30.template Wed Apr 28 17:41:27 2010
@@ -0,0 +1,247 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+##
+#set ($images = "http://openejb.apache.org/images")
+#set ($siteroot = "http://cwiki.apache.org/OPENEJB")
+##
+#if ( $page.title.equals("Index") )
+    #set ($title = "Home")
+#else
+    #set ($title = $page.title)
+#end
+##
+#macro (renderPage $title)
+    #set($globalHelper = $action.getGlobalHelper())
+    #set($renderer = $globalHelper.getWikiStyleRenderer())
+
+    ##
+    ## FIXME: Must be a more efficent 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 <P> and trailing </P>
+            ##
+
+            #set ($content = $content.replaceAll("^<[pP]>|</[pP]>$", "") )
+            ##set ($content = $content.substring(3, $content.length()))
+            ##set ($end = $content.length() - 4)
+            ##set ($content = $content.substring(0, $end))
+
+            $content
+        #end
+    #end
+#end
+#macro (renderRightSidePage $title)
+    #set($globalHelper = $action.getGlobalHelper())
+    #set($renderer = $globalHelper.getWikiStyleRenderer())
+
+    ##
+    ## FIXME: Must be a more efficent 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 <P> and trailing </P>
+            ##
+
+            #set ($content = $content.replaceAll("^<[pP]>|</[pP]>$", "") )
+            ##set ($content = $content.substring(3, $content.length()))
+            ##set ($end = $content.length() - 4)
+            ##set ($content = $content.substring(0, $end))
+<div id="RightContent">
+$content
+</div>
+
+        #end
+    #end
+#end
+##
+<HTML>
+  <HEAD>
+    <!-- $PAGETITLE -->
+    <TITLE>OpenEJB - $title</TITLE>
+    <LINK href="http://openejb.apache.org/all.css" rel="stylesheet" type="text/css">
+    <!--[if IE]><link rel="stylesheet" type="text/css" media="screen, projection" href="openejb.apache.org/ie.css"><![endif]-->
+
+    <LINK rel="SHORTCUT ICON" href="http://openejb.apache.org/images/favicon.ico">
+    <SCRIPT language="JavaScript" src="http://cwiki.apache.org/confluence/pages/viewpage.action?spaceKey=OPENEJB&title=functions.js" type="text/javascript"></SCRIPT>
+    <META http-equiv="Content-Type" content="text/html;charset=UTF-8">
+  </HEAD>
+  <BODY>
+
+    <!-- Delay the loading of the external javascript file needed for labels (as it takes too long to load and visibly holds loading of the page body) -->
+    <!-- To do this without javascript errors over undefined functions, we need to declare stubs here (that are overrided later by the proper implementations) -->
+    <SCRIPT language="JavaScript" type="text/javascript">
+      function doAddLabel(hideTextfieldAfterAddParam)
+      {
+      // stub
+      }
+
+      function onAddLabel()
+      {
+      // stub
+      }
+
+      function showLabelsInput()
+      {
+      // stub
+      }
+    </SCRIPT>
+
+    <A name="top"></A>
+    <TABLE class="frameTable" cellpadding="0" cellspacing="0" border="0">
+      <TR class="Row1">
+        <TD class="Col1"><IMG alt="" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
+        <TD class="Col2"><IMG alt="" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
+        <TD class="Col3"><IMG alt="" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
+        <TD class="Col4"><IMG alt="" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
+        <TD class="Col5"><IMG alt="" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
+      </TR>
+      <TR class="Row2">
+        <TD class="Col1"><IMG alt="" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
+        <TD class="Col2">&nbsp;</TD>
+        <TD class="Col3" id="breadcrumbs">
+          <!-- $TOP_NAV_BAR -->
+          #renderPage('QuickLinks')
+        </TD>
+        <TD class="Col4"><IMG alt="" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
+        <TD class="Col5">&nbsp;</TD>
+      </TR>
+      <TR class="Row3">
+        <TD class="Col1"><IMG alt="" class="Row3Img" id="thinLine" src="http://openejb.apache.org/images/line_sm.gif"></TD>
+        <TD class="Col2"><IMG alt="" class="Row3Img" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
+        <TD class="Col3"><IMG alt="" class="Row3Img" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
+        <TD class="Col4"><IMG alt="" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
+        <TD class="Col5"><IMG alt="" class="Row3Img" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
+      </TR>
+      <TR class="Row4">
+        <TD class="Col1">
+          <SPAN id="Navigation">
+
+            #renderPage("Navigation")
+
+            <H3>
+              <A name="Navigation-Feeds"></A>
+              Feeds
+            </H3>
+
+            <UL class="feeds">
+            <li>
+              <A href="http://cwiki.apache.org/confluence/spaces/rss.action?key=OPENEJB&newPages=false">
+              <IMG src="http://openejb.apache.org/images/rss.gif"></a>
+              <A class="feedsText" href="http://cwiki.apache.org/confluence/spaces/rss.action?key=OPENEJB&newPages=false">Site</a>
+            </li>
+
+            <li><A href="http://cwiki.apache.org/confluence/spaces/blogrss.action?key=OPENEJB">
+              <IMG src="http://openejb.apache.org/images/rss.gif"></a>
+              <A class="feedsText" href="http://cwiki.apache.org/confluence/spaces/blogrss.action?key=OPENEJB">News</a>
+            </li>
+            </ul>
+          </SPAN>
+        </TD>
+        <TD class="Col2">&nbsp;</TD>
+        <TD class="Col3">
+          <TABLE id="PageHeader" border="0" width="100%">
+            <TR>
+              <TD>
+                <A href="http://openejb.org/">
+                  <IMG hspace="0" src="http://openejb.apache.org/images/logo_openejb.gif" vspace="0">
+                </A>
+              </TD>
+              <TD align="right">
+                <A href="http://www.apache.org/">
+                  <IMG src="http://www.apache.org/images/asf-logo.gif" width="258" height="66">
+                </A>
+              </TD>
+            </TR>
+            <TR>
+              <TD  id="page_title">
+                <!-- $TITLE -->
+                $title
+              </TD>
+
+              <TD align="right">
+                <br><br>
+                <!-- Google CSE Search Box Begins  -->
+                <FORM id="searchbox_010475492895890475512:_t4iqjrgx90" action="http://www.google.com/cse">
+                  <INPUT type="hidden" name="cx" value="010475492895890475512:_t4iqjrgx90">
+                  <INPUT type="hidden" name="cof" value="FORID:0">
+                  <INPUT name="q" type="text" size="25">
+                  <INPUT type="submit" name="sa" value="Search">
+                </FORM>
+                <SCRIPT type="text/javascript"
+                        src="http://www.google.com/coop/cse/brand?form=searchbox_010475492895890475512:_t4iqjrgx90"></SCRIPT>
+                <!-- Google CSE Search Box Ends -->
+
+              </TD>
+            </TR>
+          </TABLE>
+          <P>
+            <!-- $BODY -->
+            <DIV id="PageContent">
+              $body
+            </DIV>
+          </P>
+        </TD>
+        <TD class="Col4"><IMG src="http://openejb.apache.org/images/dotTrans.gif"></TD>
+        <TD class="Col5">
+          #renderRightSidePage("${title}Links")
+        </TD>
+      </TR>
+      <TR  class="Row5">
+        <TD class="Col1">&nbsp;</TD>
+        <TD class="Col2">&nbsp;</TD>
+        <TD class="Col3">
+          <br>
+          <br>
+          <IMG width="100%" height="1" src="http://openejb.apache.org/images/line_light.gif">
+          <table width="100%">
+            <tr>
+              <td>
+                <SPAN class="bodyGrey">
+                  <SMALL>
+                    <NOTICE><!-- $FOOTER -->
+                      Apache OpenEJB is an project of The Apache Software Foundation (ASF)
+                    </NOTICE>
+                    <BR>
+                    Site Powered by
+                    <A href="http://atlassian.com/">Atlassian</A>
+                    <A href="http://atlassian.com/confluence/">Confluence</A>
+                    .
+                  </SMALL>
+                </SPAN>
+              </td>
+              <td align="right">
+                <A style="color:#999;font-size:small;font-weight:normal;" href="$confluenceUri/pages/editpage.action?spaceKey=OPENEJB&title=$page.title">[ edit ]</A>
+              </td>
+            </tr>
+          </table>
+          <br>
+        </TD>
+        <TD class="Col4"><IMG src="http://openejb.apache.org/images/dotTrans.gif"></TD>
+        <TD class="Col5">&nbsp;</TD>
+      </TR>
+    </TABLE>
+
+    <!-- Needed for composition plugin -->
+    <!-- delay the loading of large javascript files to the end so that they don't interfere with the loading of page content -->
+    <SPAN style="display: none">
+      <SCRIPT type="text/javascript" language="JavaScript"
+              src="http://cwiki.apache.org/confluence/labels-javascript"></SCRIPT>
+
+      <SCRIPT src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+      </SCRIPT>
+      <SCRIPT type="text/javascript">
+        _uacct = "UA-2717626-1";
+        urchinTracker();
+      </SCRIPT>
+    </SPAN>
+
+  </BODY>
+</HTML>

Added: servicemix/sandbox/ccustine/cwikitemplates/ORP.template
URL: http://svn.apache.org/viewvc/servicemix/sandbox/ccustine/cwikitemplates/ORP.template?rev=939023&view=auto
==============================================================================
--- servicemix/sandbox/ccustine/cwikitemplates/ORP.template (added)
+++ servicemix/sandbox/ccustine/cwikitemplates/ORP.template Wed Apr 28 17:41:27 2010
@@ -0,0 +1,137 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+  <head>
+    <link type="text/css" rel="stylesheet" href="$stylesheet">
+    <style type="text/css">
+      .footer {
+        background-image:      url('$confluenceUri/images/border/border_bottom.gif');
+        background-repeat:     repeat-x;
+        background-position:   left top;
+        padding-top:           4px;
+        color:                 #666;
+      }
+    </style>
+    <script type="text/javascript" language="javascript">
+      var hide = null;
+      var show = null;
+      var children = null;
+
+      function init() {
+        /* Search form initialization */
+        var form = document.forms['search'];
+        if (form != null) {
+          form.elements['domains'].value = location.hostname;
+          form.elements['sitesearch'].value = location.hostname;
+        }
+
+        /* Children initialization */
+        hide = document.getElementById('hide');
+        show = document.getElementById('show');
+        children = document.all != null ?
+                   document.all['children'] :
+                   document.getElementById('children');
+        if (children != null) {
+          children.style.display = 'none';
+          show.style.display = 'inline';
+          hide.style.display = 'none';
+        }
+      }
+
+      function showChildren() {
+        children.style.display = 'block';
+        show.style.display = 'none';
+        hide.style.display = 'inline';
+      }
+
+      function hideChildren() {
+        children.style.display = 'none';
+        show.style.display = 'inline';
+        hide.style.display = 'none';
+      }
+    </script>
+    <title>$page.title</title>
+  </head>
+  <body onload="init()">
+    <table border="0" cellpadding="2" cellspacing="0" width="100%">
+      <tr class="topBar">
+        <td align="left" valign="middle" class="topBarDiv" align="left" nowrap>
+          &nbsp;$autoexport.breadcrumbs($page)
+        </td>
+        <td align="right" valign="middle" nowrap>
+          <form name="search" action="http://www.google.com/search" method="get">
+            <input type="hidden" name="ie" value="UTF-8" />
+            <input type="hidden" name="oe" value="UTF-8" />
+            <input type="hidden" name="domains" value="" />
+            <input type="hidden" name="sitesearch" value="" />
+            <input type="text" name="q" maxlength="255" value="" />        
+            <input type="submit" name="btnG" value="Google Search" />
+          </form>
+        </td>
+      </tr> 
+    </table>
+
+    <div id="PageContent">
+      <div class="pageheader" style="padding: 6px 0px 0px 0px;">
+        <!-- We'll enable this once we figure out how to access (and save) the logo resource -->
+        <!--img src="/wiki/images/confluence_logo.gif" style="float: left; margin: 4px 4px 4px 10px;" border="0"-->
+        <div style="margin: 0px 10px 0px 10px" class="smalltext">$page.space.name</div>
+        <div style="margin: 0px 10px 8px 10px"  class="pagetitle">$page.title</div>
+
+        <div class="greynavbar" align="right" style="padding: 2px 10px; margin: 0px;">
+          <a href="$confluenceUri/pages/editpage.action?pageId=$page.id">
+            <img src="$confluenceUri/images/icons/notep_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Edit Page"></a>
+            <a href="$confluenceUri/pages/editpage.action?pageId=$page.id">Edit Page</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/listpages.action?key=$page.spaceKey">
+            <img src="$confluenceUri/images/icons/browse_space.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Browse Space"></a>
+            <a href="$confluenceUri/pages/listpages.action?key=$page.spaceKey">Browse Space</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/createpage.action?spaceKey=$page.spaceKey&fromPageId=$page.id">
+            <img src="$confluenceUri/images/icons/add_page_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Add Page"></a>
+          <a href="$confluenceUri/pages/createpage.action?spaceKey=$page.spaceKey&fromPageId=$page.id">Add Page</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/createblogpost.action?spaceKey=$page.spaceKey&fromPageId=$page.id">
+            <img src="$confluenceUri/images/icons/add_blogentry_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Add News"></a>
+          <a href="$confluenceUri/pages/createblogpost.action?spaceKey=$page.spaceKey&fromPageId=$page.id">Add News</a>
+        </div>
+      </div>
+      <div class="pagesubheading" style="margin: 0px 10px 0px 10px;">
+        #editReport()
+      </div>
+
+      <div class="pagecontent">
+        <div class="wiki-content">
+          $body
+        </div>
+
+        #if ($page.hasChildren())
+          <div class="tabletitle">
+            Children
+            <span class="smalltext" id="show" style="display: inline;">
+              <a href="javascript:showChildren()">Show Children</a></span>
+            <span class="smalltext" id="hide" style="display: none;">
+              <a href="javascript:hideChildren()">Hide Children</a></span>
+          </div>
+          <div class="greybox" id="children" style="display: none;">
+            #set ($children = $page.children)
+            #foreach ($child in $children)
+              $autoexport.link($child)
+              <span class="smalltext">($child.space.name)</span>
+              <br>
+            #end
+          </div>
+        #end
+
+      </div>
+    </div>
+    <div class="footer">
+      Generated by
+      $autoexport.confluenceInfo
+      $autoexport.autoexportInfo
+    </div>
+  </body>
+</html>

Added: servicemix/sandbox/ccustine/cwikitemplates/OWB.template
URL: http://svn.apache.org/viewvc/servicemix/sandbox/ccustine/cwikitemplates/OWB.template?rev=939023&view=auto
==============================================================================
--- servicemix/sandbox/ccustine/cwikitemplates/OWB.template (added)
+++ servicemix/sandbox/ccustine/cwikitemplates/OWB.template Wed Apr 28 17:41:27 2010
@@ -0,0 +1,137 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+  <head>
+    <link type="text/css" rel="stylesheet" href="$stylesheet">
+    <style type="text/css">
+      .footer {
+        background-image:      url('$confluenceUri/images/border/border_bottom.gif');
+        background-repeat:     repeat-x;
+        background-position:   left top;
+        padding-top:           4px;
+        color:                 #666;
+      }
+    </style>
+    <script type="text/javascript" language="javascript">
+      var hide = null;
+      var show = null;
+      var children = null;
+
+      function init() {
+        /* Search form initialization */
+        var form = document.forms['search'];
+        if (form != null) {
+          form.elements['domains'].value = location.hostname;
+          form.elements['sitesearch'].value = location.hostname;
+        }
+
+        /* Children initialization */
+        hide = document.getElementById('hide');
+        show = document.getElementById('show');
+        children = document.all != null ?
+                   document.all['children'] :
+                   document.getElementById('children');
+        if (children != null) {
+          children.style.display = 'none';
+          show.style.display = 'inline';
+          hide.style.display = 'none';
+        }
+      }
+
+      function showChildren() {
+        children.style.display = 'block';
+        show.style.display = 'none';
+        hide.style.display = 'inline';
+      }
+
+      function hideChildren() {
+        children.style.display = 'none';
+        show.style.display = 'inline';
+        hide.style.display = 'none';
+      }
+    </script>
+    <title>$page.title</title>
+  </head>
+  <body onload="init()">
+    <table border="0" cellpadding="2" cellspacing="0" width="100%">
+      <tr class="topBar">
+        <td align="left" valign="middle" class="topBarDiv" align="left" nowrap>
+          &nbsp;$autoexport.breadcrumbs($page)
+        </td>
+        <td align="right" valign="middle" nowrap>
+          <form name="search" action="http://www.google.com/search" method="get">
+            <input type="hidden" name="ie" value="UTF-8" />
+            <input type="hidden" name="oe" value="UTF-8" />
+            <input type="hidden" name="domains" value="" />
+            <input type="hidden" name="sitesearch" value="" />
+            <input type="text" name="q" maxlength="255" value="" />        
+            <input type="submit" name="btnG" value="Google Search" />
+          </form>
+        </td>
+      </tr> 
+    </table>
+
+    <div id="PageContent">
+      <div class="pageheader" style="padding: 6px 0px 0px 0px;">
+        <!-- We'll enable this once we figure out how to access (and save) the logo resource -->
+        <!--img src="/wiki/images/confluence_logo.gif" style="float: left; margin: 4px 4px 4px 10px;" border="0"-->
+        <div style="margin: 0px 10px 0px 10px" class="smalltext">$page.space.name</div>
+        <div style="margin: 0px 10px 8px 10px"  class="pagetitle">$page.title</div>
+
+        <div class="greynavbar" align="right" style="padding: 2px 10px; margin: 0px;">
+          <a href="$confluenceUri/pages/editpage.action?pageId=$page.id">
+            <img src="$confluenceUri/images/icons/notep_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Edit Page"></a>
+            <a href="$confluenceUri/pages/editpage.action?pageId=$page.id">Edit Page</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/listpages.action?key=$page.spaceKey">
+            <img src="$confluenceUri/images/icons/browse_space.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Browse Space"></a>
+            <a href="$confluenceUri/pages/listpages.action?key=$page.spaceKey">Browse Space</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/createpage.action?spaceKey=$page.spaceKey&fromPageId=$page.id">
+            <img src="$confluenceUri/images/icons/add_page_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Add Page"></a>
+          <a href="$confluenceUri/pages/createpage.action?spaceKey=$page.spaceKey&fromPageId=$page.id">Add Page</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/createblogpost.action?spaceKey=$page.spaceKey&fromPageId=$page.id">
+            <img src="$confluenceUri/images/icons/add_blogentry_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Add News"></a>
+          <a href="$confluenceUri/pages/createblogpost.action?spaceKey=$page.spaceKey&fromPageId=$page.id">Add News</a>
+        </div>
+      </div>
+      <div class="pagesubheading" style="margin: 0px 10px 0px 10px;">
+        #editReport()
+      </div>
+
+      <div class="pagecontent">
+        <div class="wiki-content">
+          $body
+        </div>
+
+        #if ($page.hasChildren())
+          <div class="tabletitle">
+            Children
+            <span class="smalltext" id="show" style="display: inline;">
+              <a href="javascript:showChildren()">Show Children</a></span>
+            <span class="smalltext" id="hide" style="display: none;">
+              <a href="javascript:hideChildren()">Hide Children</a></span>
+          </div>
+          <div class="greybox" id="children" style="display: none;">
+            #set ($children = $page.children)
+            #foreach ($child in $children)
+              $autoexport.link($child)
+              <span class="smalltext">($child.space.name)</span>
+              <br>
+            #end
+          </div>
+        #end
+
+      </div>
+    </div>
+    <div class="footer">
+      Generated by
+      $autoexport.confluenceInfo
+      $autoexport.autoexportInfo
+    </div>
+  </body>
+</html>

Added: servicemix/sandbox/ccustine/cwikitemplates/PHOTARK.template
URL: http://svn.apache.org/viewvc/servicemix/sandbox/ccustine/cwikitemplates/PHOTARK.template?rev=939023&view=auto
==============================================================================
--- servicemix/sandbox/ccustine/cwikitemplates/PHOTARK.template (added)
+++ servicemix/sandbox/ccustine/cwikitemplates/PHOTARK.template Wed Apr 28 17:41:27 2010
@@ -0,0 +1,147 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+##
+#set ($pageContentHeaderEnabled = false)
+##
+#macro (spacer $width $height)
+    ##
+    ## Note: Replaced the spacer.gif with a table because IE wont honor the image height
+    ## 
+    ## <img src="$images/spacer.gif" width="$width" height="$height" border="0">
+    ##
+    <table> <!-- spacer -->
+        <tr>
+            <td width="$width" height="$height"></td>
+        </tr>
+    </table>
+#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 <P> and trailing </P>
+            ##
+
+            #set ($content = $content.substring(3, $content.length()))
+            #set ($end = $content.length() - 4)
+            #set ($content = $content.substring(0, $end))            
+
+            $content
+        #end
+    #end
+#end
+##
+#macro (generateKeywords)
+   <META name="description" content="Apache PhotArk"/>
+   <META name="keywords" content="apache, apache photark, photark, free photo gallery, open source photo gallery, photo, gallery, open source, opensource"/>
+#end
+##
+
+#macro (topNav)
+<div id="header">
+ <table valign="top" border="0" cellspacing="0" cellpadding="0" width="100%" background="http://incubator.apache.org/photark/images/header_background.png">
+  <tr>
+    <td width="244" height="88">
+      <img src="http://incubator.apache.org/photark/images/photark_logo_small_transparent.gif"  width="70%" height="70%" style="padding: 0 15px 15px 0;"/>
+    </td>
+    <td align="right"> 
+      <img src="http://incubator.apache.org/photark/images/apache-incubator-logo.png" style="padding: 5px;"> 
+    </td>
+    <!-- Adds the edit page link to the top banner-->
+    <td valign="bottom">
+       #pageControls()
+    </td>
+  </tr>
+ </table>
+</div>
+#end
+##
+#macro (pageControls)
+<div align="right" style="padding: 2px 10px; margin: 0px;">
+  <a href="$confluenceUri/pages/editpage.action?pageId=$page.id">
+  <img src="http://incubator.apache.org/photark/images/notep_16.gif" height="16" width="16" border="0" align="absmiddle" title="Edit Page"></a>    
+</div>
+#end
+##
+#macro (breadCrumbs)
+<div id="topNavigator">
+<table border="0" cellpadding="2" cellspacing="0" width="100%">
+  <tr class="topNavigator">
+    <td align="left" valign="middle" class="topBarDiv" nowrap="true" width="100%">
+      &nbsp;$autoexport.breadcrumbs($page)
+    </td>
+    <td align="right" valign="middle" class="topNavigator" align="left" nowrap="true">
+      <a href="http://incubator.apache.org/photark/">PhotArk Home</a> | 
+      <a href="http://www.mail-archive.com/photark-user@incubator.apache.org/">User List</a> | 
+      <a href="http://www.mail-archive.com/photark-dev@incubator.apache.org/">Dev List</a> | 
+      <a href="http://issues.apache.org/jira/browse/PHOTARK">Issue Tracker</a>&nbsp;&nbsp;
+    </td>
+  </tr>
+</table>
+</div>
+#end
+##
+#macro (pageContent)
+    <div id="PageContent">
+        #if ($pageContentHeaderEnabled)
+            <div class="pageheader" style="padding: 6px 0px 0px 0px;">
+                <div style="margin: 0px 10px 0px 10px" class="smalltext">$page.space.name</div>
+                <div style="margin: 0px 10px 8px 10px" class="pagetitle">$page.title</div>
+            </div>
+        #end
+        
+        <div class="pagecontent">
+            <div class="wiki-content">
+                $body
+            </div>
+        </div>
+    </div>
+#end
+##
+#macro (footer)
+    ## Google Analytics script
+<script type="text/javascript">
+	var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+	document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+	</script>
+	<script type="text/javascript">
+	var pageTracker = _gat._getTracker("UA-1174707-6");
+	pageTracker._trackPageview();
+        </script>
+#end
+##
+<html>
+    <head>
+        #generateKeywords()
+
+        <link type="text/css" rel="stylesheet" href="http://incubator.apache.org/photark/photark.css">
+        <link rel="SHORTCUT ICON" href="$images/favicon.ico">   
+        <title>$page.title : Apache PhotArk</title>
+    </head>
+
+    <body onload="init()">
+        #topNav()
+
+        #breadCrumbs()
+
+        <table border="0" cellpadding="0" width="100%" bgcolor="#FFFFFF">
+            <tr>
+                <td align="left" valign="top">
+                    #pageContent()
+                </td>
+            </tr>
+        </table>
+
+        #footer()
+
+    </body>
+</html>

Added: servicemix/sandbox/ccustine/cwikitemplates/PHOTARKxWIKI.template
URL: http://svn.apache.org/viewvc/servicemix/sandbox/ccustine/cwikitemplates/PHOTARKxWIKI.template?rev=939023&view=auto
==============================================================================
--- servicemix/sandbox/ccustine/cwikitemplates/PHOTARKxWIKI.template (added)
+++ servicemix/sandbox/ccustine/cwikitemplates/PHOTARKxWIKI.template Wed Apr 28 17:41:27 2010
@@ -0,0 +1,137 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+  <head>
+    <link type="text/css" rel="stylesheet" href="$stylesheet">
+    <style type="text/css">
+      .footer {
+        background-image:      url('$confluenceUri/images/border/border_bottom.gif');
+        background-repeat:     repeat-x;
+        background-position:   left top;
+        padding-top:           4px;
+        color:                 #666;
+      }
+    </style>
+    <script type="text/javascript" language="javascript">
+      var hide = null;
+      var show = null;
+      var children = null;
+
+      function init() {
+        /* Search form initialization */
+        var form = document.forms['search'];
+        if (form != null) {
+          form.elements['domains'].value = location.hostname;
+          form.elements['sitesearch'].value = location.hostname;
+        }
+
+        /* Children initialization */
+        hide = document.getElementById('hide');
+        show = document.getElementById('show');
+        children = document.all != null ?
+                   document.all['children'] :
+                   document.getElementById('children');
+        if (children != null) {
+          children.style.display = 'none';
+          show.style.display = 'inline';
+          hide.style.display = 'none';
+        }
+      }
+
+      function showChildren() {
+        children.style.display = 'block';
+        show.style.display = 'none';
+        hide.style.display = 'inline';
+      }
+
+      function hideChildren() {
+        children.style.display = 'none';
+        show.style.display = 'inline';
+        hide.style.display = 'none';
+      }
+    </script>
+    <title>$page.title</title>
+  </head>
+  <body onload="init()">
+    <table border="0" cellpadding="2" cellspacing="0" width="100%">
+      <tr class="topBar">
+        <td align="left" valign="middle" class="topBarDiv" align="left" nowrap>
+          &nbsp;$autoexport.breadcrumbs($page)
+        </td>
+        <td align="right" valign="middle" nowrap>
+          <form name="search" action="http://www.google.com/search" method="get">
+            <input type="hidden" name="ie" value="UTF-8" />
+            <input type="hidden" name="oe" value="UTF-8" />
+            <input type="hidden" name="domains" value="" />
+            <input type="hidden" name="sitesearch" value="" />
+            <input type="text" name="q" maxlength="255" value="" />        
+            <input type="submit" name="btnG" value="Google Search" />
+          </form>
+        </td>
+      </tr> 
+    </table>
+
+    <div id="PageContent">
+      <div class="pageheader" style="padding: 6px 0px 0px 0px;">
+        <!-- We'll enable this once we figure out how to access (and save) the logo resource -->
+        <!--img src="/wiki/images/confluence_logo.gif" style="float: left; margin: 4px 4px 4px 10px;" border="0"-->
+        <div style="margin: 0px 10px 0px 10px" class="smalltext">$page.space.name</div>
+        <div style="margin: 0px 10px 8px 10px"  class="pagetitle">$page.title</div>
+
+        <div class="greynavbar" align="right" style="padding: 2px 10px; margin: 0px;">
+          <a href="$confluenceUri/pages/editpage.action?pageId=$page.id">
+            <img src="$confluenceUri/images/icons/notep_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Edit Page"></a>
+            <a href="$confluenceUri/pages/editpage.action?pageId=$page.id">Edit Page</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/listpages.action?key=$page.spaceKey">
+            <img src="$confluenceUri/images/icons/browse_space.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Browse Space"></a>
+            <a href="$confluenceUri/pages/listpages.action?key=$page.spaceKey">Browse Space</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/createpage.action?spaceKey=$page.spaceKey&fromPageId=$page.id">
+            <img src="$confluenceUri/images/icons/add_page_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Add Page"></a>
+          <a href="$confluenceUri/pages/createpage.action?spaceKey=$page.spaceKey&fromPageId=$page.id">Add Page</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/createblogpost.action?spaceKey=$page.spaceKey&fromPageId=$page.id">
+            <img src="$confluenceUri/images/icons/add_blogentry_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Add News"></a>
+          <a href="$confluenceUri/pages/createblogpost.action?spaceKey=$page.spaceKey&fromPageId=$page.id">Add News</a>
+        </div>
+      </div>
+      <div class="pagesubheading" style="margin: 0px 10px 0px 10px;">
+        #editReport()
+      </div>
+
+      <div class="pagecontent">
+        <div class="wiki-content">
+          $body
+        </div>
+
+        #if ($page.hasChildren())
+          <div class="tabletitle">
+            Children
+            <span class="smalltext" id="show" style="display: inline;">
+              <a href="javascript:showChildren()">Show Children</a></span>
+            <span class="smalltext" id="hide" style="display: none;">
+              <a href="javascript:hideChildren()">Hide Children</a></span>
+          </div>
+          <div class="greybox" id="children" style="display: none;">
+            #set ($children = $page.children)
+            #foreach ($child in $children)
+              $autoexport.link($child)
+              <span class="smalltext">($child.space.name)</span>
+              <br>
+            #end
+          </div>
+        #end
+
+      </div>
+    </div>
+    <div class="footer">
+      Generated by
+      $autoexport.confluenceInfo
+      $autoexport.autoexportInfo
+    </div>
+  </body>
+</html>

Added: servicemix/sandbox/ccustine/cwikitemplates/PIVOT.template
URL: http://svn.apache.org/viewvc/servicemix/sandbox/ccustine/cwikitemplates/PIVOT.template?rev=939023&view=auto
==============================================================================
--- servicemix/sandbox/ccustine/cwikitemplates/PIVOT.template (added)
+++ servicemix/sandbox/ccustine/cwikitemplates/PIVOT.template Wed Apr 28 17:41:27 2010
@@ -0,0 +1,137 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+  <head>
+    <link type="text/css" rel="stylesheet" href="$stylesheet">
+    <style type="text/css">
+      .footer {
+        background-image:      url('$confluenceUri/images/border/border_bottom.gif');
+        background-repeat:     repeat-x;
+        background-position:   left top;
+        padding-top:           4px;
+        color:                 #666;
+      }
+    </style>
+    <script type="text/javascript" language="javascript">
+      var hide = null;
+      var show = null;
+      var children = null;
+
+      function init() {
+        /* Search form initialization */
+        var form = document.forms['search'];
+        if (form != null) {
+          form.elements['domains'].value = location.hostname;
+          form.elements['sitesearch'].value = location.hostname;
+        }
+
+        /* Children initialization */
+        hide = document.getElementById('hide');
+        show = document.getElementById('show');
+        children = document.all != null ?
+                   document.all['children'] :
+                   document.getElementById('children');
+        if (children != null) {
+          children.style.display = 'none';
+          show.style.display = 'inline';
+          hide.style.display = 'none';
+        }
+      }
+
+      function showChildren() {
+        children.style.display = 'block';
+        show.style.display = 'none';
+        hide.style.display = 'inline';
+      }
+
+      function hideChildren() {
+        children.style.display = 'none';
+        show.style.display = 'inline';
+        hide.style.display = 'none';
+      }
+    </script>
+    <title>$page.title</title>
+  </head>
+  <body onload="init()">
+    <table border="0" cellpadding="2" cellspacing="0" width="100%">
+      <tr class="topBar">
+        <td align="left" valign="middle" class="topBarDiv" align="left" nowrap>
+          &nbsp;$autoexport.breadcrumbs($page)
+        </td>
+        <td align="right" valign="middle" nowrap>
+          <form name="search" action="http://www.google.com/search" method="get">
+            <input type="hidden" name="ie" value="UTF-8" />
+            <input type="hidden" name="oe" value="UTF-8" />
+            <input type="hidden" name="domains" value="" />
+            <input type="hidden" name="sitesearch" value="" />
+            <input type="text" name="q" maxlength="255" value="" />        
+            <input type="submit" name="btnG" value="Google Search" />
+          </form>
+        </td>
+      </tr> 
+    </table>
+
+    <div id="PageContent">
+      <div class="pageheader" style="padding: 6px 0px 0px 0px;">
+        <!-- We'll enable this once we figure out how to access (and save) the logo resource -->
+        <!--img src="/wiki/images/confluence_logo.gif" style="float: left; margin: 4px 4px 4px 10px;" border="0"-->
+        <div style="margin: 0px 10px 0px 10px" class="smalltext">$page.space.name</div>
+        <div style="margin: 0px 10px 8px 10px"  class="pagetitle">$page.title</div>
+
+        <div class="greynavbar" align="right" style="padding: 2px 10px; margin: 0px;">
+          <a href="$confluenceUri/pages/editpage.action?pageId=$page.id">
+            <img src="$confluenceUri/images/icons/notep_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Edit Page"></a>
+            <a href="$confluenceUri/pages/editpage.action?pageId=$page.id">Edit Page</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/listpages.action?key=$page.spaceKey">
+            <img src="$confluenceUri/images/icons/browse_space.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Browse Space"></a>
+            <a href="$confluenceUri/pages/listpages.action?key=$page.spaceKey">Browse Space</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/createpage.action?spaceKey=$page.spaceKey&fromPageId=$page.id">
+            <img src="$confluenceUri/images/icons/add_page_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Add Page"></a>
+          <a href="$confluenceUri/pages/createpage.action?spaceKey=$page.spaceKey&fromPageId=$page.id">Add Page</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/createblogpost.action?spaceKey=$page.spaceKey&fromPageId=$page.id">
+            <img src="$confluenceUri/images/icons/add_blogentry_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Add News"></a>
+          <a href="$confluenceUri/pages/createblogpost.action?spaceKey=$page.spaceKey&fromPageId=$page.id">Add News</a>
+        </div>
+      </div>
+      <div class="pagesubheading" style="margin: 0px 10px 0px 10px;">
+        #editReport()
+      </div>
+
+      <div class="pagecontent">
+        <div class="wiki-content">
+          $body
+        </div>
+
+        #if ($page.hasChildren())
+          <div class="tabletitle">
+            Children
+            <span class="smalltext" id="show" style="display: inline;">
+              <a href="javascript:showChildren()">Show Children</a></span>
+            <span class="smalltext" id="hide" style="display: none;">
+              <a href="javascript:hideChildren()">Hide Children</a></span>
+          </div>
+          <div class="greybox" id="children" style="display: none;">
+            #set ($children = $page.children)
+            #foreach ($child in $children)
+              $autoexport.link($child)
+              <span class="smalltext">($child.space.name)</span>
+              <br>
+            #end
+          </div>
+        #end
+
+      </div>
+    </div>
+    <div class="footer">
+      Generated by
+      $autoexport.confluenceInfo
+      $autoexport.autoexportInfo
+    </div>
+  </body>
+</html>

Added: servicemix/sandbox/ccustine/cwikitemplates/RCF.template
URL: http://svn.apache.org/viewvc/servicemix/sandbox/ccustine/cwikitemplates/RCF.template?rev=939023&view=auto
==============================================================================
--- servicemix/sandbox/ccustine/cwikitemplates/RCF.template (added)
+++ servicemix/sandbox/ccustine/cwikitemplates/RCF.template Wed Apr 28 17:41:27 2010
@@ -0,0 +1,137 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+  <head>
+    <link type="text/css" rel="stylesheet" href="$stylesheet">
+    <style type="text/css">
+      .footer {
+        background-image:      url('$confluenceUri/images/border/border_bottom.gif');
+        background-repeat:     repeat-x;
+        background-position:   left top;
+        padding-top:           4px;
+        color:                 #666;
+      }
+    </style>
+    <script type="text/javascript" language="javascript">
+      var hide = null;
+      var show = null;
+      var children = null;
+
+      function init() {
+        /* Search form initialization */
+        var form = document.forms['search'];
+        if (form != null) {
+          form.elements['domains'].value = location.hostname;
+          form.elements['sitesearch'].value = location.hostname;
+        }
+
+        /* Children initialization */
+        hide = document.getElementById('hide');
+        show = document.getElementById('show');
+        children = document.all != null ?
+                   document.all['children'] :
+                   document.getElementById('children');
+        if (children != null) {
+          children.style.display = 'none';
+          show.style.display = 'inline';
+          hide.style.display = 'none';
+        }
+      }
+
+      function showChildren() {
+        children.style.display = 'block';
+        show.style.display = 'none';
+        hide.style.display = 'inline';
+      }
+
+      function hideChildren() {
+        children.style.display = 'none';
+        show.style.display = 'inline';
+        hide.style.display = 'none';
+      }
+    </script>
+    <title>$page.title</title>
+  </head>
+  <body onload="init()">
+    <table border="0" cellpadding="2" cellspacing="0" width="100%">
+      <tr class="topBar">
+        <td align="left" valign="middle" class="topBarDiv" align="left" nowrap>
+          &nbsp;$autoexport.breadcrumbs($page)
+        </td>
+        <td align="right" valign="middle" nowrap>
+          <form name="search" action="http://www.google.com/search" method="get">
+            <input type="hidden" name="ie" value="UTF-8" />
+            <input type="hidden" name="oe" value="UTF-8" />
+            <input type="hidden" name="domains" value="" />
+            <input type="hidden" name="sitesearch" value="" />
+            <input type="text" name="q" maxlength="255" value="" />        
+            <input type="submit" name="btnG" value="Google Search" />
+          </form>
+        </td>
+      </tr> 
+    </table>
+
+    <div id="PageContent">
+      <div class="pageheader" style="padding: 6px 0px 0px 0px;">
+        <!-- We'll enable this once we figure out how to access (and save) the logo resource -->
+        <!--img src="/wiki/images/confluence_logo.gif" style="float: left; margin: 4px 4px 4px 10px;" border="0"-->
+        <div style="margin: 0px 10px 0px 10px" class="smalltext">$page.space.name</div>
+        <div style="margin: 0px 10px 8px 10px"  class="pagetitle">$page.title</div>
+
+        <div class="greynavbar" align="right" style="padding: 2px 10px; margin: 0px;">
+          <a href="$confluenceUri/pages/editpage.action?pageId=$page.id">
+            <img src="$confluenceUri/images/icons/notep_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Edit Page"></a>
+            <a href="$confluenceUri/pages/editpage.action?pageId=$page.id">Edit Page</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/listpages.action?key=$page.spaceKey">
+            <img src="$confluenceUri/images/icons/browse_space.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Browse Space"></a>
+            <a href="$confluenceUri/pages/listpages.action?key=$page.spaceKey">Browse Space</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/createpage.action?spaceKey=$page.spaceKey&fromPageId=$page.id">
+            <img src="$confluenceUri/images/icons/add_page_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Add Page"></a>
+          <a href="$confluenceUri/pages/createpage.action?spaceKey=$page.spaceKey&fromPageId=$page.id">Add Page</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/createblogpost.action?spaceKey=$page.spaceKey&fromPageId=$page.id">
+            <img src="$confluenceUri/images/icons/add_blogentry_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Add News"></a>
+          <a href="$confluenceUri/pages/createblogpost.action?spaceKey=$page.spaceKey&fromPageId=$page.id">Add News</a>
+        </div>
+      </div>
+      <div class="pagesubheading" style="margin: 0px 10px 0px 10px;">
+        #editReport()
+      </div>
+
+      <div class="pagecontent">
+        <div class="wiki-content">
+          $body
+        </div>
+
+        #if ($page.hasChildren())
+          <div class="tabletitle">
+            Children
+            <span class="smalltext" id="show" style="display: inline;">
+              <a href="javascript:showChildren()">Show Children</a></span>
+            <span class="smalltext" id="hide" style="display: none;">
+              <a href="javascript:hideChildren()">Hide Children</a></span>
+          </div>
+          <div class="greybox" id="children" style="display: none;">
+            #set ($children = $page.children)
+            #foreach ($child in $children)
+              $autoexport.link($child)
+              <span class="smalltext">($child.space.name)</span>
+              <br>
+            #end
+          </div>
+        #end
+
+      </div>
+    </div>
+    <div class="footer">
+      Generated by
+      $autoexport.confluenceInfo
+      $autoexport.autoexportInfo
+    </div>
+  </body>
+</html>

Added: servicemix/sandbox/ccustine/cwikitemplates/RIVER.template
URL: http://svn.apache.org/viewvc/servicemix/sandbox/ccustine/cwikitemplates/RIVER.template?rev=939023&view=auto
==============================================================================
--- servicemix/sandbox/ccustine/cwikitemplates/RIVER.template (added)
+++ servicemix/sandbox/ccustine/cwikitemplates/RIVER.template Wed Apr 28 17:41:27 2010
@@ -0,0 +1,116 @@
+##
+#macro (renderPage $title)
+    #set($globalHelper = $action.getGlobalHelper())
+    #set($renderer = $globalHelper.getWikiStyleRenderer())
+    #foreach ($child in $page.space.pages)
+        #if ($child.title.equals($title))
+            #set ($content = $renderer.convertWikiToXHtml($child.toPageContext(), $child.content).trim())
+            $content
+        #end
+    #end
+#end
+##
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+
+    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
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    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.
+-->
+<html>
+<head>
+
+    <link href="http://people.apache.org/~jhurley/river-template/styles/site.css" rel="stylesheet" type="text/css"/>
+    <link href="http://people.apache.org/~jhurley/river-template/styles/type-settings.css" rel="stylesheet" type="text/css"/>
+
+    <title>
+    Apache River -- $page.title
+    </title>
+</head>
+<body>
+<div class="white_box">
+<div class="header">
+  <div class="header_l">
+    <div class="header_r">
+    </div>
+  </div>
+</div>
+<div class="content">
+  <div class="content_l">
+    <div class="content_r">
+      <div>
+
+<!-- Banner -->
+#renderPage("Banner")
+
+        <div class="top_red_bar">
+          <div id="site-breadcrumbs">
+$autoexport.breadcrumbs($page)
+          </div>
+          <div id="site-quicklinks">
+#renderPage("Top Navigation Bar")
+          </div>
+        </div>
+
+    <table border="0">
+    <tbody>
+        <tr>
+        <td valign="top" width="100%" style="overflow:hidden;">
+          <div class="wiki-content">
+          $body
+          </div>
+        </td>
+        <td valign="top">
+          <div class="navigation">
+            <div class="navigation_top">
+              <div class="navigation_bottom"> 
+                #renderPage("SideNav")
+              </div>
+            </div>   
+          </div>
+        </td>
+        </tr>
+    </tbody>
+        </table>
+
+
+        <div class="bottom_red_bar"></div>
+      </div>
+    </div>
+  </div>
+</div>
+<div class="black_box">
+<div class="footer">
+  <div class="footer_l">
+    <div class="footer_r">
+      <div>
+        #editReport() 
+        (<a href="$confluenceUri/pages/editpage.action?pageId=$page.id">edit page</a>)
+      </div>
+    </div>
+  </div>
+</div>
+</div>
+</div>
+<div class="design_attribution">Page Template Design By Marc Prud'hommeaux based on <a href="http://activemq.apache.org">ActiveMQ template</a></div>
+
+<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+</script>
+<script type="text/javascript">
+_uacct = "UA-1940143-1";
+urchinTracker();
+</script>
+
+</body>
+</html>

Added: servicemix/sandbox/ccustine/cwikitemplates/ROLLER.template
URL: http://svn.apache.org/viewvc/servicemix/sandbox/ccustine/cwikitemplates/ROLLER.template?rev=939023&view=auto
==============================================================================
--- servicemix/sandbox/ccustine/cwikitemplates/ROLLER.template (added)
+++ servicemix/sandbox/ccustine/cwikitemplates/ROLLER.template Wed Apr 28 17:41:27 2010
@@ -0,0 +1,137 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+  <head>
+    <link type="text/css" rel="stylesheet" href="$stylesheet">
+    <style type="text/css">
+      .footer {
+        background-image:      url('$confluenceUri/images/border/border_bottom.gif');
+        background-repeat:     repeat-x;
+        background-position:   left top;
+        padding-top:           4px;
+        color:                 #666;
+      }
+    </style>
+    <script type="text/javascript" language="javascript">
+      var hide = null;
+      var show = null;
+      var children = null;
+
+      function init() {
+        /* Search form initialization */
+        var form = document.forms['search'];
+        if (form != null) {
+          form.elements['domains'].value = location.hostname;
+          form.elements['sitesearch'].value = location.hostname;
+        }
+
+        /* Children initialization */
+        hide = document.getElementById('hide');
+        show = document.getElementById('show');
+        children = document.all != null ?
+                   document.all['children'] :
+                   document.getElementById('children');
+        if (children != null) {
+          children.style.display = 'none';
+          show.style.display = 'inline';
+          hide.style.display = 'none';
+        }
+      }
+
+      function showChildren() {
+        children.style.display = 'block';
+        show.style.display = 'none';
+        hide.style.display = 'inline';
+      }
+
+      function hideChildren() {
+        children.style.display = 'none';
+        show.style.display = 'inline';
+        hide.style.display = 'none';
+      }
+    </script>
+    <title>$page.title</title>
+  </head>
+  <body onload="init()">
+    <table border="0" cellpadding="2" cellspacing="0" width="100%">
+      <tr class="topBar">
+        <td align="left" valign="middle" class="topBarDiv" align="left" nowrap>
+          &nbsp;$autoexport.breadcrumbs($page)
+        </td>
+        <td align="right" valign="middle" nowrap>
+          <form name="search" action="http://www.google.com/search" method="get">
+            <input type="hidden" name="ie" value="UTF-8" />
+            <input type="hidden" name="oe" value="UTF-8" />
+            <input type="hidden" name="domains" value="" />
+            <input type="hidden" name="sitesearch" value="" />
+            <input type="text" name="q" maxlength="255" value="" />        
+            <input type="submit" name="btnG" value="Google Search" />
+          </form>
+        </td>
+      </tr> 
+    </table>
+
+    <div id="PageContent">
+      <div class="pageheader" style="padding: 6px 0px 0px 0px;">
+        <!-- We'll enable this once we figure out how to access (and save) the logo resource -->
+        <!--img src="/wiki/images/confluence_logo.gif" style="float: left; margin: 4px 4px 4px 10px;" border="0"-->
+        <div style="margin: 0px 10px 0px 10px" class="smalltext">$page.space.name</div>
+        <div style="margin: 0px 10px 8px 10px"  class="pagetitle">$page.title</div>
+
+        <div class="greynavbar" align="right" style="padding: 2px 10px; margin: 0px;">
+          <a href="$confluenceUri/pages/editpage.action?pageId=$page.id">
+            <img src="$confluenceUri/images/icons/notep_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Edit Page"></a>
+            <a href="$confluenceUri/pages/editpage.action?pageId=$page.id">Edit Page</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/listpages.action?key=$page.spaceKey">
+            <img src="$confluenceUri/images/icons/browse_space.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Browse Space"></a>
+            <a href="$confluenceUri/pages/listpages.action?key=$page.spaceKey">Browse Space</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/createpage.action?spaceKey=$page.spaceKey&fromPageId=$page.id">
+            <img src="$confluenceUri/images/icons/add_page_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Add Page"></a>
+          <a href="$confluenceUri/pages/createpage.action?spaceKey=$page.spaceKey&fromPageId=$page.id">Add Page</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/createblogpost.action?spaceKey=$page.spaceKey&fromPageId=$page.id">
+            <img src="$confluenceUri/images/icons/add_blogentry_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Add News"></a>
+          <a href="$confluenceUri/pages/createblogpost.action?spaceKey=$page.spaceKey&fromPageId=$page.id">Add News</a>
+        </div>
+      </div>
+      <div class="pagesubheading" style="margin: 0px 10px 0px 10px;">
+        #editReport()
+      </div>
+
+      <div class="pagecontent">
+        <div class="wiki-content">
+          $body
+        </div>
+
+        #if ($page.hasChildren())
+          <div class="tabletitle">
+            Children
+            <span class="smalltext" id="show" style="display: inline;">
+              <a href="javascript:showChildren()">Show Children</a></span>
+            <span class="smalltext" id="hide" style="display: none;">
+              <a href="javascript:hideChildren()">Hide Children</a></span>
+          </div>
+          <div class="greybox" id="children" style="display: none;">
+            #set ($children = $page.children)
+            #foreach ($child in $children)
+              $autoexport.link($child)
+              <span class="smalltext">($child.space.name)</span>
+              <br>
+            #end
+          </div>
+        #end
+
+      </div>
+    </div>
+    <div class="footer">
+      Generated by
+      $autoexport.confluenceInfo
+      $autoexport.autoexportInfo
+    </div>
+  </body>
+</html>

Added: servicemix/sandbox/ccustine/cwikitemplates/S2PLUGINS.template
URL: http://svn.apache.org/viewvc/servicemix/sandbox/ccustine/cwikitemplates/S2PLUGINS.template?rev=939023&view=auto
==============================================================================
--- servicemix/sandbox/ccustine/cwikitemplates/S2PLUGINS.template (added)
+++ servicemix/sandbox/ccustine/cwikitemplates/S2PLUGINS.template Wed Apr 28 17:41:27 2010
@@ -0,0 +1,137 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+  <head>
+    <link type="text/css" rel="stylesheet" href="$stylesheet">
+    <style type="text/css">
+      .footer {
+        background-image:      url('$confluenceUri/images/border/border_bottom.gif');
+        background-repeat:     repeat-x;
+        background-position:   left top;
+        padding-top:           4px;
+        color:                 #666;
+      }
+    </style>
+    <script type="text/javascript" language="javascript">
+      var hide = null;
+      var show = null;
+      var children = null;
+
+      function init() {
+        /* Search form initialization */
+        var form = document.forms['search'];
+        if (form != null) {
+          form.elements['domains'].value = location.hostname;
+          form.elements['sitesearch'].value = location.hostname;
+        }
+
+        /* Children initialization */
+        hide = document.getElementById('hide');
+        show = document.getElementById('show');
+        children = document.all != null ?
+                   document.all['children'] :
+                   document.getElementById('children');
+        if (children != null) {
+          children.style.display = 'none';
+          show.style.display = 'inline';
+          hide.style.display = 'none';
+        }
+      }
+
+      function showChildren() {
+        children.style.display = 'block';
+        show.style.display = 'none';
+        hide.style.display = 'inline';
+      }
+
+      function hideChildren() {
+        children.style.display = 'none';
+        show.style.display = 'inline';
+        hide.style.display = 'none';
+      }
+    </script>
+    <title>$page.title</title>
+  </head>
+  <body onload="init()">
+    <table border="0" cellpadding="2" cellspacing="0" width="100%">
+      <tr class="topBar">
+        <td align="left" valign="middle" class="topBarDiv" align="left" nowrap>
+          &nbsp;$autoexport.breadcrumbs($page)
+        </td>
+        <td align="right" valign="middle" nowrap>
+          <form name="search" action="http://www.google.com/search" method="get">
+            <input type="hidden" name="ie" value="UTF-8" />
+            <input type="hidden" name="oe" value="UTF-8" />
+            <input type="hidden" name="domains" value="" />
+            <input type="hidden" name="sitesearch" value="" />
+            <input type="text" name="q" maxlength="255" value="" />        
+            <input type="submit" name="btnG" value="Google Search" />
+          </form>
+        </td>
+      </tr> 
+    </table>
+
+    <div id="PageContent">
+      <div class="pageheader" style="padding: 6px 0px 0px 0px;">
+        <!-- We'll enable this once we figure out how to access (and save) the logo resource -->
+        <!--img src="/wiki/images/confluence_logo.gif" style="float: left; margin: 4px 4px 4px 10px;" border="0"-->
+        <div style="margin: 0px 10px 0px 10px" class="smalltext">$page.space.name</div>
+        <div style="margin: 0px 10px 8px 10px"  class="pagetitle">$page.title</div>
+
+        <div class="greynavbar" align="right" style="padding: 2px 10px; margin: 0px;">
+          <a href="$confluenceUri/pages/editpage.action?pageId=$page.id">
+            <img src="$confluenceUri/images/icons/notep_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Edit Page"></a>
+            <a href="$confluenceUri/pages/editpage.action?pageId=$page.id">Edit Page</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/listpages.action?key=$page.spaceKey">
+            <img src="$confluenceUri/images/icons/browse_space.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Browse Space"></a>
+            <a href="$confluenceUri/pages/listpages.action?key=$page.spaceKey">Browse Space</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/createpage.action?spaceKey=$page.spaceKey&fromPageId=$page.id">
+            <img src="$confluenceUri/images/icons/add_page_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Add Page"></a>
+          <a href="$confluenceUri/pages/createpage.action?spaceKey=$page.spaceKey&fromPageId=$page.id">Add Page</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/createblogpost.action?spaceKey=$page.spaceKey&fromPageId=$page.id">
+            <img src="$confluenceUri/images/icons/add_blogentry_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Add News"></a>
+          <a href="$confluenceUri/pages/createblogpost.action?spaceKey=$page.spaceKey&fromPageId=$page.id">Add News</a>
+        </div>
+      </div>
+      <div class="pagesubheading" style="margin: 0px 10px 0px 10px;">
+        #editReport()
+      </div>
+
+      <div class="pagecontent">
+        <div class="wiki-content">
+          $body
+        </div>
+
+        #if ($page.hasChildren())
+          <div class="tabletitle">
+            Children
+            <span class="smalltext" id="show" style="display: inline;">
+              <a href="javascript:showChildren()">Show Children</a></span>
+            <span class="smalltext" id="hide" style="display: none;">
+              <a href="javascript:hideChildren()">Hide Children</a></span>
+          </div>
+          <div class="greybox" id="children" style="display: none;">
+            #set ($children = $page.children)
+            #foreach ($child in $children)
+              $autoexport.link($child)
+              <span class="smalltext">($child.space.name)</span>
+              <br>
+            #end
+          </div>
+        #end
+
+      </div>
+    </div>
+    <div class="footer">
+      Generated by
+      $autoexport.confluenceInfo
+      $autoexport.autoexportInfo
+    </div>
+  </body>
+</html>

Added: servicemix/sandbox/ccustine/cwikitemplates/S2WIKI.template
URL: http://svn.apache.org/viewvc/servicemix/sandbox/ccustine/cwikitemplates/S2WIKI.template?rev=939023&view=auto
==============================================================================
--- servicemix/sandbox/ccustine/cwikitemplates/S2WIKI.template (added)
+++ servicemix/sandbox/ccustine/cwikitemplates/S2WIKI.template Wed Apr 28 17:41:27 2010
@@ -0,0 +1,137 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+  <head>
+    <link type="text/css" rel="stylesheet" href="$stylesheet">
+    <style type="text/css">
+      .footer {
+        background-image:      url('$confluenceUri/images/border/border_bottom.gif');
+        background-repeat:     repeat-x;
+        background-position:   left top;
+        padding-top:           4px;
+        color:                 #666;
+      }
+    </style>
+    <script type="text/javascript" language="javascript">
+      var hide = null;
+      var show = null;
+      var children = null;
+
+      function init() {
+        /* Search form initialization */
+        var form = document.forms['search'];
+        if (form != null) {
+          form.elements['domains'].value = location.hostname;
+          form.elements['sitesearch'].value = location.hostname;
+        }
+
+        /* Children initialization */
+        hide = document.getElementById('hide');
+        show = document.getElementById('show');
+        children = document.all != null ?
+                   document.all['children'] :
+                   document.getElementById('children');
+        if (children != null) {
+          children.style.display = 'none';
+          show.style.display = 'inline';
+          hide.style.display = 'none';
+        }
+      }
+
+      function showChildren() {
+        children.style.display = 'block';
+        show.style.display = 'none';
+        hide.style.display = 'inline';
+      }
+
+      function hideChildren() {
+        children.style.display = 'none';
+        show.style.display = 'inline';
+        hide.style.display = 'none';
+      }
+    </script>
+    <title>$page.title</title>
+  </head>
+  <body onload="init()">
+    <table border="0" cellpadding="2" cellspacing="0" width="100%">
+      <tr class="topBar">
+        <td align="left" valign="middle" class="topBarDiv" align="left" nowrap>
+          &nbsp;$autoexport.breadcrumbs($page)
+        </td>
+        <td align="right" valign="middle" nowrap>
+          <form name="search" action="http://www.google.com/search" method="get">
+            <input type="hidden" name="ie" value="UTF-8" />
+            <input type="hidden" name="oe" value="UTF-8" />
+            <input type="hidden" name="domains" value="" />
+            <input type="hidden" name="sitesearch" value="" />
+            <input type="text" name="q" maxlength="255" value="" />        
+            <input type="submit" name="btnG" value="Google Search" />
+          </form>
+        </td>
+      </tr> 
+    </table>
+
+    <div id="PageContent">
+      <div class="pageheader" style="padding: 6px 0px 0px 0px;">
+        <!-- We'll enable this once we figure out how to access (and save) the logo resource -->
+        <!--img src="/wiki/images/confluence_logo.gif" style="float: left; margin: 4px 4px 4px 10px;" border="0"-->
+        <div style="margin: 0px 10px 0px 10px" class="smalltext">$page.space.name</div>
+        <div style="margin: 0px 10px 8px 10px"  class="pagetitle">$page.title</div>
+
+        <div class="greynavbar" align="right" style="padding: 2px 10px; margin: 0px;">
+          <a href="$confluenceUri/pages/editpage.action?pageId=$page.id">
+            <img src="$confluenceUri/images/icons/notep_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Edit Page"></a>
+            <a href="$confluenceUri/pages/editpage.action?pageId=$page.id">Edit Page</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/listpages.action?key=$page.spaceKey">
+            <img src="$confluenceUri/images/icons/browse_space.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Browse Space"></a>
+            <a href="$confluenceUri/pages/listpages.action?key=$page.spaceKey">Browse Space</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/createpage.action?spaceKey=$page.spaceKey&fromPageId=$page.id">
+            <img src="$confluenceUri/images/icons/add_page_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Add Page"></a>
+          <a href="$confluenceUri/pages/createpage.action?spaceKey=$page.spaceKey&fromPageId=$page.id">Add Page</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/createblogpost.action?spaceKey=$page.spaceKey&fromPageId=$page.id">
+            <img src="$confluenceUri/images/icons/add_blogentry_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Add News"></a>
+          <a href="$confluenceUri/pages/createblogpost.action?spaceKey=$page.spaceKey&fromPageId=$page.id">Add News</a>
+        </div>
+      </div>
+      <div class="pagesubheading" style="margin: 0px 10px 0px 10px;">
+        #editReport()
+      </div>
+
+      <div class="pagecontent">
+        <div class="wiki-content">
+          $body
+        </div>
+
+        #if ($page.hasChildren())
+          <div class="tabletitle">
+            Children
+            <span class="smalltext" id="show" style="display: inline;">
+              <a href="javascript:showChildren()">Show Children</a></span>
+            <span class="smalltext" id="hide" style="display: none;">
+              <a href="javascript:hideChildren()">Hide Children</a></span>
+          </div>
+          <div class="greybox" id="children" style="display: none;">
+            #set ($children = $page.children)
+            #foreach ($child in $children)
+              $autoexport.link($child)
+              <span class="smalltext">($child.space.name)</span>
+              <br>
+            #end
+          </div>
+        #end
+
+      </div>
+    </div>
+    <div class="footer">
+      Generated by
+      $autoexport.confluenceInfo
+      $autoexport.autoexportInfo
+    </div>
+  </body>
+</html>

Added: servicemix/sandbox/ccustine/cwikitemplates/SHINDIG.template
URL: http://svn.apache.org/viewvc/servicemix/sandbox/ccustine/cwikitemplates/SHINDIG.template?rev=939023&view=auto
==============================================================================
--- servicemix/sandbox/ccustine/cwikitemplates/SHINDIG.template (added)
+++ servicemix/sandbox/ccustine/cwikitemplates/SHINDIG.template Wed Apr 28 17:41:27 2010
@@ -0,0 +1,137 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+  <head>
+    <link type="text/css" rel="stylesheet" href="$stylesheet">
+    <style type="text/css">
+      .footer {
+        background-image:      url('$confluenceUri/images/border/border_bottom.gif');
+        background-repeat:     repeat-x;
+        background-position:   left top;
+        padding-top:           4px;
+        color:                 #666;
+      }
+    </style>
+    <script type="text/javascript" language="javascript">
+      var hide = null;
+      var show = null;
+      var children = null;
+
+      function init() {
+        /* Search form initialization */
+        var form = document.forms['search'];
+        if (form != null) {
+          form.elements['domains'].value = location.hostname;
+          form.elements['sitesearch'].value = location.hostname;
+        }
+
+        /* Children initialization */
+        hide = document.getElementById('hide');
+        show = document.getElementById('show');
+        children = document.all != null ?
+                   document.all['children'] :
+                   document.getElementById('children');
+        if (children != null) {
+          children.style.display = 'none';
+          show.style.display = 'inline';
+          hide.style.display = 'none';
+        }
+      }
+
+      function showChildren() {
+        children.style.display = 'block';
+        show.style.display = 'none';
+        hide.style.display = 'inline';
+      }
+
+      function hideChildren() {
+        children.style.display = 'none';
+        show.style.display = 'inline';
+        hide.style.display = 'none';
+      }
+    </script>
+    <title>$page.title</title>
+  </head>
+  <body onload="init()">
+    <table border="0" cellpadding="2" cellspacing="0" width="100%">
+      <tr class="topBar">
+        <td align="left" valign="middle" class="topBarDiv" align="left" nowrap>
+          &nbsp;$autoexport.breadcrumbs($page)
+        </td>
+        <td align="right" valign="middle" nowrap>
+          <form name="search" action="http://www.google.com/search" method="get">
+            <input type="hidden" name="ie" value="UTF-8" />
+            <input type="hidden" name="oe" value="UTF-8" />
+            <input type="hidden" name="domains" value="" />
+            <input type="hidden" name="sitesearch" value="" />
+            <input type="text" name="q" maxlength="255" value="" />        
+            <input type="submit" name="btnG" value="Google Search" />
+          </form>
+        </td>
+      </tr> 
+    </table>
+
+    <div id="PageContent">
+      <div class="pageheader" style="padding: 6px 0px 0px 0px;">
+        <!-- We'll enable this once we figure out how to access (and save) the logo resource -->
+        <!--img src="/wiki/images/confluence_logo.gif" style="float: left; margin: 4px 4px 4px 10px;" border="0"-->
+        <div style="margin: 0px 10px 0px 10px" class="smalltext">$page.space.name</div>
+        <div style="margin: 0px 10px 8px 10px"  class="pagetitle">$page.title</div>
+
+        <div class="greynavbar" align="right" style="padding: 2px 10px; margin: 0px;">
+          <a href="$confluenceUri/pages/editpage.action?pageId=$page.id">
+            <img src="$confluenceUri/images/icons/notep_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Edit Page"></a>
+            <a href="$confluenceUri/pages/editpage.action?pageId=$page.id">Edit Page</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/listpages.action?key=$page.spaceKey">
+            <img src="$confluenceUri/images/icons/browse_space.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Browse Space"></a>
+            <a href="$confluenceUri/pages/listpages.action?key=$page.spaceKey">Browse Space</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/createpage.action?spaceKey=$page.spaceKey&fromPageId=$page.id">
+            <img src="$confluenceUri/images/icons/add_page_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Add Page"></a>
+          <a href="$confluenceUri/pages/createpage.action?spaceKey=$page.spaceKey&fromPageId=$page.id">Add Page</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/createblogpost.action?spaceKey=$page.spaceKey&fromPageId=$page.id">
+            <img src="$confluenceUri/images/icons/add_blogentry_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Add News"></a>
+          <a href="$confluenceUri/pages/createblogpost.action?spaceKey=$page.spaceKey&fromPageId=$page.id">Add News</a>
+        </div>
+      </div>
+      <div class="pagesubheading" style="margin: 0px 10px 0px 10px;">
+        #editReport()
+      </div>
+
+      <div class="pagecontent">
+        <div class="wiki-content">
+          $body
+        </div>
+
+        #if ($page.hasChildren())
+          <div class="tabletitle">
+            Children
+            <span class="smalltext" id="show" style="display: inline;">
+              <a href="javascript:showChildren()">Show Children</a></span>
+            <span class="smalltext" id="hide" style="display: none;">
+              <a href="javascript:hideChildren()">Hide Children</a></span>
+          </div>
+          <div class="greybox" id="children" style="display: none;">
+            #set ($children = $page.children)
+            #foreach ($child in $children)
+              $autoexport.link($child)
+              <span class="smalltext">($child.space.name)</span>
+              <br>
+            #end
+          </div>
+        #end
+
+      </div>
+    </div>
+    <div class="footer">
+      Generated by
+      $autoexport.confluenceInfo
+      $autoexport.autoexportInfo
+    </div>
+  </body>
+</html>

Added: servicemix/sandbox/ccustine/cwikitemplates/SHINDIGxSITE.template
URL: http://svn.apache.org/viewvc/servicemix/sandbox/ccustine/cwikitemplates/SHINDIGxSITE.template?rev=939023&view=auto
==============================================================================
--- servicemix/sandbox/ccustine/cwikitemplates/SHINDIGxSITE.template (added)
+++ servicemix/sandbox/ccustine/cwikitemplates/SHINDIGxSITE.template Wed Apr 28 17:41:27 2010
@@ -0,0 +1,137 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+  <head>
+    <link type="text/css" rel="stylesheet" href="$stylesheet">
+    <style type="text/css">
+      .footer {
+        background-image:      url('$confluenceUri/images/border/border_bottom.gif');
+        background-repeat:     repeat-x;
+        background-position:   left top;
+        padding-top:           4px;
+        color:                 #666;
+      }
+    </style>
+    <script type="text/javascript" language="javascript">
+      var hide = null;
+      var show = null;
+      var children = null;
+
+      function init() {
+        /* Search form initialization */
+        var form = document.forms['search'];
+        if (form != null) {
+          form.elements['domains'].value = location.hostname;
+          form.elements['sitesearch'].value = location.hostname;
+        }
+
+        /* Children initialization */
+        hide = document.getElementById('hide');
+        show = document.getElementById('show');
+        children = document.all != null ?
+                   document.all['children'] :
+                   document.getElementById('children');
+        if (children != null) {
+          children.style.display = 'none';
+          show.style.display = 'inline';
+          hide.style.display = 'none';
+        }
+      }
+
+      function showChildren() {
+        children.style.display = 'block';
+        show.style.display = 'none';
+        hide.style.display = 'inline';
+      }
+
+      function hideChildren() {
+        children.style.display = 'none';
+        show.style.display = 'inline';
+        hide.style.display = 'none';
+      }
+    </script>
+    <title>$page.title</title>
+  </head>
+  <body onload="init()">
+    <table border="0" cellpadding="2" cellspacing="0" width="100%">
+      <tr class="topBar">
+        <td align="left" valign="middle" class="topBarDiv" align="left" nowrap>
+          &nbsp;$autoexport.breadcrumbs($page)
+        </td>
+        <td align="right" valign="middle" nowrap>
+          <form name="search" action="http://www.google.com/search" method="get">
+            <input type="hidden" name="ie" value="UTF-8" />
+            <input type="hidden" name="oe" value="UTF-8" />
+            <input type="hidden" name="domains" value="" />
+            <input type="hidden" name="sitesearch" value="" />
+            <input type="text" name="q" maxlength="255" value="" />        
+            <input type="submit" name="btnG" value="Google Search" />
+          </form>
+        </td>
+      </tr> 
+    </table>
+
+    <div id="PageContent">
+      <div class="pageheader" style="padding: 6px 0px 0px 0px;">
+        <!-- We'll enable this once we figure out how to access (and save) the logo resource -->
+        <!--img src="/wiki/images/confluence_logo.gif" style="float: left; margin: 4px 4px 4px 10px;" border="0"-->
+        <div style="margin: 0px 10px 0px 10px" class="smalltext">$page.space.name</div>
+        <div style="margin: 0px 10px 8px 10px"  class="pagetitle">$page.title</div>
+
+        <div class="greynavbar" align="right" style="padding: 2px 10px; margin: 0px;">
+          <a href="$confluenceUri/pages/editpage.action?pageId=$page.id">
+            <img src="$confluenceUri/images/icons/notep_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Edit Page"></a>
+            <a href="$confluenceUri/pages/editpage.action?pageId=$page.id">Edit Page</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/listpages.action?key=$page.spaceKey">
+            <img src="$confluenceUri/images/icons/browse_space.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Browse Space"></a>
+            <a href="$confluenceUri/pages/listpages.action?key=$page.spaceKey">Browse Space</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/createpage.action?spaceKey=$page.spaceKey&fromPageId=$page.id">
+            <img src="$confluenceUri/images/icons/add_page_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Add Page"></a>
+          <a href="$confluenceUri/pages/createpage.action?spaceKey=$page.spaceKey&fromPageId=$page.id">Add Page</a>
+          &nbsp;
+          <a href="$confluenceUri/pages/createblogpost.action?spaceKey=$page.spaceKey&fromPageId=$page.id">
+            <img src="$confluenceUri/images/icons/add_blogentry_16.gif"
+                 height="16" width="16" border="0" align="absmiddle" title="Add News"></a>
+          <a href="$confluenceUri/pages/createblogpost.action?spaceKey=$page.spaceKey&fromPageId=$page.id">Add News</a>
+        </div>
+      </div>
+      <div class="pagesubheading" style="margin: 0px 10px 0px 10px;">
+        #editReport()
+      </div>
+
+      <div class="pagecontent">
+        <div class="wiki-content">
+          $body
+        </div>
+
+        #if ($page.hasChildren())
+          <div class="tabletitle">
+            Children
+            <span class="smalltext" id="show" style="display: inline;">
+              <a href="javascript:showChildren()">Show Children</a></span>
+            <span class="smalltext" id="hide" style="display: none;">
+              <a href="javascript:hideChildren()">Hide Children</a></span>
+          </div>
+          <div class="greybox" id="children" style="display: none;">
+            #set ($children = $page.children)
+            #foreach ($child in $children)
+              $autoexport.link($child)
+              <span class="smalltext">($child.space.name)</span>
+              <br>
+            #end
+          </div>
+        #end
+
+      </div>
+    </div>
+    <div class="footer">
+      Generated by
+      $autoexport.confluenceInfo
+      $autoexport.autoexportInfo
+    </div>
+  </body>
+</html>