You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2009/08/08 05:14:06 UTC

svn commit: r802290 - in /ofbiz/trunk: framework/common/webcommon/includes/helplink.ftl themes/bizznesstime/includes/header.ftl themes/flatgrey/includes/header.ftl

Author: hansbak
Date: Sat Aug  8 03:14:05 2009
New Revision: 802290

URL: http://svn.apache.org/viewvc?rev=802290&view=rev
Log:
add the help button to the bizness theme

Modified:
    ofbiz/trunk/framework/common/webcommon/includes/helplink.ftl
    ofbiz/trunk/themes/bizznesstime/includes/header.ftl
    ofbiz/trunk/themes/flatgrey/includes/header.ftl

Modified: ofbiz/trunk/framework/common/webcommon/includes/helplink.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/webcommon/includes/helplink.ftl?rev=802290&r1=802289&r2=802290&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/webcommon/includes/helplink.ftl (original)
+++ ofbiz/trunk/framework/common/webcommon/includes/helplink.ftl Sat Aug  8 03:14:05 2009
@@ -17,7 +17,6 @@
 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 @@
   <#if helpUrlsMap[helpTopic] != helpTopic >
     <#assign helpUrlTopic = helpUrlsMap[helpTopic] />
   </#if>
-  <li><a href="${helpUrlPrefix}${helpUrlTopic}${helpUrlSuffix}" target="_blank">${uiLabelMap.CommonHelp}</a></li>
-</#if>

Modified: ofbiz/trunk/themes/bizznesstime/includes/header.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bizznesstime/includes/header.ftl?rev=802290&r1=802289&r2=802290&view=diff
==============================================================================
--- ofbiz/trunk/themes/bizznesstime/includes/header.ftl (original)
+++ ofbiz/trunk/themes/bizznesstime/includes/header.ftl Sat Aug  8 03:14:05 2009
@@ -124,5 +124,9 @@
             </#if>
             </span>
             <span><a href="<@o...@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>
\ No newline at end of file

Modified: ofbiz/trunk/themes/flatgrey/includes/header.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/flatgrey/includes/header.ftl?rev=802290&r1=802289&r2=802290&view=diff
==============================================================================
--- ofbiz/trunk/themes/flatgrey/includes/header.ftl (original)
+++ ofbiz/trunk/themes/flatgrey/includes/header.ftl Sat Aug  8 03:14:05 2009
@@ -180,7 +180,10 @@
             <#if userLogin?exists>
               <li><a href="<@o...@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>