+

Search Tips   |   Advanced Search

banner_toolbar.jspf

 

<%-- 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.   

--%>


                <%-- test markup for tasks 
                <li><a href='javascript:void(0);'><img border="0" src='<portal-logic:urlFindInTheme file="colors/${colorPalette}/star.gif"/>' alt="star"/>You have 3 tasks.</a></li>
                --%>
                <%-- Uncomment this to display tasks
                <portal-dynamicui:pendingTasks>
                        <li><a href='<%= myTasksPageURL %>'><img border="0" src='<portal-logic:urlFindInTheme file="colors/${colorPalette}/star.gif"/>' alt="star"/>You have <%= numberOfTasks %> tasks.</a></li>
                </portal-dynamicui:pendingTasks>
                --%> 

                <portal-logic:if loggedIn="yes">
                        <li><portal-fmt:user attribute="cn"/></li>
                </portal-logic:if>

                <c:if test="${portalThemePolicyMap.renderBannerQuickLinks}">
                        <portal-logic:if portletSolo="no">
                                <% String themeLinksUniqueNameRoot = "ibm.portal.ThemeLinks.BannerLinks"; %>
                                <%@ include file="./themeLinks.jspf" %>
                        </portal-logic:if>
                </c:if>

                <%-- Edit my profile and signup links --%>
                <c-rt:if test = "${themePolicy.renderSelfCare}">
                        <%-- Comment out to enable edit profile using screens --%>
                        <portal-logic:if loggedIn="yes" portletSolo="no">
                                <portal-internal:adminlinkinfo name="SELFCARE">
                                        <portal-navigation:urlGeneration contentNode="<%=wpsContentNode%>" layoutNode='<%= wpsCompositionNode %>' portletWindowState="Normal" themeTemplate="">
                                                <portal-navigation:urlParam type="render" name="ao" value="thm"/>
                                                <portal-navigation:urlParam type="render" name="OCN" value="<%= wpsContentNodeID %>" />
                                                <li><a href='<% wpsURL.write(escapeXmlWriter); %>' <%=bidiDirAttr%>><portal-fmt:text key="link.selfcare" bundle="nls.engine"/></a></li>
                                        </portal-navigation:urlGeneration>
                                </portal-internal:adminlinkinfo>
                        </portal-logic:if>
                        <%-- Uncomment to enable edit profile using screens
                        <portal-logic:if loggedIn="yes" portletSolo="no" notScreen="SelfcareUserForm,SelfcareUserConf" >
                                <li><a href='<portal-navigation:url command="PrepareSelfcare" reqid="no" themeTemplate="" />' <%=bidiDirAttr%>><portal-fmt:text key="link.selfcare" bundle="nls.engine"/></a></li>
                        </portal-logic:if>
                        --%>

                        <%-- Enrollment aka Sign Up --%>
                        <%-- Comment out to enable sign up using screens --%>
                        <portal-logic:if loggedIn="no" portletSolo="no">
                                <portal-internal:adminlinkinfo name="SELFCARE">
                                        <portal-navigation:urlGeneration contentNode="<%=wpsContentNode%>" layoutNode='<%= wpsCompositionNode %>' portletWindowState="Normal" themeTemplate="">
                                                <portal-navigation:urlParam type="render" name="ao" value="thm"/>
                                                <portal-navigation:urlParam type="render" name="OCN" value="<%= wpsContentNodeID %>" />
                                                <li><a href='<% wpsURL.write(escapeXmlWriter); %>' <%=bidiDirAttr%>><portal-fmt:text key="link.enrollment" bundle="nls.engine"/></a></li>
                                        </portal-navigation:urlGeneration>
                                </portal-internal:adminlinkinfo>
                        </portal-logic:if>
                        <%-- Uncomment to enable sign up using screens
                        <portal-logic:if loggedIn="no" portletSolo="no">
                                <li><a href='<portal-navigation:url command="PrepareEnrollment" home="public" reqid="no" themeTemplate="" />' <%=bidiDirAttr%>><portal-fmt:text key="link.enrollment" bundle="nls.engine"/></a></li>
                        </portal-logic:if>
                        --%>            

                </c-rt:if> 

                <%-- publishBookmarkOnClick is provided so the client-side aggregation theme can add this link without creating a different copy of this file. --%>
                <c:if test="${(!empty publishBookmarkOnClick) && isCSA}">
                        <li><a href='javascript:void(0);' onclick='<c:out value="${publishBookmarkOnClick}" />' <%=bidiDirAttr%>><portal-fmt:text key='link.createLinkToThisPage' bundle='nls.v3theme' /></a></li>
                </c:if>

                <%-- Help --%>  
                <c:if test="${portalThemePolicyMap.renderHelpLink}">
                        <li><a href='javascript:void(0);' onClick="javascript: return wptheme_showHelpWindow();" <%=bidiDirAttr%>><portal-fmt:text key='link.help' bundle='nls.engine'/></a></li>   
                </c:if>