|
|
|
@ -228,22 +228,27 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
|
|
|
|
|
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
<div class="enclosingDashboard" style="padding-top: 20px">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="row" style="margin-top: 20px">
|
|
|
|
|
<div align="left" class="col-md-4">
|
|
|
|
|
<div class="moreToLeft">
|
|
|
|
|
<ul class="nav nav-tabs">
|
|
|
|
|
<li class="active"><a title="<?php echo $hesklang['reports_tab']; ?>" href="javascript:void(null);" onclick="javascript:alert('<?php echo hesk_makeJsString($hesklang['reports_intro']); ?>')"><?php echo $hesklang['reports_tab']; ?> <i class="fa fa-question-circle settingsquestionmark"></i></a></li>
|
|
|
|
|
<div class="panel panel-default">
|
|
|
|
|
<div class="panel-heading">
|
|
|
|
|
<?php echo $hesklang['reports_tab']; ?> <a href="#" onclick="javascript:alert('<?php echo hesk_makeJsString($hesklang['reports_intro']); ?>')"><i class="fa fa-question-circle settingsquestionmark"></i></a>
|
|
|
|
|
</div>
|
|
|
|
|
<?php if (hesk_checkPermission('can_export',0)) {
|
|
|
|
|
$canExport = true;
|
|
|
|
|
$panelMargin = '-15px';
|
|
|
|
|
} else {
|
|
|
|
|
$canExport = false;
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
<div class="panel-body" <?php if ($canExport) echo 'style="margin-top: -15px";'; ?>>
|
|
|
|
|
<?php
|
|
|
|
|
// Show a link to export.php if user has permission to do so
|
|
|
|
|
if ( hesk_checkPermission('can_export',0) )
|
|
|
|
|
if ( $canExport )
|
|
|
|
|
{
|
|
|
|
|
echo '<li><a title="' . $hesklang['export'] . '" href="export.php">' . $hesklang['export'] . '</a></li>';
|
|
|
|
|
echo '<small><a title="' . $hesklang['export'] . '" href="export.php">' . $hesklang['export'] . '</a></small><div class="blankSpace"></div>';
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
</ul>
|
|
|
|
|
<div class="summaryList">
|
|
|
|
|
<div class="viewTicketSidebar">
|
|
|
|
|
<form action="reports.php" method="get" name="form1" role="form">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="dtrg" class="control-label"><?php echo $hesklang['dtrg']; ?></b>:</label>
|
|
|
|
@ -287,7 +292,6 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<?php
|
|
|
|
|
/* This will handle error, success and notice messages */
|
|
|
|
@ -850,6 +854,3 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
|
|
|
|
?>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|