#*
Copyright 2004 The Apache Software Foundation

Licensed 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.
*#

#* Add all template constants to the current context *#
#defineNavigationConstants()
#* Add the current layouts configuration values to the context *#
#defineLayoutObjects()



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    #includeStyleSheets()
    <title>$jetspeed.page.getTitle($preferedLocale)</title>
    <meta http-equiv="Content-type" content="text/html" />
    <meta http-equiv="Content-style-type" content="text/css" />

    <meta name="version" content="/* $Id: decorator-top.vm,v 1.8 2005/01/25 00:52:12 rwatler Exp $" />
    <meta name="keywords" content="" />
    <meta name="description" content="$jetspeed.page.getTitle($preferedLocale)" />
  </head>
  <body marginwidth="0" marginheight="0" class="layout-tigris">

#set($myF = $jetspeed.currentFragment)
#set($site = $request.getAttribute("org.apache.jetspeed.profiledPageContext"))
#set($parentFolder = $site.parentFolder)

<!--  BEGIN: layout/html/tigris/decorator.vm -->

    <div class="layout-tigris">
<!-- Banner -->
      <div id="banner">
        <table border="0" cellspacing="0" cellpadding="8" width="100%">
          <tr>
            <td>
              <h1><img src="content/images/jetspeed-logo.gif" alt="Jetspeed 2 Logo" border="0"/></h1>
            </td>
            <td>
              <div align="right" id="login">
                &nbsp;
              </div>
            </td>
          </tr>
        </table>
      </div>
<!-- Top Tabs -->
      <div class="tabs">
#includeTabsNavigation($site.siblingPages $LEFT_TO_RIGHT)
      </div>
      <div id="breadcrumbs">
#if($parentFolder)
		<a href="$jetspeed.getAbsoluteUrl($parentFolder.url)" title="$parentFolder.getTitle($preferedLocale)">$parentFolder.getShortTitle($preferedLocale)
へ戻る
</a>
#end
        &nbsp;
      </div>
      <table cellpadding="0" cellspacing="0" border="0" width="100%" id="main">
        <tr>
#set($hasFoldersAndPages = ($site.siblingFolders && !$site.siblingFolders.isEmpty()) || ($site.documentSetNames && !$site.documentSetNames.isEmpty()))
#set($hasAdditionaLinks = $site.rootLinks && !$site.rootLinks.isEmpty())
#if($hasFoldersAndPages || $hasAdditionaLinks)
          <td valign="top" id="leftcol" width="20%">
            <div id="navcolumn">

<!-- Navigation Column -->
<table cellpadding="0" cellspacing="4" border="0" width="100%">
#if($hasFoldersAndPages)
  <tr>
    <td>
      <div class="toolgroup">    
        <div class="label">
          フォルダ＆ページ
        </div>
        <div class="body">
#includeFoldersNavigation($site.siblingFolders $TOP_TO_BOTTOM)

#foreach($docSetName in $site.documentSetNames)
  #set($docSet = $site.getDocumentSet($docSetName))
  #set($docSetNodes = $site.getDocumentSetNodes($docSetName))
          <div>
            <div class="pagetitle" title="$docSet.getTitle($preferedLocale)">
            ${docSet.getShortTitle($preferedLocale)}
            </div>
          </div>
#includeNestedLinksWithIconNavigation($docSetNodes $docSet.url $TOP_TO_BOTTOM)
#end
        </div>
      </div>
    </td>
  </tr>
#end
#if($hasAdditionaLinks)
  <tr>
    <td>  
      <div class="toolgroup">
        <div class="label">
          追加リンク
        </div>
        <div class="body">
#includeLinksWithIconNavigation($site.rootLinks $TOP_TO_BOTTOM)
        </div>
      </div>
    </td>
  </tr>
#end
</table>

            </div>
          </td>
#end
          <td nowrap valign="top">
  
## $jetspeed.include($jetspeed.currentFragment)

<!--  END: layout/html/tigris/decorator.vm -->
