|
|
|
@ -130,6 +130,49 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
|
|
|
|
</div>
|
|
|
|
|
<form id="service-message" class="form-horizontal" data-toggle="validator" method="post">
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<ul class="nav nav-tabs" role="tablist">
|
|
|
|
|
<li role="presentation" class="active"><a href="#contents" role="tab" data-toggle="tab">Contents</a></li>
|
|
|
|
|
<li role="presentation"><a href="#properties" role="tab" data-toggle="tab">Properties</a></li>
|
|
|
|
|
</ul><br>
|
|
|
|
|
<div class="tab-content">
|
|
|
|
|
<div role="tabpanel" class="tab-pane active" id="contents">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="title"
|
|
|
|
|
class="col-md-2 control-label"><?php echo $hesklang['sm_mtitle']; ?></label>
|
|
|
|
|
<div class="col-md-10">
|
|
|
|
|
<input class="form-control"
|
|
|
|
|
placeholder="<?php echo htmlspecialchars($hesklang['sm_mtitle']); ?>"
|
|
|
|
|
type="text" name="title" size="70" maxlength="255"
|
|
|
|
|
data-error="<?php echo htmlspecialchars($hesklang['sm_e_title']); ?>" required>
|
|
|
|
|
<div class="help-block with-errors"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="message"
|
|
|
|
|
class="col-md-2 control-label"><?php echo $hesklang['sm_msg']; ?></label>
|
|
|
|
|
|
|
|
|
|
<div class="col-md-10">
|
|
|
|
|
<textarea placeholder="<?php echo htmlspecialchars($hesklang['sm_msg']); ?>"
|
|
|
|
|
class="form-control" name="message" id="content"></textarea>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div role="tabpanel" class="tab-pane" id="properties">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="language" class="col-md-2 control-label">
|
|
|
|
|
<?php echo $hesklang['lgs']; ?>
|
|
|
|
|
</label>
|
|
|
|
|
<div class="col-md-10">
|
|
|
|
|
<select name="language" class="form-control">
|
|
|
|
|
<option value="ALL"><?php echo $hesklang['all']; ?></option>
|
|
|
|
|
<?php foreach($hesk_settings['languages'] as $name => $info): ?>
|
|
|
|
|
<option value="<?php echo $info['folder']; ?>">
|
|
|
|
|
<?php echo $name; ?>
|
|
|
|
|
</option>
|
|
|
|
|
<?php endforeach; ?>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<div class="row" style="padding-bottom: 10px;">
|
|
|
|
|
<label for="style"
|
|
|
|
@ -218,62 +261,71 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
|
|
|
|
<label for="location" class="col-md-2 control-label">[!] Location</label>
|
|
|
|
|
<div class="col-sm-4" style="margin-left:20px">
|
|
|
|
|
<h5 style="text-decoration: underline;">Customer Pages</h5>
|
|
|
|
|
<div class="btn-group btn-group-sm">
|
|
|
|
|
<div data-select-all="customer-location" class="btn btn-default">
|
|
|
|
|
Select All
|
|
|
|
|
</div>
|
|
|
|
|
<div data-deselect-all="customer-location" class="btn btn-default">
|
|
|
|
|
Deselect All
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="checkbox">
|
|
|
|
|
<input type="checkbox" name="location[]" value="CUSTOMER_HOME"> Homepage
|
|
|
|
|
<input data-select-target="customer-location" type="checkbox"
|
|
|
|
|
name="location[]" value="CUSTOMER_HOME"> Homepage
|
|
|
|
|
</div>
|
|
|
|
|
<div class="checkbox">
|
|
|
|
|
<input type="checkbox" name="location[]" value="CUSTOMER_KB_HOME"> Knowledgebase Home
|
|
|
|
|
<input data-select-target="customer-location" type="checkbox"
|
|
|
|
|
name="location[]" value="CUSTOMER_KB_HOME"> Knowledgebase Home
|
|
|
|
|
</div>
|
|
|
|
|
<div class="checkbox">
|
|
|
|
|
<input type="checkbox" name="location[]" value="CUSTOMER_VIEW_KB_ARTICLE"> View Knowledgebase Article
|
|
|
|
|
<input data-select-target="customer-location" type="checkbox"
|
|
|
|
|
name="location[]" value="CUSTOMER_VIEW_KB_ARTICLE"> View Knowledgebase Article
|
|
|
|
|
</div>
|
|
|
|
|
<div class="checkbox">
|
|
|
|
|
<input type="checkbox" name="location[]" value="CUSTOMER_SUBMIT_TICKET"> Submit Ticket
|
|
|
|
|
<input data-select-target="customer-location" type="checkbox"
|
|
|
|
|
name="location[]" value="CUSTOMER_SUBMIT_TICKET"> Submit Ticket
|
|
|
|
|
</div>
|
|
|
|
|
<div class="checkbox">
|
|
|
|
|
<input type="checkbox" name="location[]" value="CUSTOMER_VIEW_TICKET"> View Ticket
|
|
|
|
|
<input data-select-target="customer-location" type="checkbox"
|
|
|
|
|
name="location[]" value="CUSTOMER_VIEW_TICKET"> View Ticket
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-4" style="margin-left:20px">
|
|
|
|
|
<h5 style="text-decoration: underline;">Staff Pages</h5>
|
|
|
|
|
<div class="btn-group btn-group-sm">
|
|
|
|
|
<div data-select-all="staff-location" class="btn btn-default">
|
|
|
|
|
Select All
|
|
|
|
|
</div>
|
|
|
|
|
<div data-deselect-all="staff-location" class="btn btn-default">
|
|
|
|
|
Deselect All
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="checkbox">
|
|
|
|
|
<input type="checkbox" name="location[]" value="STAFF_LOGIN"> Login Page
|
|
|
|
|
<input data-select-target="staff-location" type="checkbox"
|
|
|
|
|
name="location[]" value="STAFF_LOGIN"> Login Page
|
|
|
|
|
</div>
|
|
|
|
|
<div class="checkbox">
|
|
|
|
|
<input type="checkbox" name="location[]" value="STAFF_HOME"> Homepage
|
|
|
|
|
<input data-select-target="staff-location" type="checkbox"
|
|
|
|
|
name="location[]" value="STAFF_HOME"> Homepage
|
|
|
|
|
</div>
|
|
|
|
|
<div class="checkbox">
|
|
|
|
|
<input type="checkbox" name="location[]" value="STAFF_KB_HOME"> Knowledgebase Home
|
|
|
|
|
<input data-select-target="staff-location" type="checkbox"
|
|
|
|
|
name="location[]" value="STAFF_KB_HOME"> Knowledgebase Home
|
|
|
|
|
</div>
|
|
|
|
|
<div class="checkbox">
|
|
|
|
|
<input type="checkbox" name="location[]" value="STAFF_VIEW_KB_ARTICLE"> View Knowledgebase Article
|
|
|
|
|
<input data-select-target="staff-location" type="checkbox"
|
|
|
|
|
name="location[]" value="STAFF_VIEW_KB_ARTICLE"> View Knowledgebase Article
|
|
|
|
|
</div>
|
|
|
|
|
<div class="checkbox">
|
|
|
|
|
<input type="checkbox" name="location[]" value="STAFF_SUBMIT_TICKET"> Submit Ticket
|
|
|
|
|
<input data-select-target="staff-location" type="checkbox"
|
|
|
|
|
name="location[]" value="STAFF_SUBMIT_TICKET"> Submit Ticket
|
|
|
|
|
</div>
|
|
|
|
|
<div class="checkbox">
|
|
|
|
|
<input type="checkbox" name="location[]" value="STAFF_VIEW_TICKET"> View Ticket
|
|
|
|
|
<input data-select-target="staff-location" type="checkbox"
|
|
|
|
|
name="location[]" value="STAFF_VIEW_TICKET"> View Ticket
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="title"
|
|
|
|
|
class="col-md-2 control-label"><?php echo $hesklang['sm_mtitle']; ?></label>
|
|
|
|
|
<div class="col-md-10">
|
|
|
|
|
<input class="form-control"
|
|
|
|
|
placeholder="<?php echo htmlspecialchars($hesklang['sm_mtitle']); ?>"
|
|
|
|
|
type="text" name="title" size="70" maxlength="255"
|
|
|
|
|
data-error="<?php echo htmlspecialchars($hesklang['sm_e_title']); ?>" required>
|
|
|
|
|
<div class="help-block with-errors"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="message"
|
|
|
|
|
class="col-md-2 control-label"><?php echo $hesklang['sm_msg']; ?></label>
|
|
|
|
|
|
|
|
|
|
<div class="col-md-10">
|
|
|
|
|
<textarea placeholder="<?php echo htmlspecialchars($hesklang['sm_msg']); ?>"
|
|
|
|
|
class="form-control" name="message" id="content"></textarea>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="preview-pane"></div>
|
|
|
|
|