{categoriesHeader}
<script type="text/javascript">
    function openURL()
    {
        window.location.href = "index.php?fuse=knowledgebase&view=KB_AddCategory";
    }
</script>
<form id="form" name="form" method="POST" action="index.php?fuse=knowledgebase&action=KB_DeleteCategory">
    <!-- BEGIN DYNAMIC BLOCK: noCategories -->
    <br />
    [l]There are no categories defined for the Knowledge Base[/l]
    <!-- END DYNAMIC BLOCK: noCategories -->
    <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
        <col style="text-align: right" />
        <col />
        <col />
        <col />
        <col />
        <!-- BEGIN DYNAMIC BLOCK: kbCategoriesHeader -->
        <thead>    
            <tr class="{trClassHead}">
                <td width="1">&nbsp;</td>
                <td align="center" width="10%">[l]Category[/l]</td>
                <td align="center" width=40%>[l]Description[/l]</td>
                <td align="center" width="10%">[l]Staff-only[/l]</td>
                <td align="center">[l]Total Articles[/l]</td>
                <!-- BEGIN DYNAMIC BLOCK: kbCategoriesActions -->                
                <td align="center">[l]Actions[/l]</td>
                <!-- END DYNAMIC BLOCK: kbCategoriesActions -->                                
            </tr>
        </thead>
        <!-- END DYNAMIC BLOCK: kbCategoriesHeader -->        
        <tbody>
        <!-- BEGIN DYNAMIC BLOCK: kbCategories -->    
            <tr class={trClass}>
                <!-- BEGIN DYNAMIC BLOCK: checkBoxCategories -->
                <td width="5%"><input type="checkbox" style="position:relative;top:1px;" name="categoriesId[]" id="categoriesId[]" value="{categoryId}" onClick="checkCheckBox(this);" /></td>
                <!-- END DYNAMIC BLOCK: checkBoxCategories -->
                <td nowrap>{catName}</td>
                <td>{catDescription}</td>
                <td align="center">{staffOnly}</td>
                <td align="center">{catCounter}</td> 
                <td align="center" nowrap>{catActions}</td> 
            </tr>
        <!-- END DYNAMIC BLOCK: kbCategories -->        
        </tbody>
    </table>
    <br />    
    <input type="checkbox" name="toggleAllChk" onclick="toggleAll(this.form);"/><b>&nbsp;&nbsp;&nbsp;[l]Toggle All[/l]</b>
    <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr><td colspan="2">&nbsp;</td></tr>    
        <tr class="actionfooter">
        <!-- BEGIN DYNAMIC BLOCK: deleteBtn -->        
            <td valign="middle" align="left" width="10%" nowrap>
                <input type="submit" id="btnDelete" name="btnDelete" class="button_large" value="[lh]delete categories[/lh]" style="filter:alpha(opacity=50); -moz-opacity:0.4" disabled="true"/>&nbsp;
            </td>
        <!-- END DYNAMIC BLOCK: deleteBtn -->
        <!-- BEGIN DYNAMIC BLOCK: addCategoryBtn -->                            
            <td valign="middle" align="left" width="90%" nowrap>
                &nbsp;<input type="button" class="button_large" value="[lh]Add Category[/lh]" onclick="openURL()"/>
            </td>
        <!-- END DYNAMIC BLOCK: addCategoryBtn -->                    
        </tr>
    </table>
    <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
            
        </tr>    
    </table>
</form>
