|
|
|
@ -275,37 +275,50 @@ echo '';
|
|
|
|
|
if (!isset($_SESSION['hide']['treemenu']))
|
|
|
|
|
{
|
|
|
|
|
?>
|
|
|
|
|
<div class="row"><div class="col-md-10 col-md-offset-1">
|
|
|
|
|
<h3><?php echo $hesklang['kb']; ?> <a href="javascript:void(0)" onclick="javascript:alert('<?php echo hesk_makeJsString($hesklang['kb_intro']); ?>')"><i class="fa fa-question-circle settingsquestionmark font-size-20p"></i></a></h3>
|
|
|
|
|
<div class="footerWithBorder blankSpace"></div>
|
|
|
|
|
|
|
|
|
|
<!-- SUB NAVIGATION -->
|
|
|
|
|
<?php show_subnav(); ?>
|
|
|
|
|
<!-- SUB NAVIGATION -->
|
|
|
|
|
<section class="content">
|
|
|
|
|
<h2>
|
|
|
|
|
<?php echo $hesklang['kb']; ?>
|
|
|
|
|
<a href="javascript:void(0)" onclick="javascript:alert('<?php echo hesk_makeJsString($hesklang['kb_intro']); ?>')">
|
|
|
|
|
<i class="fa fa-question-circle settingsquestionmark"></i>
|
|
|
|
|
</a>
|
|
|
|
|
</h2>
|
|
|
|
|
<?php
|
|
|
|
|
show_subnav();
|
|
|
|
|
|
|
|
|
|
// Show a notice if total public articles is less than 5
|
|
|
|
|
if ($total_articles < 5)
|
|
|
|
|
{
|
|
|
|
|
hesk_show_notice($hesklang['nkba']);
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
<!-- SHOW THE CATEGORY TREE -->
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-md-8">
|
|
|
|
|
<?php show_treeMenu(); ?>
|
|
|
|
|
<!-- SHOW THE CATEGORY TREE -->
|
|
|
|
|
|
|
|
|
|
<h3><?php echo $hesklang['ktool']; ?></h3>
|
|
|
|
|
<div class="footerWithBorder blankSpace"></div>
|
|
|
|
|
|
|
|
|
|
<p>
|
|
|
|
|
<i class="fa fa-search"></i> <a href="manage_knowledgebase.php?a=list_private"><?php echo $hesklang['listp']; ?></a><br >
|
|
|
|
|
<i class="fa fa-search"></i> <a href="manage_knowledgebase.php?a=list_draft"><?php echo $hesklang['listd']; ?></a><br />
|
|
|
|
|
<i class="fa fa-gear font-size-16p gray"></i> <a href="manage_knowledgebase.php?a=update_count"><?php echo $hesklang['uac']; ?></a><br />
|
|
|
|
|
<i class="fa fa-globe font-size-16p"></i> <a href="http://support.mozilla.com/en-US/kb/how-to-write-knowledge-base-articles" rel="nofollow" target="_blank"><?php echo $hesklang['goodkb']; ?></a></p>
|
|
|
|
|
|
|
|
|
|
<br />
|
|
|
|
|
|
|
|
|
|
</div><div class="col-md-1"> </div></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<div class="box">
|
|
|
|
|
<div class="box-header with-border">
|
|
|
|
|
<h1 class="box-title">
|
|
|
|
|
<?php echo $hesklang['ktool']; ?>
|
|
|
|
|
</h1>
|
|
|
|
|
<div class="box-tools pull-right">
|
|
|
|
|
<button type="button" class="btn btn-box-tool" data-widget="collapse">
|
|
|
|
|
<i class="fa fa-minus"></i>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box-body">
|
|
|
|
|
<ul class="list-unstyled">
|
|
|
|
|
<li><i class="fa fa-search"></i> <a href="manage_knowledgebase.php?a=list_private"><?php echo $hesklang['listp']; ?></a></li>
|
|
|
|
|
<li><i class="fa fa-search"></i> <a href="manage_knowledgebase.php?a=list_draft"><?php echo $hesklang['listd']; ?></a></li>
|
|
|
|
|
<li><i class="fa fa-gear font-size-16p gray"></i> <a href="manage_knowledgebase.php?a=update_count"><?php echo $hesklang['uac']; ?></a></li>
|
|
|
|
|
<li><i class="fa fa-globe font-size-16p"></i> <a href="http://support.mozilla.com/en-US/kb/how-to-write-knowledge-base-articles" rel="nofollow" target="_blank"><?php echo $hesklang['goodkb']; ?></a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|
<?php
|
|
|
|
|
} // END hide treemenu
|
|
|
|
|
|
|
|
|
@ -331,10 +344,6 @@ if (!isset($_SESSION['hide']['new_article']))
|
|
|
|
|
<li class="active"><?php echo $hesklang['new_kb_art']; ?></li>
|
|
|
|
|
</ol>
|
|
|
|
|
|
|
|
|
|
<!-- SUB NAVIGATION -->
|
|
|
|
|
<?php $catid = show_subnav('newa'); ?>
|
|
|
|
|
<!-- SUB NAVIGATION -->
|
|
|
|
|
|
|
|
|
|
<?php
|
|
|
|
|
if ($hesk_settings['kb_wysiwyg'])
|
|
|
|
|
{
|
|
|
|
@ -360,10 +369,12 @@ if (!isset($_SESSION['hide']['new_article']))
|
|
|
|
|
<?php
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
<h3 class="move-right-10"><a name="new_article"></a><?php echo $hesklang['new_kb_art']; ?></h3>
|
|
|
|
|
<div class="footerWithBorder blankSpace move-right-10 move-left-10"></div>
|
|
|
|
|
|
|
|
|
|
<section class="content">
|
|
|
|
|
<h2 class="move-right-10">
|
|
|
|
|
<a name="new_article"></a><?php echo $hesklang['new_kb_art']; ?>
|
|
|
|
|
</h2>
|
|
|
|
|
<?php
|
|
|
|
|
$catid = show_subnav('newa');
|
|
|
|
|
$onsubmit = '';
|
|
|
|
|
if ($hesk_settings['kb_wysiwyg']) {
|
|
|
|
|
$onsubmit = 'onsubmit="return validateRichText(\'content-help-block\', \'content-group\', \'content\', \''.addslashes($hesklang['kb_e_cont']).'\')"';
|
|
|
|
@ -464,6 +475,8 @@ if (!isset($_SESSION['hide']['new_article']))
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
|
|
<tr>
|
|
|
|
@ -2210,19 +2223,28 @@ function show_treeMenu() {
|
|
|
|
|
?>
|
|
|
|
|
<script src="<?php echo HESK_PATH; ?>inc/treemenu/TreeMenu_v25.js" language="JavaScript" type="text/javascript"></script>
|
|
|
|
|
|
|
|
|
|
<h3><?php echo $hesklang['kbstruct']; ?></h3>
|
|
|
|
|
<div class="footerWithBorder blankSpace"></div>
|
|
|
|
|
|
|
|
|
|
<?php
|
|
|
|
|
$treeMenu->printMenu();
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
<br />
|
|
|
|
|
|
|
|
|
|
<div class="box">
|
|
|
|
|
<div class="box-header with-border">
|
|
|
|
|
<h1 class="box-title">
|
|
|
|
|
<?php echo $hesklang['kbstruct']; ?>
|
|
|
|
|
</h1>
|
|
|
|
|
<div class="box-tools pull-right">
|
|
|
|
|
<button type="button" class="btn btn-box-tool" data-widget="collapse">
|
|
|
|
|
<i class="fa fa-minus"></i>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box-body">
|
|
|
|
|
<?php $treeMenu->printMenu(); ?>
|
|
|
|
|
<i class="fa fa-plus icon-link green"></i> = <?php echo $hesklang['kb_p_art2']; ?><br />
|
|
|
|
|
<i class="fa fa-caret-right blue" style="font-size:18px"></i> = <?php echo $hesklang['kb_p_cat2']; ?><br />
|
|
|
|
|
<i class="fa fa-gear icon-link gray"></i> = <?php echo $hesklang['kb_p_man2']; ?><br />
|
|
|
|
|
<img src="../img/blank.gif" width="1" height="16" alt="" style="padding:1px" class="optionWhiteNbOFF" />(<span class="kb_published">1</span>, <span class="kb_private">2</span>, <span class="kb_draft">3</span>) = <?php echo $hesklang['xyz']; ?><br />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?php
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|