<%-- $Id: inventoryHeaderInclude.jsp,v 1.4.4.6 2004/06/21 12:13:43 sivaprakash Exp $ --%>

<%@page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>

<table border="0" cellspacing="0" cellpadding="0">
  <tr>  
    <td align="left" nowrap>
      <a class="textSmall" href="/topo/topoCVAction.do?ComplexSearchView=Topology&viewId=<c:out value='${viewId}'/>&searchAction=topoCVAction.do&ORNotSupported=true&actionToPerform=create">
      <fmt:message key='webclient.topo.inventorylist.operations.addcv'/>
      </a>
    </td>  
    
    <td width="10" align="center" class="textSmall"> 
      &nbsp;| 
    </td>
    
    <td align="left" nowrap>
      <c:url var="modifyTopoCVurl" value="/topo/topoCVAction.do">
        <c:param name="ComplexSearchView" value="Topology"/>
        <c:param name="viewId" value="${viewId}"/>
        <c:param name="ORNotSupported" value="true"/>
        <c:param name="searchAction" value="topoCVAction.do"/>
        <c:param name="displayName" value="${displayName}"/>
        <c:param name="actionToPerform" value="modify"/>
      </c:url>      
      <a class="textSmall" href='<c:out value="${modifyTopoCVurl}"/>'>
      <fmt:message key='webclient.topo.inventorylist.operations.modifycv'/>
      </a>
    </td>
    
    <c:if test="${viewId != 'Network Database'}">
                     
    <td width="10" align="center" class="textSmall"> 
      &nbsp;|
    </td>
    
    <td align="left" nowrap>
      <a class="textSmall" href="javascript:removeTopoCV('<c:out value="${viewId}"/>')">
      <fmt:message key='webclient.topo.inventorylist.operations.removecv'/>
      </a>
    </td>

    </c:if>

    <td width="10" align="center" class="textSmall"> &nbsp;| </td>

    <td align="left" nowrap><a class="textSmall" href="/topo/topoAdvancedSearch.do?ComplexSearchView=Topology&viewId=<c:out value='${viewId}'/>&searchAction=topoAdvancedSearch.do"><fmt:message key='webclient.common.listview.header.operations.search'/></a></td>
    
    <td width="10" align="center" class="textSmall">&nbsp;|</td>

        <c:url var="printLink" value="/topo/PrintNetworkInventory.do">
           <c:param name="viewId" value="${viewId}"/>
           <c:param name="displayName" value="${encodedDisplayName}"/>
           <c:param name="viewLength" value="${viewLength}"/>
     <c:param name="FROM_INDEX" value="${startIndex}"/>
           <c:param name="isAscending" value="${isAscending}"/>
           <c:param name="orderByColumn" value="${orderByColumn}"/>
        </c:url>

    <td align="left" nowrap><a class="textSmall" href="javascript:MM_openBrWindow('<c:out value="${printLink}"/>','Print','menubar=yes,toolbar=no,location=no,status=yes,scrollbars=yes,resizable=yes,width=800,height=600')"><fmt:message key='webclient.common.listview.header.operations.print'/></a></td>
    
    <td width="10" align="center" class="textSmall">&nbsp;|</td>
    
    <td align="left" nowrap> <a class="textSmall" href="javascript:openNewWindow('<c:out value="${CUSTOMIZE_COLUMNS_ACTION}?viewId=${viewId}"/>')"><fmt:message key='webclient.common.listview.header.operations.columncustomizer'/></a></td>

  </tr>
</table>
