Moved content-wrapper to actual pages

merge-requests/31/head
Mike Koch 8 years ago
parent 916ce2d244
commit d55e19c5d6

@ -52,6 +52,7 @@ else {
}
?>
<div class="content-wrapper">
<section class="content">
<?php hesk_handle_messages(); ?>
<div class="box">
@ -111,6 +112,7 @@ else {
hesk_cleanSessionVars('hide');
?>
</section>
</div>
<?php

@ -289,6 +289,7 @@ $modsForHesk_settings = mfh_getSettings();
}
//-->
</script>
<div class="content-wrapper">
<section class="content">
<?php
/* This will handle error, success and notice messages */
@ -3741,6 +3742,7 @@ $modsForHesk_settings = mfh_getSettings();
</div>
</form>
</section>
</div>
<?php
require_once(HESK_PATH . 'inc/footer.inc.php');

@ -633,10 +633,10 @@ if ($ticket['email'] != '') {
}
}
// TODO Here we go!
/* Print admin navigation */
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
?>
<div class="content-wrapper">
<section class="content">
<?php
/* This will handle error, success and notice messages */
@ -1253,6 +1253,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
<?php }
?>
</section>
</div>
<div style="display: none">
<p id="lang_ticket_due_date_updated"><?php echo $hesklang['ticket_due_date_updated']; ?></p>
<p id="lang_none"><?php echo $hesklang['none']; ?></p>

@ -62,6 +62,7 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
// Print main manage users page
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
?>
<div class="content-wrapper">
<section class="content">
<div class="box">
<div class="box-header with-border">
@ -230,6 +231,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
</div>
</div>
</section>
</div>
<?php
require_once(HESK_PATH . 'inc/footer.inc.php');

@ -13,7 +13,7 @@
define('IN_SCRIPT', 1);
define('HESK_PATH', '../');
define('PAGE_TITLE', 'ADMIN_TOOLS');
define('PAGE_TITLE', 'ADMIN_BANNED_EMAILS');
define('MFH_PAGE_LAYOUT', 'TOP_ONLY');
/* Get all the required files and functions */
@ -51,6 +51,7 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
/* Print main manage users page */
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
?>
<div class="content-wrapper">
<section class="content">
<div class="box">
<div class="box-body">
@ -211,14 +212,6 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
?>
</tbody>
</table>
<div align="center">
<table border="0" cellspacing="1" cellpadding="3" class="white" width="100%">
<?php
?>
</table>
</div>
<?php
}
@ -230,9 +223,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
</div>
</div>
</section>
</div>
<?php
require_once(HESK_PATH . 'inc/footer.inc.php');
exit();

@ -13,7 +13,7 @@
define('IN_SCRIPT', 1);
define('HESK_PATH', '../');
define('PAGE_TITLE', 'ADMIN_TOOLS');
define('PAGE_TITLE', 'ADMIN_BANNED_IPS');
define('MFH_PAGE_LAYOUT', 'TOP_ONLY');
/* Get all the required files and functions */
@ -53,6 +53,7 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
/* Print main manage users page */
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
?>
<div class="content-wrapper">
<section class="content">
<div class="box">
<div class="box-body">
@ -284,8 +285,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
</div>
</div>
</section>
</div>
<?php
require_once(HESK_PATH . 'inc/footer.inc.php');
exit();

@ -78,6 +78,7 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
/* Print main manage users page */
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
?>
<div class="content-wrapper">
<section class="content">
<div class="row">
<div class="col-md-4">
@ -156,6 +157,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
</div>
</div>
</section>
</div>
<div class="modal fade" id="create-event-modal" tabindex="-1" role="dialog" style="overflow: hidden">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">

@ -62,6 +62,7 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
// Print main manage users page
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
?>
<div class="content-wrapper">
<section class="content">
<?php
/* This will handle error, success and notice messages */
@ -836,6 +837,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
</div>
</div>
</section>
</div>
<?php
hesk_cleanSessionVars( array('new_cf', 'edit_cf') );

@ -82,13 +82,13 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
/* Print admin navigation */
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
?>
<div class="content-wrapper">
<ol class="breadcrumb">
<li>
<a href="admin_ticket.php?track=<?php echo $trackingID; ?>&amp;Refresh=<?php echo mt_rand(10000, 99999); ?>"><?php echo $hesklang['ticket'] . ' ' . $trackingID; ?></a>
</li>
<li class="active"><?php echo $hesklang['ednote']; ?></li>
</ol>
<section class="content">
<div class="box">
<div class="box-header with-border">
@ -127,8 +127,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
</div>
</div>
</section>
</div>
<?php
require_once(HESK_PATH . 'inc/footer.inc.php');
exit();
?>

