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.  

--%>
<div class="toolbar">
  <%-- Toolbar icons (content palette, people palette, extensions) --%>
  
  <c:if test="${!isSafari}">
    <portal-logic:if loggedIn="yes" portletSolo="no">  
    <script type="text/javascript">
      wpsFLY_markupLoop( flyOut );
    </script>
    </portal-logic:if>
  </c:if>

  <%-- Help --%>  
  <script type="text/javascript">

    function showHelpWindow()
    {

      var newWindow = window.open('<%= wpsDocURL %>/help/index.html','PortalHelpWindow','resizable=yes,scrollbars=yes,menubar=no,toolbar=yes,status=no,width=800px,height=600px,screenX=10px,screenY=10px,top=10px,left=10px');

      newWindow.focus();

      return  false;
    }

  </script>

  <a tabIndex="6" 
     href='javascript:void(0);' 
     class="toolbarLink" 
     onClick="showHelpWindow(); 
     return false;">

  <img src="<portal-logic:urlFindInTheme file="images/toolBar/help.gif"/>"
       alt="<portal-fmt:text key='link.help' bundle='nls.engine'/>"
       title="<portal-fmt:text key='link.help' bundle='nls.engine'/>"

       onmouseout='this.src="<portal-logic:urlFindInTheme file="images/toolBar/help.gif"/>"'
       onmouseover='this.src="<portal-logic:urlFindInTheme file="images/toolBar/EnabledHover_help.gif"/>"'/>

  </a>


  <%-- logout button --%>

  <portal-logic:if loggedIn="yes">

      <a id="portalLogoutLink" 
         tabIndex="7" 
         class="toolbarLink" 
         href='<portal-navigation:url command="LogoutUser"/>'>
  
             <portal-fmt:text key="link.logout" bundle="nls.engine"/>
  
      </a>

  </portal-logic:if>



  <%-- Login button --%>
  <%-- Comment this to enable screen login --%> 

  <portal-logic:if loggedIn="no">

      <portal-navigation:urlGeneration contentNode="wps.Login">
    
            <a tabIndex="7" 
               class="toolbarLink" 
               href='<% wpsURL.write(escapeXmlWriter); %>'>
    
                 <portal-fmt:text key="link.login" bundle="nls.engine"/>
    
            </a>
    
      </portal-navigation:urlGeneration>

  </portal-logic:if>
  


  <%-- Uncomment this to enable screen login  

  <portal-logic:if loggedIn="no" notScreen="Login">

      <a class="toolbarLink" 
         href='<portal-navigation:url home="public" screen="Login" ssl="false"/>'>

          <portal-fmt:text key="link.login" bundle="nls.engine" />
      </a>

  </portal-logic:if>

  --%>

</div>