<%-- $Id: alarmHeaderInclude.jsp,v 1.5.4.6 2004/06/21 12:16:07 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="center" nowrap>

          <a class="textSmall" href="/fault/invokeAlarmCV.do?viewId=<c:out value='${viewId}'/>&actionToPerform=create"><fmt:message key='webclient.fault.customview.addcv'/></a></td>
	 
    <td width="10" align="center" class="textSmall"> &nbsp;| </td>
        <c:url var="modifyAlarmCVurl" value="/fault/invokeAlarmCV.do">
           <c:param name="actionToPerform" value="modify"/>
           <c:param name="viewId" value="${viewId}"/>
           <c:param name="displayName" value="${displayName}"/>
        </c:url>

    <td align="center" nowrap><a class="textSmall" href='<c:out value="${modifyAlarmCVurl}"/>'><fmt:message key='webclient.fault.customview.modifycv'/></a></td>

    <c:if test="${viewId != 'Alerts'}">
               
       <td width="10" align="center" class="textSmall"> &nbsp;| </td>

       <td align="center" nowrap><a class="textSmall" href="javascript:removeAlarmCV('<c:out value="${userName}"/>','<c:out value="${viewId}"/>')"><fmt:message key='webclient.fault.customview.removecv'/></a></td>
              
    </c:if> 

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

	  <td align="left" nowrap><a class="textSmall" href="/fault/alarmAdvancedSearch.do?ComplexSearchView=Alerts&viewId=<c:out value='${viewId}'/>&searchAction=alarmAdvancedSearch.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="/fault/PrintAlarmView.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:if test='${!entity}'>     
              <c:param name="entity" value="${entity}"/>
           </c:if>     
                
        </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>
	  </td>

  </tr>
</table>
