|
|
|
@ -6,7 +6,7 @@ |
|
|
|
<br><br> |
|
|
|
<table class="table category-list"> |
|
|
|
<tr class="head"> |
|
|
|
<th>Name</th> |
|
|
|
<th><?php echo i18n('Name');?></th>
|
|
|
|
<th><?php echo i18n('Description');?></th>
|
|
|
|
<th><?php echo i18n('Contents');?></th>
|
|
|
|
<th><?php echo i18n('Operations');?></th>
|
|
|
|
@ -25,4 +25,4 @@ |
|
|
|
<td><a class="btn btn-primary btn-xs" href="<?php echo $d->url;?>/edit?destination=admin/categories"><?php echo i18n('Edit');?></a> <?php if (get_categorycount($d->md) == 0 && get_draftcount($d->md) == 0 ){echo '<a class="btn btn-danger btn-xs" href="' . $d->url . '/delete?destination=admin/categories">' . i18n('Delete') . '</a>';}?></td>
|
|
|
|
</tr> |
|
|
|
<?php endforeach;?>
|
|
|
|
</table> |
|
|
|
</table> |