<form action="{$thisUrl}?page={$thisPage}" method="post" enctype="multipart/form-data">
<input type="hidden" name="glm_action" value="categories">
<input type="hidden" name="option" value="addNew">
-
+
<table class="glm-admin-table">
<tr>
<th class="glm-required">Category Name:</th>
<input type="submit" value="Add new Category" class="button button-primary">
</form>
</div>
-
+
<!-- Delete Category Button and Dialog Box -->
<div id="deleteCategoryDialog" class="glm-dialog-box" title="Delete Category">
<center>
</center>
</div>
- <!-- Edit Category Dialog Box -->
+ <!-- Edit Category Dialog Box -->
<div id="editCategoryDialog" class="glm-dialog-box" title="Edit this Category">
<form action="{$thisUrl}?page={$thisPage}" method="post" enctype="multipart/form-data">
<input type="hidden" name="glm_action" value="categories">
<input type="submit" value="Update this Category">
</form>
</div>
-
+
<h2>Categories</h2>
- <table class="wp-list-table widefat fixed posts glm-admin-table"">
+ <table class="wp-list-table widefat fixed posts glm-admin-table">
<thead>
<tr>
<th>ID</th>
{if $haveCategories}
{assign var="i" value="0"}
{foreach $categories as $t}
- {if $i++ is odd by 1}
+ {if $i++ is odd by 1}
<tr>
{else}
<tr class="alternate">
<script type="text/javascript">
jQuery(document).ready(function($) {
-
+
$("#newCategoryDialog").dialog({
- autoOpen: false,
- minWidth: 400,
- width: 'auto',
+ autoOpen: false,
+ minWidth: 400,
+ width: 'auto',
dialogClass: "glm-dialog-no-close"
});
$("#editCategoryDialog").dialog({
});
</script>
-
+
{include file='admin/footer.html'}