portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r374132 - /portals/jetspeed-2/trunk/src/webapp/WEB-INF/templates/layout/xhtml-basic/columns/layout-help.vm
Date Wed, 01 Feb 2006 18:11:44 GMT
Author: taylor
Date: Wed Feb  1 10:11:43 2006
New Revision: 374132

URL: http://svn.apache.org/viewcvs?rev=374132&view=rev
Log:
Portal page help
http://issues.apache.org/jira/browse/JS2-488
http://issues.apache.org/jira/browse/JS2-489

Modified:
    portals/jetspeed-2/trunk/src/webapp/WEB-INF/templates/layout/xhtml-basic/columns/layout-help.vm

Modified: portals/jetspeed-2/trunk/src/webapp/WEB-INF/templates/layout/xhtml-basic/columns/layout-help.vm
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/src/webapp/WEB-INF/templates/layout/xhtml-basic/columns/layout-help.vm?rev=374132&r1=374131&r2=374132&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/WEB-INF/templates/layout/xhtml-basic/columns/layout-help.vm
(original)
+++ portals/jetspeed-2/trunk/src/webapp/WEB-INF/templates/layout/xhtml-basic/columns/layout-help.vm
Wed Feb  1 10:11:43 2006
@@ -1,51 +1,66 @@
-## 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.
-#set($myPage = $jetspeed.page)
-#set($myFragment = $jetspeed.currentFragment)
-#set($decorator = $myPage.getDefaultDecorator($myFragment.getType()))
-#set($actions = $jetspeed.PageDecoratorActions)
-#if($myFragment.getDecorator())
-#set($decorator = $myFragment.getDecorator())
-#end
-#if ($decorator)
-#set($decoTop = "${decorator}/header.vm")
-#set($decoBottom = "${decorator}/footer.vm")
-#end
-## Decorator  $decorator  ${decoTop} - ${decoBottom}
-#if (($decoTop) && ($myFragment == $myPage.getRootFragment()))
-#parse($jetspeed.getDecoration($decoTop, "layout").appRelativePath)
-#end
-#set($layoutType =$portletConfig.getInitParameter("layoutType"))
-#if($jetspeed.portletMode.toString() == "edit")
-#set($editing = true)
-#set($lastColumn = $renderRequest.getAttribute("numberOfColumns") - 1)
-#end
-## Begin portlet/html/jetspeed/decorator.vm 
+#*
+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.
+*#
+
+#set($theme = $request.getAttribute("org.apache.jetspeed.theme"))
+#set ($messages = $portletConfig.getResourceBundle($renderRequest.Locale))
+
+<!-- Header: $theme.pageLayoutDecoration.header) Footer: $theme.pageLayoutDecoration.footer
-->
+
+#parse($theme.pageLayoutDecoration.header)
+
+<!-- Begin templates/layout/html/columns/layout-help.vm -->
+
 <div id="portlet-help" class="portlet-Jetspeed" >
-<div class="PContent">
-##
-## Portlet Title Bar
-##
-#foreach ($action in $actions)
-<a href="${action.Action}" title="${action.Name}"><img src="${action.Link}" alt="${action.Alt}"
class="noborder"/></a>
-#end
+<table border="0" cellpadding="0" cellspacing="0" width="100%">
+  <tr>
+    <td class="PContent">
+    <h2>$messages.getString("portal.help.title")</h2>
+    <h3>$messages.getString("portal.page.help.title")</h3>
+    <p><img src="decorations/images/view.gif" alt="view" border="0" /> $messages.getString("portal.page.help.view")</p>
+    <p><img src="decorations/images/help.gif" alt="help" border="0" /> $messages.getString("portal.page.help.help")</p>
+    <p><img src="decorations/images/edit.gif" alt="edit" border="0" /> $messages.getString("portal.page.help.edit")</p>
+    <p><img src="decorations/layout/images/select.gif" alt="select" border="0" />
+       $messages.getString("portal.portlet.help.title")</p>
+    <h3>$messages.getString("portal.help.title")</h3>
+    <p><img src="decorations/images/minimized.gif" alt="minimize" border="0" />
+       $messages.getString("portal.portlet.help.minimize")</p>
+    <p><img src="decorations/images/maximized.gif" alt="maximize" border="0" />
+       $messages.getString("portal.portlet.help.maximize")</p>
+    <p><img src="decorations/images/restore.gif" alt="restore" border="0" />
+       $messages.getString("portal.portlet.help.restore")</p>
+    <p><img src="decorations/images/edit.gif" alt="edit" border="0" />
+       $messages.getString("portal.portlet.help.edit")</p>
+    <p><img src="decorations/images/print.gif" alt="print" border="0" />
+       $messages.getString("portal.portlet.help.print")</p>
+    <h4>$messages.getString("portal.portlet.help.edit.title")</h4>
+    <p><img src="decorations/images/close.gif" alt="close" border="0" />
+       $messages.getString("portal.portlet.help.close")</p>
+    <p><img src="decorations/layout/images/movePortletUp.gif" alt="move up" border="0"
/>
+       $messages.getString("portal.portlet.help.movePortletUp")</p>
+    <p><img src="decorations/layout/images/movePortletDown.gif" alt="move down"
border="0" />
+       $messages.getString("portal.portlet.help.movePortletDown")</p>
+    <p><img src="decorations/layout/images/movePortletLeft.gif" alt="move left"
border="0" />
+       $messages.getString("portal.portlet.help.movePortletLeft")</p>
+    <p><img src="decorations/layout/images/movePortletRight.gif" alt="move right"
border="0" />
+       $messages.getString("portal.portlet.help.movePortletRight")</p>
+    </td>
+  </tr>
+</table>
 </div>
-<div class="PContent">
-<h2>Help for Jetspeed Multicolumn Page Portlet</h2>
-<p>TODO: Make all strings here resources</p>
-</div>
-</div>
-#if (($decoBottom ) && ($myFragment == $myPage.getRootFragment()))
-#parse($jetspeed.getDecoration($decoBottom, "layout").appRelativePath)
-#end
+
+<!-- End templates/layout/html/columns/layout-help.vm -->
+
+#parse($theme.pageLayoutDecoration.footer)



---------------------------------------------------------------------
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