| Server IP : 82.64.35.208 / Your IP : 192.168.65.1 Web Server : Apache/2.4.68 (Debian) System : Linux 079bc81edf51 6.12.76-linuxkit #1 SMP Tue Jul 21 14:38:37 UTC 2026 aarch64 User : root ( 0) PHP Version : 8.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/plugins/custom-twitter-feeds/inc/Builder/Controls/ |
Upload File : |
<?php
/**
* Customizer Builder
* CheckBox Control
*
* @since 2.0
*/
namespace TwitterFeed\Builder\Controls;
if(!defined('ABSPATH')) exit;
class SB_Checkbox_Control extends SB_Controls_Base{
/**
* Get control type.
*
* Getting the Control Type
*
* @since 2.0
* @access public
*
* @return string
*/
public function get_type(){
return 'checkbox';
}
/**
* Output Control
*
*
* @since 2.0
* @access public
*
* @return HTML
*/
public function get_control_output($controlEditingTypeModel){
?>
<div class="sb-control-checkbox-ctn ctf-fb-fs" @click.prevent.default="(control.custom != undefined && control.custom == 'feedtype') ? changeCheckboxSectionValue('type', control.value, 'feedFlyPreview') : changeSwitcherSettingValue(control.id, control.options.enabled, control.options.disabled, control.ajaxAction != undefined ? control.ajaxAction : false)">
<div class="sb-control-checkbox" :data-active="(control.custom != undefined && control.custom == 'feedtype') ? <?php echo $controlEditingTypeModel ?>['type'].includes(control.value) : checkActiveControl(control.id, control.options.enabled)"></div>
<div class="sb-control-label" :data-title="control.labelStrong ? 'true' : false">{{control.label}}</div>
</div>
<?php
}
}