portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shins...@apache.org
Subject svn commit: r209715 - /portals/jetspeed-2/branches/MENUS_BRANCH/portal/src/webapp/WEB-INF/decorations/layout/html/ja/tigris/decorator-top.vm
Date Fri, 08 Jul 2005 07:39:08 GMT
Author: shinsuke
Date: Fri Jul  8 00:39:07 2005
New Revision: 209715

URL: http://svn.apache.org/viewcvs?rev=209715&view=rev
Log:
port ja tigris decorator

Modified:
    portals/jetspeed-2/branches/MENUS_BRANCH/portal/src/webapp/WEB-INF/decorations/layout/html/ja/tigris/decorator-top.vm

Modified: portals/jetspeed-2/branches/MENUS_BRANCH/portal/src/webapp/WEB-INF/decorations/layout/html/ja/tigris/decorator-top.vm
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/branches/MENUS_BRANCH/portal/src/webapp/WEB-INF/decorations/layout/html/ja/tigris/decorator-top.vm?rev=209715&r1=209714&r2=209715&view=diff
==============================================================================
--- portals/jetspeed-2/branches/MENUS_BRANCH/portal/src/webapp/WEB-INF/decorations/layout/html/ja/tigris/decorator-top.vm
(original)
+++ portals/jetspeed-2/branches/MENUS_BRANCH/portal/src/webapp/WEB-INF/decorations/layout/html/ja/tigris/decorator-top.vm
Fri Jul  8 00:39:07 2005
@@ -38,7 +38,6 @@
 
 #set($myF = $jetspeed.currentFragment)
 #set($site = $request.getAttribute("org.apache.jetspeed.profiledPageContext"))
-#set($parentFolder = $site.parentFolder)
 
 <!--  BEGIN: layout/html/tigris/decorator.vm -->
 
@@ -48,7 +47,7 @@
         <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>
+              <h1><img src="$response.encodeURL('content/images/jetspeed-logo.gif')"
alt="Jetspeed 2 ロゴ" border="0"/></h1>
             </td>
             <td>
               <div align="right" id="login">
@@ -60,70 +59,35 @@
       </div>
 <!-- Top Tabs -->
       <div class="tabs">
-#includeTabsNavigation($site.siblingPages $LEFT_TO_RIGHT)
+#set($pagesStandardMenu = $site.getMenu("pages"))
+#if(!$pagesStandardMenu.empty)
+#includeTabsNavigation($pagesStandardMenu $LEFT_TO_RIGHT)
+#end
       </div>
       <div id="breadcrumbs">
-#if($parentFolder)
-		<a href="$jetspeed.getAbsoluteUrl($parentFolder.url)" title="$parentFolder.getTitle($preferedLocale)">$parentFolder.getShortTitle($preferedLocale)
-へ戻る
-</a>
-#end
+#set($backStandardMenu = $site.getMenu("back"))
+#if(!$backStandardMenu.empty)
+#includeLinksNavigation($backStandardMenu $LEFT_TO_RIGHT)
+#else
         &nbsp;
+#end
       </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)
+#set($navigationsStandardMenu = $site.getMenu("navigations"))
+#if(!$navigationsStandardMenu.empty)
           <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>
+              <table cellpadding="0" cellspacing="4" border="0" width="100%">
+#includeLinksWithIconNavigation($navigationsStandardMenu $TOP_TO_BOTTOM)
+              </table>
 
             </div>
           </td>
 #end
+
           <td nowrap valign="top">
   
 ## $jetspeed.include($jetspeed.currentFragment)



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message