Moved content-wrapper to actual pages
This commit is contained in:
parent
916ce2d244
commit
d55e19c5d6
@ -52,7 +52,8 @@ else {
|
||||
}
|
||||
|
||||
?>
|
||||
<section class="content">
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<?php hesk_handle_messages(); ?>
|
||||
<div class="box">
|
||||
<div class="box-header with-border">
|
||||
@ -111,6 +112,7 @@ else {
|
||||
hesk_cleanSessionVars('hide');
|
||||
?>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
|
||||
|
@ -289,7 +289,8 @@ $modsForHesk_settings = mfh_getSettings();
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<section class="content">
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<?php
|
||||
/* This will handle error, success and notice messages */
|
||||
hesk_handle_messages();
|
||||
@ -3741,6 +3742,7 @@ $modsForHesk_settings = mfh_getSettings();
|
||||
</div>
|
||||
</form>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
require_once(HESK_PATH . 'inc/footer.inc.php');
|
||||
|
@ -633,11 +633,11 @@ if ($ticket['email'] != '') {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO Here we go!
|
||||
/* Print admin navigation */
|
||||
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
?>
|
||||
<section class="content">
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<?php
|
||||
/* This will handle error, success and notice messages */
|
||||
hesk_handle_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,7 +62,8 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
|
||||
// Print main manage users page
|
||||
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
?>
|
||||
<section class="content">
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<div class="box">
|
||||
<div class="box-header with-border">
|
||||
<h1 class="box-title">
|
||||
@ -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,7 +51,8 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
|
||||
/* Print main manage users page */
|
||||
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
?>
|
||||
<section class="content">
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<div class="box">
|
||||
<div class="box-body">
|
||||
<div class="nav-tabs-custom">
|
||||
@ -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,7 +53,8 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
|
||||
/* Print main manage users page */
|
||||
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
?>
|
||||
<section class="content">
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<div class="box">
|
||||
<div class="box-body">
|
||||
<div class="nav-tabs-custom">
|
||||
@ -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,7 +78,8 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
|
||||
/* Print main manage users page */
|
||||
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
?>
|
||||
<section class="content">
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="box">
|
||||
@ -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,7 +62,8 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
|
||||
// Print main manage users page
|
||||
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
?>
|
||||
<section class="content">
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<?php
|
||||
/* This will handle error, success and notice messages */
|
||||
hesk_handle_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,14 +82,14 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
|
||||
/* Print admin navigation */
|
||||
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
?>
|
||||
<ol class="breadcrumb">
|
||||
<div class="content-wrapper">
|
||||
<ol class="breadcrumb">
|
||||
<li>
|
||||
<a href="admin_ticket.php?track=<?php echo $trackingID; ?>&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">
|
||||
</ol>
|
||||
<section class="content">
|
||||
<div class="box">
|
||||
<div class="box-header with-border">
|
||||
<h1 class="box-title">
|
||||
@ -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,15 +252,14 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
|
||||
/* Print admin navigation */
|
||||
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
?>
|
||||
|
||||
<ol class="breadcrumb">
|
||||
<div class="content-wrapper">
|
||||
<ol class="breadcrumb">
|
||||
<li>
|
||||
<a href="admin_ticket.php?track=<?php echo $trackingID; ?>&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">
|
||||
</ol>
|
||||
<section class="content">
|
||||
<div class="box">
|
||||
<div class="box-header with-border">
|
||||
<h1 class="box-title">
|
||||
@ -568,11 +567,11 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
buildValidatorForTicketSubmission('form1', "<?php echo addslashes($hesklang['select_at_least_one_value']); ?>");
|
||||
</script>
|
||||
<?php if ($ticket['html']): ?>
|
||||
<?php if ($ticket['html']): ?>
|
||||
<script type="text/javascript">
|
||||
/* <![CDATA[ */
|
||||
tinyMCE.init({
|
||||
@ -593,9 +592,9 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
});
|
||||
/* ]]> */
|
||||
</script>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endif; ?>
|
||||
</section>
|
||||
</div>
|
||||
<?php
|
||||
require_once(HESK_PATH . 'inc/footer.inc.php');
|
||||
exit();
|
||||
?>
|
||||
|
@ -643,7 +643,8 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
|
||||
/* Print main manage users page */
|
||||
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
?>
|
||||
<section class="content">
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<h1 class="box-title">
|
||||
@ -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,8 +108,8 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<section class="content">
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<div class="box">
|
||||
@ -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,7 +113,8 @@ $i = 1;
|
||||
$j = 0;
|
||||
$num = hesk_dbNumRows($result);
|
||||
?>
|
||||
<section class="content">
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<div class="box">
|
||||
<div class="box-header with-border">
|
||||
<h1 class="box-title">
|
||||
@ -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&replyid=' . $mysaved['id'] . '&move=15&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&replyid=' . $mysaved['id'] . '&move=15&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&replyid=' . $mysaved['id'] . '&move=-15&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,7 +91,8 @@ while ($mycat = hesk_dbFetchAssoc($res)) {
|
||||
$options .= '>' . $mycat['name'] . '</option>';
|
||||
}
|
||||
?>
|
||||
<section class="content">
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<div class="box collapsed-box">
|
||||
<div class="box-header with-border">
|
||||
<h1 class="box-title">
|
||||
@ -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,7 +62,8 @@ if ($modsForHesk_settings['html_emails']) {
|
||||
/* Print main manage users page */
|
||||
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
?>
|
||||
<section class="content">
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<div class="box">
|
||||
<div class="box-body">
|
||||
<div class="nav-tabs-custom">
|
||||
@ -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 ' <br /> ';
|
||||
|
||||
/* 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>
|
||||
|
||||
<?php
|
||||
|
||||
echo ' <br /> ';
|
||||
|
||||
</div>
|
||||
<?php
|
||||
/* 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,8 +1912,8 @@ function manage_category() {
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</section>
|
||||
|
||||
<?php
|
||||
</div>
|
||||
<?php
|
||||
/* Clean unneeded session variables */
|
||||
hesk_cleanSessionVars(array('hide','manage_cat','edit_article'));
|
||||
|
||||
|
@ -81,7 +81,8 @@ while ($row = hesk_dbFetchAssoc($res)) {
|
||||
array_push($categories, $row);
|
||||
}
|
||||
?>
|
||||
<section class="content">
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<?php hesk_handle_messages(); ?>
|
||||
<div class="box">
|
||||
<div class="box-header with-border">
|
||||
@ -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,7 +47,8 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
|
||||
/* Print main manage users page */
|
||||
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
?>
|
||||
<section class="content">
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<div class="box">
|
||||
<div class="box-body">
|
||||
<div class="nav-tabs-custom">
|
||||
@ -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,7 +86,8 @@ $i = 1;
|
||||
$j = 0;
|
||||
$num = hesk_dbNumRows($result);
|
||||
?>
|
||||
<section class="content">
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<div class="box">
|
||||
<div class="box-header with-border">
|
||||
<h1 class="box-title">
|
||||
@ -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,7 +159,8 @@ if ($action = hesk_REQUEST('a')) {
|
||||
require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
|
||||
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
?>
|
||||
<section class="content">
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<?php hesk_handle_messages(); ?>
|
||||
<script language="Javascript" type="text/javascript"><!--
|
||||
function confirm_delete() {
|
||||
@ -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,8 +463,8 @@ function edit_user()
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php
|
||||
</div>
|
||||
<?php
|
||||
require_once(HESK_PATH . 'inc/footer.inc.php');
|
||||
exit();
|
||||
} // End edit_user()
|
||||
|
@ -142,8 +142,8 @@ $showRs = hesk_dbQuery("SELECT `show` FROM `" . hesk_dbEscape($hesk_settings['db
|
||||
$show = hesk_dbFetchAssoc($showRs);
|
||||
$show_quick_help = $show['show'];
|
||||
?>
|
||||
|
||||
<ol class="breadcrumb">
|
||||
<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): ?>
|
||||
<li><a href="new_ticket.php"><?php echo $hesklang['nti2']; ?></a></li>
|
||||
@ -151,8 +151,8 @@ $show_quick_help = $show['show'];
|
||||
<?php else: ?>
|
||||
<li class="active"><?php echo $hesklang['nti2']; ?></li>
|
||||
<?php endif; ?>
|
||||
</ol>
|
||||
<section class="content">
|
||||
</ol>
|
||||
<section class="content">
|
||||
<?php
|
||||
/* This will handle error, success and notice messages */
|
||||
hesk_handle_messages();
|
||||
@ -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,7 +69,8 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
|
||||
/* Print admin navigation */
|
||||
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
?>
|
||||
<section class="content">
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<div class="box">
|
||||
<div class="box-header with-border">
|
||||
<h1 class="box-title">
|
||||
@ -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,7 +199,8 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
|
||||
/* Print main manage users page */
|
||||
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
?>
|
||||
<section class="content">
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<div class="box">
|
||||
<?php if (hesk_checkPermission('can_export', 0)) {
|
||||
$canExport = true;
|
||||
@ -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,7 +57,8 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
|
||||
/* Print main manage users page */
|
||||
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
?>
|
||||
<section class="content">
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<div class="box">
|
||||
<div class="box-body">
|
||||
<div class="nav-tabs-custom">
|
||||
@ -439,6 +440,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
|
||||
|
@ -40,7 +40,8 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
|
||||
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
|
||||
?>
|
||||
<section class="content">
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<?php hesk_handle_messages(); ?>
|
||||
<div class="box">
|
||||
<div class="box-header with-border">
|
||||
@ -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,7 +26,8 @@ require_once(HESK_PATH . 'inc/headerAdmin.inc.php');
|
||||
/* Print main manage users page */
|
||||
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
?>
|
||||
<section class="content">
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<div class="box">
|
||||
<div class="box-header with-border">
|
||||
<h1 class="box-title">
|
||||
@ -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…
x
Reference in New Issue
Block a user