<%-- Licensed Materials - Property of IBM, 5724-E76, (C) Copyright IBM Corp. 2001, 2004, 2006 - All Rights reserved. NOTE: See notes in Default.jsp for information regarding editing theme JSP fragments. --%> <%-- Asynchronous menu methods and variables --%> <%-- Content palette flyout and People palette flyout extensions --%> <%-- javascriptEventController for disabling menus until the page has completely loaded --%> <script type="text/javascript"> var javascriptEventController = new ElementJavascriptEventController(); <%-- Inline shelves and extensions --%> <%-- Uncomment and add objects with the required properties to provide inline shelves --%> <%-- { int arrayPosition = 0; %> var wptheme_InlineShelves = [ <c:if test = "${themePolicy.renderExtensions}"> <portal-theme-ext:themeExtension id="com.ibm.portal.theme.plugin.Shelves" > <portal-theme-ext:themeExtensionLoop> <%if(arrayPosition != 0){%>,<%}%>{ url:"<portal-theme-ext:themeExtensionItemUrl />", icon: "<portal-theme-ext:themeExtensionItemIconUrl state='STATE_ENABLED' />", activeIcon: "<portal-theme-ext:themeExtensionItemIconUrl state='STATE_ACTIVE' />", hoverIcon: "<portal-theme-ext:themeExtensionItemIconUrl state='STATE_ENABLED_HOVER' />", active:false, altText: "<portal-fmt:title varname='<%=(com.ibm.portal.theme.plugin.ThemeItem) themeExtension%>' />", activeAltText:"<portal-fmt:text key='link.palette.close' bundle='nls.engine'/>"} <%arrayPosition++;%> </portal-theme-ext:themeExtensionLoop> </portal-theme-ext:themeExtension> </c:if> ]; <% } %> --%> <%-- Context Menu Initialization --%> <c-rt:set var="pageNoActionsText" ><portal-fmt:text bundle='nls.engine' key='info.emptymenu' /></c-rt:set> (function(){ var pageMenuURL = '<portal-navigation:url themeTemplate="pageContextMenu" />'; wptheme_ContextMenuUtils.moreMenu.init( "<portal-navigation:url themeTemplate="moreMenu" />", <%=isRTL%>, "<c-rt:out value="${pageNoActionsText}" escapeXml="true" />", "<portal-logic:urlFindInTheme file="images/more_menu_loading.gif" />", null, true ); var topNavAffordance = new wptheme_AsyncMenuAffordance( "wptheme_selected_page_menu", "wptheme_selected_page_menu_img", "<portal-logic:urlFindInTheme file="colors/${colorPalette}/menu_selected.gif" />", "<portal-logic:urlFindInTheme file="colors/${colorPalette}/menu_selected_disabled.gif" />" ); var sideNavAffordance = new wptheme_AsyncMenuAffordance( "wptheme_selected_page_menu", "wptheme_selected_page_menu_img", "<portal-logic:urlFindInTheme file="colors/${colorPalette}/menu_selected_black.gif" />", "<portal-logic:urlFindInTheme file="colors/${colorPalette}/menu_selected_disabled.gif" />" ); wptheme_ContextMenuUtils.topNavPageMenu.init( pageMenuURL, <%=isRTL%>, "<c-rt:out value="${pageNoActionsText}" escapeXml="true" />", "<portal-logic:urlFindInTheme file="colors/${colorPalette}/context_loading.gif" />", topNavAffordance ); wptheme_ContextMenuUtils.sideNavPageMenu.init( pageMenuURL, <%=isRTL%>, "<c-rt:out value="${pageNoActionsText}" escapeXml="true" />", "<portal-logic:urlFindInTheme file="colors/${colorPalette}/context_loading_side.gif" />", sideNavAffordance ); })(); <% String remoteUser = request.getRemoteUser(); String quickLinksShelfCookie = remoteUser + "QLS"; %> wptheme_QuickLinksShelf.cookieName = "<%=quickLinksShelfCookie%>"; </script>