Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
if(!defined('OSTADMININC') || !$thisstaff || !$thisstaff->isAdmin() || !$config) die('Access Denied');
?>
<h2><?php echo __('Knowledge Base Settings and Options');?></h2>
<form action="settings.php?t=kb" method="post" id="save">
<?php csrf_token(); ?>
<input type="hidden" name="t" value="kb" >
<table class="form_table settings_table" width="940" border="0" cellspacing="0" cellpadding="2">
<thead>
<tr>
<th colspan="2">
<h4><?php echo __('Knowledge Base Settings');?></h4>
<em><?php echo __("Disabling knowledge base disables clients' interface.");?></em>
</th>
</tr>
</thead>
<tbody>
<tr>
<td width="180"><?php echo __('Knowledge Base Status'); ?>:</td>
<td>
<input type="checkbox" name="enable_kb" value="1" <?php echo $config['enable_kb']?'checked="checked"':''; ?>>
<?php echo __('Enable Knowledge Base'); ?>
<font class="error"> <?php echo $errors['enable_kb']; ?></font>
<i class="help-tip icon-question-sign" href="#knowledge_base_status"></i>
</td>
</tr>
<tr>
<td width="180"><?php echo __('Canned Responses');?>:</td>
<td>
<input type="checkbox" name="enable_premade" value="1" <?php echo $config['enable_premade']?'checked="checked"':''; ?> >
<?php echo __('Enable Canned Responses'); ?>
<font class="error"> <?php echo $errors['enable_premade']; ?></font>
<i class="help-tip icon-question-sign" href="#canned_responses"></i>
</td>
</tr>
</tbody>
</table>
<p style="padding-left:210px;">
<input class="button" type="submit" name="submit" value="<?php echo __('Save Changes'); ?>">
<input class="button" type="reset" name="reset" value="<?php echo __('Reset Changes'); ?>">