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
This commit is contained in:
Hans Bakker
2009-08-08 03:14:05 +00:00
parent 128eb48bb6
commit 2e0ee05f13
3 changed files with 8 additions and 4 deletions
@@ -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] />
</#if>
<li><a href="${helpUrlPrefix}${helpUrlTopic}${helpUrlSuffix}" target="_blank">${uiLabelMap.CommonHelp}</a></li>
</#if>
+4
View File
@@ -124,5 +124,9 @@ under the License.
</#if>
</span>
<span><a href="<@ofbizUrl>logout</@ofbizUrl>">${uiLabelMap.CommonLogout}</a></span>
<#if webSiteId?exists && requestAttributes._CURRENT_VIEW_?exists>
<#include "component://common/webcommon/includes/helplink.ftl" />
<span><a href="${helpUrlPrefix}${helpUrlTopic}${helpUrlSuffix}" target="_blank">${uiLabelMap.CommonHelp}</a></span>
</#if>
</div>
</div>
+4 -1
View File
@@ -180,7 +180,10 @@ under the License.
<#if userLogin?exists>
<li><a href="<@ofbizUrl>LookupVisualThemes</@ofbizUrl>">${uiLabelMap.CommonVisualThemes}</a></li>
</#if>
<#include "component://common/webcommon/includes/helplink.ftl" />
<#if webSiteId?exists && requestAttributes._CURRENT_VIEW_?exists>
<#include "component://common/webcommon/includes/helplink.ftl" />
<li><a href="${helpUrlPrefix}${helpUrlTopic}${helpUrlSuffix}" target="_blank">${uiLabelMap.CommonHelp}</a></li>
</#if>
</ul>
</li>
</#if>