<%@ taglib uri="webwork" prefix="webwork" %>
<table id="filter_type_table" width="99%" cellspacing="0" cellpadding="2" border="0" align="center">
    <tr>
        <td class="pageTab">
            <webwork:text name="'filters.filters'"/>&nbsp;
        </td>
        <webwork:if test="tabShowing('favourites') == true">
            <webwork:if test="filterView == 'favourites'">
                <td class="pageTabSelected">&nbsp;<webwork:text name="'common.favourites.favourites'"/>&nbsp;</td>
            </webwork:if>
            <webwork:else>
                <td class="pageTab">&nbsp;<a href="<%= request.getContextPath() %>/secure/ManageFilters.jspa?filterView=favourites"><webwork:text name="'common.favourites.favourites'"/><a/>&nbsp;</td>
            </webwork:else>
        </webwork:if>
        <webwork:if test="tabShowing('my') == true">
            <webwork:if test="filterView == 'my'">
                <td class="pageTabSelected">&nbsp;<webwork:text name="'managefilters.my'"/>&nbsp;</td>
            </webwork:if>
            <webwork:else>
                <td class="pageTab">&nbsp;<a href="<%= request.getContextPath() %>/secure/ManageFilters.jspa?filterView=my"><webwork:text name="'managefilters.my'"/><a/>&nbsp;</td>
            </webwork:else>
        </webwork:if>
        <!--// Popular and Search is not available on Standard JIRA and only if some one is logged in -->
        <webwork:if test="tabShowing('popular') == true">
            <webwork:if test="filterView == 'popular'">
                <td class="pageTabSelected">&nbsp;<webwork:text name="'common.concepts.popular'"/>&nbsp;</td>
            </webwork:if>
            <webwork:else>
                <td class="pageTab">&nbsp;<a href="<%= request.getContextPath() %>/secure/ManageFilters.jspa?filterView=popular"><webwork:text name="'common.concepts.popular'"/><a/>&nbsp;</td>
            </webwork:else>
        </webwork:if>
        <webwork:if test="tabShowing('search') == true">
            <webwork:if test="filterView == 'search'">
                <td class="pageTabSelected">&nbsp;<webwork:text name="'common.concepts.search'"/>&nbsp;</td>
            </webwork:if>
            <webwork:else>
                <td class="pageTab">&nbsp;<a href="<%= request.getContextPath() %>/secure/ManageFilters.jspa?filterView=search"><webwork:text name="'common.concepts.search'"/><a/>&nbsp;</td>
            </webwork:else>
        </webwork:if>
        <td width="100%">
            &nbsp;
        </td>
    </tr>
</table>
