Fix new ticket not showing up with 0 results, fix powered by visibility
This commit is contained in:
parent
6a4a1ec56c
commit
ce73cb109a
@ -67,6 +67,8 @@ else {
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-xs-6 text-left">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" onclick="toggleAutoRefresh(this);" id="reloadCB">
|
||||
@ -74,7 +76,15 @@ else {
|
||||
<span id="timer"></span>
|
||||
</label>
|
||||
</div>
|
||||
<script type="text/javascript">heskCheckReloading();</script><br>
|
||||
<script type="text/javascript">heskCheckReloading();</script>
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<a href="new_ticket.php" class="btn btn-success">
|
||||
<span class="glyphicon glyphicon-plus-sign"></span>
|
||||
<?php echo $hesklang['nti']; ?>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
/* Print tickets? */
|
||||
if (hesk_checkPermission('can_view_tickets', 0)) {
|
||||
|
@ -238,6 +238,8 @@ LEFT(`message`, 400) AS `message`,
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<?php $handle = hesk_handle_messages(); ?>
|
||||
<div class="row">
|
||||
<div class="col-xs-6 text-left">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" onclick="toggleAutoRefresh(this);" id="reloadCB">
|
||||
@ -246,6 +248,14 @@ LEFT(`message`, 400) AS `message`,
|
||||
</label>
|
||||
</div>
|
||||
<script type="text/javascript">heskCheckReloading();</script>
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<a href="new_ticket.php" class="btn btn-success">
|
||||
<span class="glyphicon glyphicon-plus-sign"></span>
|
||||
<?php echo $hesklang['nti']; ?>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
if ($handle !== FALSE) {
|
||||
$href = 'find_tickets.php';
|
||||
|
@ -55,6 +55,8 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-xs-6 text-left">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" onclick="toggleAutoRefresh(this);" id="reloadCB">
|
||||
@ -63,6 +65,14 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
</label>
|
||||
</div>
|
||||
<script type="text/javascript">heskCheckReloading();</script>
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<a href="new_ticket.php" class="btn btn-success">
|
||||
<span class="glyphicon glyphicon-plus-sign"></span>
|
||||
<?php echo $hesklang['nti']; ?>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
/* Print the list of tickets */
|
||||
$is_search = 1;
|
||||
|
@ -87,11 +87,6 @@ if ($total > 0) {
|
||||
$prev_page = ($page - 1 <= 0) ? 0 : $page - 1;
|
||||
$next_page = ($page + 1 > $pages) ? 0 : $page + 1;
|
||||
echo sprintf($hesklang['tickets_on_pages'], $total, $pages);
|
||||
echo '<div style="float:right">
|
||||
<a href="new_ticket.php" class="btn btn-success pull-left">
|
||||
<span class="glyphicon glyphicon-plus-sign"></span>
|
||||
'.$hesklang['nti'].'
|
||||
</a></div><br><br>';
|
||||
|
||||
if ($pages > 1) {
|
||||
|
||||
@ -460,7 +455,6 @@ else {
|
||||
|
||||
echo '</div></div>';
|
||||
}
|
||||
echo '</div>';
|
||||
|
||||
|
||||
function hesk_print_list_head()
|
||||
|
Loading…
x
Reference in New Issue
Block a user