@ -252,14 +252,13 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
/* Print admin navigation */
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
?>
<div class="content-wrapper">
<ol class="breadcrumb">
<li>
<a href="admin_ticket.php?track=<?php echo $trackingID; ?>&amp;Refresh=<?php echo mt_rand(10000, 99999); ?>"><?php echo $hesklang['ticket'] . ' ' . $trackingID; ?></a>
</li>
<li class="active"><?php echo $hesklang['edtt']; ?></li>
</ol>
<section class="content">
<div class="box">
<div class="box-header with-border">
@ -594,8 +593,8 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
/* ]]> */
</script>
<?php endif; ?>
</section>
</div>
<?php
require_once(HESK_PATH . 'inc/footer.inc.php');
exit();
?>

@ -643,6 +643,7 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
/* Print main manage users page */
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
?>
<div class="content-wrapper">
<section class="content">
<div class="box">
<div class="box-header">
@ -900,7 +901,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
</div>
</div>
</section>
</div>
<?php
require_once(HESK_PATH . 'inc/footer.inc.php');
exit();
?>

@ -223,6 +223,7 @@ LEFT(`message`, 400) AS `message`,
/* Prepare variables used in search and forms */
require_once(HESK_PATH . 'inc/prepare_ticket_search.inc.php');
?>
<div class="content-wrapper">
<section class="content">
<div class="box">
<div class="box-header with-border">
@ -261,10 +262,8 @@ LEFT(`message`, 400) AS `message`,
</div>
</div>
</section>
</div>
<?php
/* Print footer */
require_once(HESK_PATH . 'inc/footer.inc.php');
exit();
?>

@ -151,6 +151,7 @@ function hesk_kb_search($query)
$num = hesk_dbNumRows($res);
$show_default_category = false;
?>
<div class="content-wrapper">
<section style="padding: 15px">
<div class="box">
<div class="box-header with-border">
@ -212,6 +213,7 @@ function hesk_kb_search($query)
</div>
</div>
</section>
</div>
<?php
return $show_default_category;
} // END hesk_kb_search()
@ -229,6 +231,7 @@ function hesk_show_kb_article($artid)
hesk_dbQuery('UPDATE `'.hesk_dbEscape($hesk_settings['db_pfix'])."kb_articles` SET `views`=`views`+1 WHERE `id`={$artid}");
?>
<div class="content-wrapper">
<section class="content">
<div class="box">
<div class="box-header with-border">
@ -392,6 +395,7 @@ function hesk_show_kb_article($artid)
}
?>
</section>
</div>
<?php
} // END hesk_show_kb_article()
@ -410,6 +414,7 @@ function hesk_show_kb_category($catid, $is_search = 0) {
$thiscat = hesk_dbFetchAssoc($res) or hesk_error($hesklang['kb_cat_inv']);
?>
<div class="content-wrapper">
<section class="content">
<?php if ($thiscat['parent']): ?>
<h3><?php echo $hesklang['kb_cat'].': '.$thiscat['name']; ?></h3>
@ -575,6 +580,7 @@ function hesk_show_kb_category($catid, $is_search = 0) {
</div>
</div>
</section>
</div>
<?php
} // END hesk_show_kb_category()

@ -108,7 +108,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
}
//-->
</script>
<div class="content-wrapper">
<section class="content">
<div class="row">
<div class="col-md-3">
@ -175,6 +175,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
</div>
</div>
</section>
</div>
<?php
require_once(HESK_PATH . 'inc/footer.inc.php');
exit();

