Skip to content
Snippets Groups Projects
Commit 2e571d57 authored by Jared Hancock's avatar Jared Hancock
Browse files

faq: Implement category delete

parent 4b5fd66a
No related branches found
No related tags found
No related merge requests found
......@@ -36,13 +36,31 @@ else
$showing=__('No FAQ categories found!');
?>
<div class="pull-left" style="width:700px;padding-top:5px;">
<div class="pull-right flush-right">
<a href="categories.php?a=add" class="green button">
<i class="icon-plus-sign"></i> <?php echo __('Add New Category');?>
</a>
<span class="action-button" data-dropdown="#action-dropdown-more">
<i class="icon-caret-down pull-right"></i>
<span ><i class="icon-cog"></i> <?php echo __('More');?></span>
</span>
<div id="action-dropdown-more" class="action-dropdown anchor-right">
<ul id="actions">
<li class="danger"><a class="confirm" data-form-id="mass-actions" data-name="delete" href="categories.php?a=delete">
<i class="icon-trash icon-fixed-width"></i>
<?php echo __('Delete'); ?></a></li>
</ul>
</div>
</div>
<div class="pull-left">
<h2><?php echo __('FAQ Categories');?></h2>
</div>
<div class="pull-right flush-right" style="padding-top:5px;padding-right:5px;">
<b><a href="categories.php?a=add" class="Icon newCategory"><?php echo __('Add New Category');?></a></b></div>
</div>
<div class="clear"></div>
<form action="categories.php" method="POST" name="cat">
<form action="categories.php" method="POST" id="mass-actions">
<?php csrf_token(); ?>
<input type="hidden" name="do" value="mass_process" >
<input type="hidden" id="action" name="a" value="" >
......
......@@ -1799,6 +1799,10 @@ select + .button {
color: #d01919;
}
.button:hover {
text-decoration: none;
}
button[type=submit], input[type="submit"], .primary.button {
font-weight: bold;
box-shadow: 0 0 0 1px rgba(0,0,0,0.45) inset;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment