Contentified some strings

This commit is contained in:
Mike Koch 2017-11-27 12:22:41 -05:00
parent 665db7a4d8
commit 3bff7fd30b
No known key found for this signature in database
GPG Key ID: 9BA5D7F8391455ED
2 changed files with 27 additions and 18 deletions

View File

@ -259,71 +259,71 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="location" class="col-md-2 control-label">[!] Location</label> <label for="location" class="col-md-2 control-label"><?php echo $hesklang['sm_location']; ?></label>
<div class="col-sm-4" style="margin-left:20px"> <div class="col-sm-4" style="margin-left:20px">
<h5 style="text-decoration: underline;">Customer Pages</h5> <h5 style="text-decoration: underline;"><?php echo $hesklang['sm_customer_pages']; ?></h5>
<div class="btn-group btn-group-sm"> <div class="btn-group btn-group-sm">
<div data-select-all="customer-location" class="btn btn-default"> <div data-select-all="customer-location" class="btn btn-default">
Select All <?php echo $hesklang['select_all_title_case']; ?>
</div> </div>
<div data-deselect-all="customer-location" class="btn btn-default"> <div data-deselect-all="customer-location" class="btn btn-default">
Deselect All <?php echo $hesklang['deselect_all_title_case']; ?>
</div> </div>
</div> </div>
<div class="checkbox"> <div class="checkbox">
<input data-select-target="customer-location" type="checkbox" <input data-select-target="customer-location" type="checkbox"
name="location[]" value="CUSTOMER_HOME"> Homepage name="location[]" value="CUSTOMER_HOME"> <?php echo $hesklang['sm_homepage']; ?>
</div> </div>
<div class="checkbox"> <div class="checkbox">
<input data-select-target="customer-location" type="checkbox" <input data-select-target="customer-location" type="checkbox"
name="location[]" value="CUSTOMER_KB_HOME"> Knowledgebase Home name="location[]" value="CUSTOMER_KB_HOME"> <?php echo $hesklang['sm_kb_home']; ?>
</div> </div>
<div class="checkbox"> <div class="checkbox">
<input data-select-target="customer-location" type="checkbox" <input data-select-target="customer-location" type="checkbox"
name="location[]" value="CUSTOMER_VIEW_KB_ARTICLE"> View Knowledgebase Article name="location[]" value="CUSTOMER_VIEW_KB_ARTICLE"> <?php echo $hesklang['sm_view_kb_article']; ?>
</div> </div>
<div class="checkbox"> <div class="checkbox">
<input data-select-target="customer-location" type="checkbox" <input data-select-target="customer-location" type="checkbox"
name="location[]" value="CUSTOMER_SUBMIT_TICKET"> Submit Ticket name="location[]" value="CUSTOMER_SUBMIT_TICKET"> <?php echo $hesklang['sm_submit_ticket']; ?>
</div> </div>
<div class="checkbox"> <div class="checkbox">
<input data-select-target="customer-location" type="checkbox" <input data-select-target="customer-location" type="checkbox"
name="location[]" value="CUSTOMER_VIEW_TICKET"> View Ticket name="location[]" value="CUSTOMER_VIEW_TICKET"> <?php echo $hesklang['sm_view_ticket']; ?>
</div> </div>
</div> </div>
<div class="col-sm-4" style="margin-left:20px"> <div class="col-sm-4" style="margin-left:20px">
<h5 style="text-decoration: underline;">Staff Pages</h5> <h5 style="text-decoration: underline;"><?php echo $hesklang['sm_staff_pages']; ?></h5>
<div class="btn-group btn-group-sm"> <div class="btn-group btn-group-sm">
<div data-select-all="staff-location" class="btn btn-default"> <div data-select-all="staff-location" class="btn btn-default">
Select All <?php echo $hesklang['select_all_title_case']; ?>
</div> </div>
<div data-deselect-all="staff-location" class="btn btn-default"> <div data-deselect-all="staff-location" class="btn btn-default">
Deselect All <?php echo $hesklang['deselect_all_title_case']; ?>
</div> </div>
</div> </div>
<div class="checkbox"> <div class="checkbox">
<input data-select-target="staff-location" type="checkbox" <input data-select-target="staff-location" type="checkbox"
name="location[]" value="STAFF_LOGIN"> Login Page name="location[]" value="STAFF_LOGIN"> <?php echo $hesklang['sm_login_page']; ?>
</div> </div>
<div class="checkbox"> <div class="checkbox">
<input data-select-target="staff-location" type="checkbox" <input data-select-target="staff-location" type="checkbox"
name="location[]" value="STAFF_HOME"> Homepage name="location[]" value="STAFF_HOME"> <?php echo $hesklang['sm_homepage']; ?>
</div> </div>
<div class="checkbox"> <div class="checkbox">
<input data-select-target="staff-location" type="checkbox" <input data-select-target="staff-location" type="checkbox"
name="location[]" value="STAFF_KB_HOME"> Knowledgebase Home name="location[]" value="STAFF_KB_HOME"> <?php echo $hesklang['sm_kb_home']; ?>
</div> </div>
<div class="checkbox"> <div class="checkbox">
<input data-select-target="staff-location" type="checkbox" <input data-select-target="staff-location" type="checkbox"
name="location[]" value="STAFF_VIEW_KB_ARTICLE"> View Knowledgebase Article name="location[]" value="STAFF_VIEW_KB_ARTICLE"> <?php echo $hesklang['sm_view_kb_article']; ?>
</div> </div>
<div class="checkbox"> <div class="checkbox">
<input data-select-target="staff-location" type="checkbox" <input data-select-target="staff-location" type="checkbox"
name="location[]" value="STAFF_SUBMIT_TICKET"> Submit Ticket name="location[]" value="STAFF_SUBMIT_TICKET"> <?php echo $hesklang['sm_submit_ticket']; ?>
</div> </div>
<div class="checkbox"> <div class="checkbox">
<input data-select-target="staff-location" type="checkbox" <input data-select-target="staff-location" type="checkbox"
name="location[]" value="STAFF_VIEW_TICKET"> View Ticket name="location[]" value="STAFF_VIEW_TICKET"> <?php echo $hesklang['sm_view_ticket']; ?>
</div> </div>
</div> </div>
</div> </div>

