@@ -45,7 +45,7 @@ under the License.
<#if thisApp != "/">
<#assign thisURL = thisURL + "/control/main">
#if>
-
class="selected"#if>><#if uiLabelMap?exists>${uiLabelMap[display.title]}<#else>${display.title}#if>
+
class="selected"#if>> title="${uiLabelMap[display.description]}">${uiLabelMap[display.title]}<#else> title="${display.description}"> ${display.title}#if>
#if>
#list>
diff --git a/framework/common/webcommon/includes/footer.ftl b/framework/common/webcommon/includes/footer.ftl
index 8769a3d88a..e24dd6e554 100644
--- a/framework/common/webcommon/includes/footer.ftl
+++ b/framework/common/webcommon/includes/footer.ftl
@@ -19,6 +19,42 @@ under the License.
<#assign nowTimestamp = Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp()>
+<#if (requestAttributes.externalLoginKey)?exists><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey?if_exists>#if>
+<#if (externalLoginKey)?exists><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey?if_exists>#if>
+<#assign ofbizServerName = application.getAttribute("_serverId")?default("default-server")>
+<#assign contextPath = request.getContextPath()>
+<#assign displayApps = Static["org.ofbiz.base.component.ComponentConfig"].getAppBarWebInfos(ofbizServerName, "secondary")>
+
+<#if userLogin?has_content>
+
+
+ <#list displayApps as display>
+ <#assign thisApp = display.getContextRoot()>
+ <#assign permission = true>
+ <#assign selected = false>
+ <#assign permissions = display.getBasePermission()>
+ <#list permissions as perm>
+ <#if perm != "NONE" && !security.hasEntityPermission(perm, "_VIEW", session)>
+ <#-- User must have ALL permissions in the base-permission list -->
+ <#assign permission = false>
+ #if>
+ #list>
+ <#if permission == true>
+ <#if thisApp == contextPath || contextPath + "/" == thisApp>
+ <#assign selected = true>
+ #if>
+ <#assign thisURL = thisApp>
+ <#if thisApp != "/">
+ <#assign thisURL = thisURL + "/control/main">
+ #if>
+ - class="selected"#if>> title="${uiLabelMap[display.description]}">${uiLabelMap[display.title]}<#else> title="${display.description}"> ${display.title}#if>
+ #if>
+ #list>
+
+
+
+#if>
+