Update private KB
This commit is contained in:
parent
e1204b78c2
commit
7770b58673
@ -225,7 +225,7 @@ function hesk_show_kb_article($artid)
|
|||||||
hesk_kb_header($hesk_settings['kb_link'], $article['catid']);
|
hesk_kb_header($hesk_settings['kb_link'], $article['catid']);
|
||||||
|
|
||||||
// Update views by 1
|
// Update views by 1
|
||||||
hesk_dbQuery('UPDATE `'.hesk_dbEscape($hesk_settings['db_pfix'])."kb_articles` SET `views`=`views`+1 WHERE `id`={$artid} LIMIT 1");
|
hesk_dbQuery('UPDATE `'.hesk_dbEscape($hesk_settings['db_pfix'])."kb_articles` SET `views`=`views`+1 WHERE `id`={$artid}");
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<section class="content">
|
<section class="content">
|
||||||
@ -329,7 +329,15 @@ function hesk_show_kb_article($artid)
|
|||||||
<table border="0">
|
<table border="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td><?php echo $hesklang['aid']; ?>: </td>
|
<td><?php echo $hesklang['aid']; ?>: </td>
|
||||||
<td><?php echo $article['id']; ?></td>
|
<td>
|
||||||
|
<?php
|
||||||
|
echo $article['id'];
|
||||||
|
if ($article['type'] == 0)
|
||||||
|
{
|
||||||
|
echo ' [<a href="' . $hesk_settings['hesk_url'] . '/knowledgebase.php?article=' . $article['id'] . '">' . $hesklang['public_link'] . '</a>]';
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?php echo $hesklang['category']; ?>: </td>
|
<td><?php echo $hesklang['category']; ?>: </td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user