@ -113,6 +113,7 @@ $i = 1;
$j = 0;
$num = hesk_dbNumRows($result);
?>
<div class="content-wrapper">
<section class="content">
<div class="box">
<div class="box-header with-border">
@ -175,7 +176,7 @@ $num = hesk_dbNumRows($result);
if ($num > 1) {
if ($j == 1) {
echo '<img src="../img/blank.gif" width="16" height="16" alt="" style="padding:3px;border:none;" /> <a href="manage_canned.php?a=order&amp;replyid=' . $mysaved['id'] . '&amp;move=15&amp;token=' . hesk_token_echo(0) . '"><i class="fa fa-arrow-down icon-link green" data-toggle="tooltip" data-placement="top" title="' . $hesklang['move_dn'] . '"></i></a>';
echo '<img src="../img/blank.gif" width="16" height="16" alt="" style="padding:3px;border:none;" /> <a href="manage_canned.php?a=order&amp;replyid=' . $mysaved['id'] . '&amp;move=15&amp;token=' . hesk_token_echo(0) . '"><i class="fa fa-fw fa-arrow-down icon-link green" data-toggle="tooltip" data-placement="top" title="' . $hesklang['move_dn'] . '"></i></a>';
} elseif ($j == $num) {
echo '<a href="manage_canned.php?a=order&amp;replyid=' . $mysaved['id'] . '&amp;move=-15&amp;token=' . hesk_token_echo(0) . '"><i class="fa fa-arrow-up icon-link green" data-toggle="tooltip" data-placement="top" title="' . $hesklang['move_up'] . '"></i></a> <img src="../img/blank.gif" width="16" height="16" alt="" style="padding:3px;border:none;" />';
} else {
@ -394,7 +395,7 @@ $num = hesk_dbNumRows($result);
</div>
</div>
</section>
</div>
<?php
require_once(HESK_PATH . 'inc/footer.inc.php');
exit();

@ -91,6 +91,7 @@ while ($mycat = hesk_dbFetchAssoc($res)) {
$options .= '>' . $mycat['name'] . '</option>';
}
?>
<div class="content-wrapper">
<section class="content">
<div class="box collapsed-box">
<div class="box-header with-border">
@ -362,6 +363,7 @@ while ($mycat = hesk_dbFetchAssoc($res)) {
</div>
</div>
</section>
</div>
<!-- Edit category modal -->
<div class="modal fade" id="edit-category-modal" tabindex="-1" role="dialog" style="overflow: hidden">
<div class="modal-dialog modal-lg" role="document">

@ -2,7 +2,7 @@
define('IN_SCRIPT', 1);
define('HESK_PATH', '../');
define('PAGE_TITLE', 'ADMIN_TOOLS');
define('PAGE_TITLE', 'ADMIN_EMAIL_TEMPLATES');
define('MFH_PAGE_LAYOUT', 'TOP_ONLY');
/* Get all the required files and functions */
@ -62,6 +62,7 @@ if ($modsForHesk_settings['html_emails']) {
/* Print main manage users page */
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
?>
<div class="content-wrapper">
<section class="content">
<div class="box">
<div class="box-body">
@ -263,9 +264,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
</div>
</div>
</section>
</div>
<?php
require_once(HESK_PATH . 'inc/footer.inc.php');
exit();

@ -276,6 +276,7 @@ echo '';
if (!isset($_SESSION['hide']['treemenu']))
{
?>
<div class="content-wrapper">
<section class="content">
<h2>
<?php echo $hesklang['kb']; ?>
@ -320,6 +321,7 @@ if (!isset($_SESSION['hide']['treemenu']))
</div>
</div>
</section>
</div>
<?php
} // END hide treemenu
@ -370,6 +372,7 @@ if (!isset($_SESSION['hide']['new_article']))
<?php
}
?>
<div class="content-wrapper">
<section class="content">
<?php
$catid = show_subnav('newa');
@ -507,6 +510,7 @@ if (!isset($_SESSION['hide']['new_article']))
</div>
</form>
</section>
</div>
<?php
} // END hide article
@ -520,7 +524,7 @@ if (!isset($_SESSION['hide']['new_category']))
$_SESSION['new_category'] = hesk_stripArray($_SESSION['new_category']);
}
?>
<div class="content-wrapper">
<ol class="breadcrumb">
<li><a href="manage_knowledgebase.php"><?php echo $hesklang['kb']; ?></a></li>
<li class="active"><?php echo $hesklang['kb_cat_new']; ?></li>
@ -593,6 +597,7 @@ if (!isset($_SESSION['hide']['new_category']))
</div>
</div>
</section>
</div>
<?php
} // END hide new category form
@ -622,6 +627,7 @@ function list_draft() {
/* Print main manage users page */
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
?>
<div class="content-wrapper">
<ol class="breadcrumb">
<li><a href="manage_knowledgebase.php"><?php echo $hesklang['kb']; ?></a></li>
<li class="active"><?php echo $hesklang['kb_cat_man']; ?></li>
@ -706,11 +712,9 @@ function list_draft() {
</div>
</div>
</section>
</div>
<?php
echo '&nbsp;<br />&nbsp;';
/* Clean unneeded session variables */
hesk_cleanSessionVars(array('hide','manage_cat','edit_article'));
@ -749,7 +753,7 @@ function list_private() {
$res = hesk_dbQuery("SELECT * FROM `". hesk_dbEscape($hesk_settings['db_pfix'])."kb_articles` WHERE `type`='1' " . (count($private_categories) ? " OR `catid` IN('" . implode("','", $private_categories) . "') " : '') . " ORDER BY `catid` ASC, `id` ASC");
$num = hesk_dbNumRows($res);
?>
<div class="content-wrapper">
<ol class="breadcrumb">
<li><a href="manage_knowledgebase.php"><?php echo $hesklang['kb']; ?></a></li>
<li class="active"><?php echo $hesklang['kb_cat_man']; ?></li>
@ -856,11 +860,8 @@ function list_private() {
</div>
</div>
</section>
</div>
<?php
echo '&nbsp;<br />&nbsp;';
/* Clean unneeded session variables */
hesk_cleanSessionVars(array('hide','manage_cat','edit_article'));
@ -1672,7 +1673,7 @@ function manage_category() {
/* Print main manage users page */
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
?>
<div class="content-wrapper">
<ol class="breadcrumb">
<li><a href="manage_knowledgebase.php"><?php echo $hesklang['kb']; ?></a></li>
<li class="active"><?php echo $hesklang['kb_cat_man']; ?></li>
@ -1911,7 +1912,7 @@ function manage_category() {
</div>
<?php endif; ?>
</section>
</div>
<?php
/* Clean unneeded session variables */
hesk_cleanSessionVars(array('hide','manage_cat','edit_article'));

@ -81,6 +81,7 @@ while ($row = hesk_dbFetchAssoc($res)) {
array_push($categories, $row);
}
?>
<div class="content-wrapper">
<section class="content">
<?php hesk_handle_messages(); ?>
<div class="box">
@ -147,6 +148,7 @@ while ($row = hesk_dbFetchAssoc($res)) {
</div>
</div>
</section>
</div>
<?php
foreach ($templates as $template) {
createEditModal($template, $featureArray, $categories);

@ -2,7 +2,8 @@
define('IN_SCRIPT', 1);
define('HESK_PATH', '../');
define('PAGE_TITLE', 'ADMIN_TOOLS');
define('PAGE_TITLE', 'ADMIN_STATUSES');
define('MFH_PAGE_LAYOUT', 'TOP_ONLY');
/* Get all the required files and functions */
require(HESK_PATH . 'hesk_settings.inc.php');
@ -46,6 +47,7 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
/* Print main manage users page */
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
?>
<div class="content-wrapper">
<section class="content">
<div class="box">
<div class="box-body">
@ -374,9 +376,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
</div>
</div>
</section>
</div>
<?php
foreach ($statuses as $status) {
buildEditModal($status['ID']);

@ -14,7 +14,7 @@
define('IN_SCRIPT', 1);
define('HESK_PATH', '../');
define('VALIDATOR', 1);
define('PAGE_TITLE', 'ADMIN_CANNED');
define('PAGE_TITLE', 'ADMIN_TICKET_TPL');
define('MFH_PAGE_LAYOUT', 'TOP_ONLY');
/* Get all the required files and functions */
@ -86,6 +86,7 @@ $i = 1;
$j = 0;
$num = hesk_dbNumRows($result);
?>
<div class="content-wrapper">
<section class="content">
<div class="box">
<div class="box-header with-border">
@ -281,6 +282,7 @@ $num = hesk_dbNumRows($result);
</div>
</div>
</section>
</div>
<?php if ($modsForHesk_settings['rich_text_for_tickets']): ?>
<script type="text/javascript">
/* <![CDATA[ */

@ -159,6 +159,7 @@ if ($action = hesk_REQUEST('a')) {
require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
?>
<div class="content-wrapper">
<section class="content">
<?php hesk_handle_messages(); ?>
<script language="Javascript" type="text/javascript"><!--
@ -341,7 +342,7 @@ EOC;
//-->
</script>
</section>
</div>
<?php
require_once(HESK_PATH . 'inc/footer.inc.php');
exit();
@ -434,12 +435,11 @@ function edit_user()
/* Print main manage users page */
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
?>
<div class="content-wrapper">
<ol class="breadcrumb">
<li><a href="manage_users.php"><?php echo $hesklang['manage_users']; ?></a></li>
<li class="active"><?php echo $hesklang['editing_user'] . ' ' . $_SESSION['original_user']; ?></li>
</ol>
<section class="content">
<div class="box">
<div class="box-header with-border">
@ -463,7 +463,7 @@ function edit_user()
</div>
</div>
</section>
</div>
<?php
require_once(HESK_PATH . 'inc/footer.inc.php');
exit();

@ -142,7 +142,7 @@ $showRs = hesk_dbQuery("SELECT `show` FROM `" . hesk_dbEscape($hesk_settings['db
$show = hesk_dbFetchAssoc($showRs);
$show_quick_help = $show['show'];
?>
<div class="content-wrapper">
<ol class="breadcrumb">
<li><a href="admin_main.php"><?php echo $hesk_settings['hesk_title']; ?></a></li>
<?php if ($number_of_categories > 1): ?>
@ -970,13 +970,11 @@ $show_quick_help = $show['show'];
</div>
</div>
</section>
</div>
<script>
buildValidatorForTicketSubmission("form1",
"<?php echo addslashes($hesklang['select_at_least_one_value']); ?>");
</script>
</div>
</div>
<?php
// Request for the users location if enabled
@ -1019,6 +1017,7 @@ function print_select_category($number_of_categories) {
/* This will handle error, success and notice messages */
hesk_handle_messages();
?>
<div class="content-wrapper">
<section class="content">
<div class="box">
<div class="box-header with-border">
@ -1092,6 +1091,7 @@ function print_select_category($number_of_categories) {
</div>
</div>
</section>
</div>
<?php

@ -69,6 +69,7 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
/* Print admin navigation */
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
?>
<div class="content-wrapper">
<section class="content">
<div class="box">
<div class="box-header with-border">
@ -143,6 +144,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
</div>
</div>
</section>
</div>
<?php
require_once(HESK_PATH . 'inc/footer.inc.php');

@ -199,6 +199,7 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
/* Print main manage users page */
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
?>
<div class="content-wrapper">
<section class="content">
<div class="box">
<?php if (hesk_checkPermission('can_export', 0)) {
@ -921,6 +922,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
</div>
</div>
</section>
</div>
<?php
require_once(HESK_PATH . 'inc/footer.inc.php');

@ -13,7 +13,7 @@
define('IN_SCRIPT', 1);
define('HESK_PATH', '../');
define('PAGE_TITLE', 'ADMIN_TOOLS');
define('PAGE_TITLE', 'ADMIN_SERVICE_MESSAGES');
define('MFH_PAGE_LAYOUT', 'TOP_ONLY');
/* Get all the required files and functions */
@ -57,6 +57,7 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
/* Print main manage users page */
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
?>
<div class="content-wrapper">
<section class="content">
<div class="box">
<div class="box-body">
@ -439,6 +440,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
</div>
</div>
</section>
</div>
<?php

@ -40,6 +40,7 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
?>
<div class="content-wrapper">
<section class="content">
<?php hesk_handle_messages(); ?>
<div class="box">
@ -100,6 +101,7 @@ C9wPic7DQp9DQo=', "\112");
hesk_cleanSessionVars('hide');
?>
</section>
</div>
<?php

@ -2,7 +2,7 @@
define('IN_SCRIPT', 1);
define('HESK_PATH', '../');
define('PAGE_TITLE', 'ADMIN_TOOLS');
define('PAGE_TITLE', 'ADMIN_LOGS');
define('MFH_PAGE_LAYOUT', 'TOP_ONLY');
/* Get all the required files and functions */
@ -26,6 +26,7 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
/* Print main manage users page */
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
?>
<div class="content-wrapper">
<section class="content">
<div class="box">
<div class="box-header with-border">
@ -103,6 +104,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
</div>
</div>
</section>
</div>
<?php
require_once(HESK_PATH . 'inc/footer.inc.php');
exit();

@ -52,7 +52,6 @@ if (defined('SHOW_ONLINE'))
// The closing div here is to close the content area on each page. Annoying, but necessary.
if (defined('ADMIN_PAGE')) {
echo '
</div>
</div>';
}

@ -294,7 +294,7 @@ $mails = mfh_get_mail_headers_for_dropdown($_SESSION['id'], $hesk_settings, $hes
endif;
if (hesk_checkPermission('can_man_ticket_tpl', 0)):
$active = '';
if (defined('PAGE_TITLE') && PAGE_TITLE == 'ADMIN_CANNED') {
if (defined('PAGE_TITLE') && PAGE_TITLE == 'ADMIN_TICKET_TPL') {
$active = 'active';
}
?>
@ -431,4 +431,3 @@ $mails = mfh_get_mail_headers_for_dropdown($_SESSION['id'], $hesk_settings, $hes
</div>
</nav>
</header>
<div class="content-wrapper">
Loading…
Cancel
Save