|
|
@ -84,12 +84,6 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
|
|
|
<?php
|
|
|
|
<?php
|
|
|
|
$orderBy = $modsForHesk_settings['category_order_column'];
|
|
|
|
$orderBy = $modsForHesk_settings['category_order_column'];
|
|
|
|
$res = hesk_dbQuery("SELECT * FROM `" . hesk_dbEscape($hesk_settings['db_pfix']) . "categories` ORDER BY `" . $orderBy . "` ASC");
|
|
|
|
$res = hesk_dbQuery("SELECT * FROM `" . hesk_dbEscape($hesk_settings['db_pfix']) . "categories` ORDER BY `" . $orderBy . "` ASC");
|
|
|
|
$options = '';
|
|
|
|
|
|
|
|
while ($mycat = hesk_dbFetchAssoc($res)) {
|
|
|
|
|
|
|
|
$options .= '<option value="' . $mycat['id'] . '" ';
|
|
|
|
|
|
|
|
$options .= (isset($_SESSION['selcat']) && $mycat['id'] == $_SESSION['selcat']) ? ' selected="selected" ' : '';
|
|
|
|
|
|
|
|
$options .= '>' . $mycat['name'] . '</option>';
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|
<div class="content-wrapper">
|
|
|
|
<div class="content-wrapper">
|
|
|
|
<section class="content">
|
|
|
|
<section class="content">
|
|
|
@ -254,8 +248,9 @@ while ($mycat = hesk_dbFetchAssoc($res)) {
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="box">
|
|
|
|
<div class="box-body">
|
|
|
|
<div class="box-body">
|
|
|
|
|
|
|
|
|
|
|
|
<?php
|
|
|
|
<?php
|
|
|
|
/* This will handle error, success and notice messages */
|
|
|
|
/* This will handle error, success and notice messages */
|
|
|
|
hesk_handle_messages();
|
|
|
|
hesk_handle_messages();
|
|
|
@ -271,6 +266,25 @@ while ($mycat = hesk_dbFetchAssoc($res)) {
|
|
|
|
<?php echo $hesklang['create_new']; ?>
|
|
|
|
<?php echo $hesklang['create_new']; ?>
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
|
|
|
<table class="table table-striped">
|
|
|
|
|
|
|
|
<thead>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<th style="display: none"><?php echo $hesklang['id']; ?></th>
|
|
|
|
|
|
|
|
<th><?php echo $hesklang['cat_name']; ?></th>
|
|
|
|
|
|
|
|
<th><?php echo $hesklang['priority']; ?></th>
|
|
|
|
|
|
|
|
<th><?php echo $hesklang['not']; ?></th>
|
|
|
|
|
|
|
|
<th><?php echo $hesklang['graph']; ?></th>
|
|
|
|
|
|
|
|
<th><?php echo $hesklang['usage']; ?></th>
|
|
|
|
|
|
|
|
<th><?php echo $hesklang['manager']; ?></th>
|
|
|
|
|
|
|
|
<th><?php echo $hesklang['opt']; ?></th>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody id="table-body">
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<table class="table table-striped">
|
|
|
|
<table class="table table-striped">
|
|
|
|
<thead>
|
|
|
|
<thead>
|
|
|
@ -425,6 +439,9 @@ while ($mycat = hesk_dbFetchAssoc($res)) {
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="overlay" id="overlay">
|
|
|
|
|
|
|
|
<i class="fa fa-spinner fa-spin"></i>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|