whoami7 - Manager
:
/
home
/
kckglobal
/
cloud.kckglobal.net
/
modules
/
views
/
admin
/
Upload File:
files >> //home/kckglobal/cloud.kckglobal.net/modules/views/admin/call_logs_settings.php
<?php defined('BASEPATH') or exit('No direct script access allowed'); /** * Show options for call logs in Setup->Settings->Call Logs settings */ $enabled = get_option('staff_members_create_inline_cl_types'); ?> <div class="form-group"> <label for="pusher_chat" class="control-label clearfix"> <?php echo _l('cl_types_enable_option'); ?> </label> <div class="radio radio-primary radio-inline"> <input type="radio" id="y_opt_1_cl_type" name="settings[staff_members_create_inline_cl_types]" value="1" <?= ($enabled == '1') ? ' checked' : '' ?>> <label for="y_opt_1_cl_type"><?php echo _l('settings_yes'); ?></label> </div> <div class="radio radio-primary radio-inline"> <input type="radio" id="y_opt_2_cl_type" name="settings[staff_members_create_inline_cl_types]" value="0" <?= ($enabled == '0') ? ' checked' : '' ?>> <label for="y_opt_2_cl_type"> <?php echo _l('settings_no'); ?> </label> </div> </div> <hr> <?php $enabled = get_option('staff_members_create_inline_call_direction'); ?> <div class="form-group"> <label for="pusher_chat" class="control-label clearfix"> <?php echo _l('cl_call_direction_enable_option'); ?> </label> <div class="radio radio-primary radio-inline"> <input type="radio" id="y_opt_1_call_direction" name="settings[staff_members_create_inline_call_direction]" value="1" <?= ($enabled == '1') ? ' checked' : '' ?>> <label for="y_opt_1_call_direction"><?php echo _l('settings_yes'); ?></label> </div> <div class="radio radio-primary radio-inline"> <input type="radio" id="y_opt_2_call_direction" name="settings[staff_members_create_inline_call_direction]" value="0" <?= ($enabled == '0') ? ' checked' : '' ?>> <label for="y_opt_2_call_direction"> <?php echo _l('settings_no'); ?> </label> </div> </div> <hr> <?php $enabled = get_option('staff_members_bulk_sms'); ?> <div class="form-group"> <label for="pusher_chat" class="control-label clearfix"> <?php echo _l('cl_bulk_sms_disable_option'); ?> </label> <div class="radio radio-primary radio-inline"> <input type="radio" id="y_opt_1_bulk_sms" name="settings[staff_members_bulk_sms]" value="1" <?= ($enabled == '1') ? ' checked' : '' ?>> <label for="y_opt_1_bulk_sms"><?php echo _l('settings_yes'); ?></label> </div> <div class="radio radio-primary radio-inline"> <input type="radio" id="y_opt_2_bulk_sms" name="settings[staff_members_bulk_sms]" value="0" <?= ($enabled == '0') ? ' checked' : '' ?>> <label for="y_opt_2_bulk_sms"> <?php echo _l('settings_no'); ?> </label> </div> </div> <hr> <?php $enabled = get_option('staff_members_twilio_account_share_staff'); ?> <div class="form-group"> <label for="pusher_chat" class="control-label clearfix"> <?php echo _l('cl_twilio_account_share_staff_option'); ?> </label> <div class="radio radio-primary radio-inline"> <input type="radio" id="y_opt_1_twilio_account_share_staff" name="settings[staff_members_twilio_account_share_staff]" value="1" <?= ($enabled == '1') ? ' checked' : '' ?>> <label for="y_opt_1_twilio_account_share_staff"><?php echo _l('settings_yes'); ?></label> </div> <div class="radio radio-primary radio-inline"> <input type="radio" id="y_opt_2_twilio_account_share_staff" name="settings[staff_members_twilio_account_share_staff]" value="0" <?= ($enabled == '0') ? ' checked' : '' ?>> <label for="y_opt_2_twilio_account_share_staff"> <?php echo _l('settings_no'); ?> </label> </div> </div> <hr> <div class="form-group"> <i class="fa fa-question-circle pull-left" data-toggle="tooltip" data-title="<?php echo _l('cl_goal_based_calls_tooltip') ?>"></i> <label class="control-label" for="staff_members_daily_calls_target"><?php echo _l('staff_members_daily_calls_target'); ?></label> <input type="text" name="settings[staff_members_daily_calls_target]" id="staff_members_daily_calls_target" class="form-control" value="<?php echo get_option('staff_members_daily_calls_target'); ?>"> </div> <hr> <div class="form-group"> <i class="fa fa-question-circle pull-left" data-toggle="tooltip" data-title="<?php echo _l('cl_goal_based_calls_tooltip') ?>"></i> <label class="control-label" for="staff_members_monthly_calls_target"><?php echo _l('staff_members_monthly_calls_target'); ?></label> <input type="text" name="settings[staff_members_monthly_calls_target]" id="staff_members_monthly_calls_target" class="form-control" value="<?php echo get_option('staff_members_monthly_calls_target'); ?>"> </div> <div class="form-group global_setting"> <i class="fa fa-phone pull-left" data-toggle="tooltip"></i> <label class="control-label" for="twiml_app_friendly_name"><?php echo _l('twiml_app_friendly_name'); ?></label> <input type="text" name="settings[twiml_app_friendly_name]" id="twiml_app_friendly_name" class="form-control" value="<?php echo get_option('twiml_app_friendly_name'); ?>"> </div> <div class="form-group global_setting"> <i class="fa fa-phone pull-left"></i> <label class="control-label" for="twiml_app_sid"><?php echo _l('twiml_app_sid'); ?></label> <input type="text" name="settings[twiml_app_sid]" id="twiml_app_sid" class="form-control" value="<?php echo get_option('twiml_app_sid'); ?>"> </div> <div class="form-group global_setting"> <i class="fa fa-phone pull-left"></i> <label class="control-label" for="twiml_app_voice_request_url"><?php echo _l('twiml_app_voice_request_url'); ?></label> <input type="text" name="settings[twiml_app_voice_request_url]" id="twiml_app_voice_request_url" class="form-control" value="<?php echo get_option('twiml_app_voice_request_url'); ?>"> </div> <script> (function() { if(document.querySelector("#y_opt_1_twilio_account_share_staff").checked == true) { document.querySelectorAll(".global_setting").forEach(element => { element.style.display = 'none'; }); } if(document.querySelector("#y_opt_2_twilio_account_share_staff").checked == true) { document.querySelectorAll(".global_setting").forEach(element => { element.style.display = 'block'; }); } document.querySelector("#y_opt_1_twilio_account_share_staff").addEventListener("change", function() { if (this.checked == true) document.querySelectorAll(".global_setting").forEach(element => { element.style.display = 'none'; }); }); document.querySelector("#y_opt_2_twilio_account_share_staff").addEventListener("change", function() { if (this.checked == true) document.querySelectorAll(".global_setting").forEach(element => { element.style.display = 'block'; }); }); })(); </script>
Copyright ©2021 || Defacer Indonesia