From 2e0ee05f13b57eebb978dce429b7b0bfceb86d4b Mon Sep 17 00:00:00 2001 From: Hans Bakker Date: Sat, 8 Aug 2009 03:14:05 +0000 Subject: [PATCH] add the help button to the bizness theme git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802290 13f79535-47bb-0310-9956-ffa450edef68 --- framework/common/webcommon/includes/helplink.ftl | 3 --- themes/bizznesstime/includes/header.ftl | 4 ++++ themes/flatgrey/includes/header.ftl | 5 ++++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/framework/common/webcommon/includes/helplink.ftl b/framework/common/webcommon/includes/helplink.ftl index f4537eff90..fd7d0e5210 100644 --- a/framework/common/webcommon/includes/helplink.ftl +++ b/framework/common/webcommon/includes/helplink.ftl @@ -17,7 +17,6 @@ specific language governing permissions and limitations under the License. --> -<#if webSiteId?exists && requestAttributes._CURRENT_VIEW_?exists> <#assign helpTopic = webSiteId + "_" + requestAttributes._CURRENT_VIEW_ /> <#assign helpUrlTopic = helpUrlsMap["HelpNotFound"]/> <#assign helpUrlPrefix = "" /> @@ -36,5 +35,3 @@ ${helpTopic} <#if helpUrlsMap[helpTopic] != helpTopic > <#assign helpUrlTopic = helpUrlsMap[helpTopic] /> -
  • ${uiLabelMap.CommonHelp}
  • - diff --git a/themes/bizznesstime/includes/header.ftl b/themes/bizznesstime/includes/header.ftl index 2c99de4c9f..62fa0f343c 100644 --- a/themes/bizznesstime/includes/header.ftl +++ b/themes/bizznesstime/includes/header.ftl @@ -124,5 +124,9 @@ under the License. ${uiLabelMap.CommonLogout} + <#if webSiteId?exists && requestAttributes._CURRENT_VIEW_?exists> + <#include "component://common/webcommon/includes/helplink.ftl" /> + ${uiLabelMap.CommonHelp} + \ No newline at end of file diff --git a/themes/flatgrey/includes/header.ftl b/themes/flatgrey/includes/header.ftl index fdaf70a78f..9831b044cd 100644 --- a/themes/flatgrey/includes/header.ftl +++ b/themes/flatgrey/includes/header.ftl @@ -180,7 +180,10 @@ under the License. <#if userLogin?exists>
  • ${uiLabelMap.CommonVisualThemes}
  • - <#include "component://common/webcommon/includes/helplink.ftl" /> + <#if webSiteId?exists && requestAttributes._CURRENT_VIEW_?exists> + <#include "component://common/webcommon/includes/helplink.ftl" /> +
  • ${uiLabelMap.CommonHelp}
  • +