View File

@ -2219,6 +2219,15 @@ $hesklang['error_retrieving_sm'] = 'An error occurred retrieving service message
$hesklang['error_saving_updating_sm'] = 'An error occurred creating / saving the service message!'; $hesklang['error_saving_updating_sm'] = 'An error occurred creating / saving the service message!';
$hesklang['error_deleting_sm'] = 'An error occurred when trying to delete the service message.'; $hesklang['error_deleting_sm'] = 'An error occurred when trying to delete the service message.';
$hesklang['error_sorting_sm'] = 'An error occurred sorting service messages!'; $hesklang['error_sorting_sm'] = 'An error occurred sorting service messages!';
$hesklang['sm_location'] = 'Location'; // Location for service messages
$hesklang['sm_customer_pages'] = 'Customer Pages';
$hesklang['sm_staff_pages'] = 'Staff Pages';
$hesklang['sm_homepage'] = 'Homepage';
$hesklang['sm_kb_home'] = 'Knowledgebase Home';
$hesklang['sm_view_kb_article'] = 'View Knowledgebase Article';
$hesklang['sm_submit_ticket'] = 'Submit Ticket';
$hesklang['sm_view_ticket'] = 'View Ticket';
$hesklang['sm_login_page'] = 'Login Page';
// DO NOT CHANGE BELOW // DO NOT CHANGE BELOW
if (!defined('IN_SCRIPT')) die('PHP syntax OK!'); if (!defined('IN_SCRIPT')) die('PHP syntax OK!');