<?php
	/* Exit if accessed directly */
	if ( ! defined( 'ABSPATH' ) ) {
		exit;
	}
	use sgpb\AdminHelper;
	$defaultData = SGPBConfigDataHelper::defaultData();
	$allowed_html = AdminHelper::allowed_html_tags();

?>
<div class="sgpb sgpb-wrapper video-popup-options sgpb-fblike-options">
	<div class="formItem">
		<span class="formItem__title formItem__title_marginBottom "><?php esc_html_e("URL", 'popup-builder')  ?>:</span>
		<input name="sgpb-fblike-like-url" id="sgpb-fblike-like-url" type="url" placeholder="http://" class="grayFormItem__input" value="<?php echo esc_html($popupTypeObj->getOptionValue('sgpb-fblike-like-url'))?>" required>
	</div>
	<div class="formItem">
		<span class="formItem__title"><?php esc_html_e('Layout', 'popup-builder')?>:</span>
		<?php echo wp_kses(AdminHelper::createSelectBox($defaultData['buttonsType'], esc_html($popupTypeObj->getOptionValue('sgpb-fblike-layout')), array('name' => 'sgpb-fblike-layout', 'class'=>'js-sg-select2', 'id'=>'sgpb-fblike-layout')), $allowed_html); ?>
	</div>
	<div class="formItem">
		<span class="formItem__title"><?php esc_html_e('Don\'t show share button', 'popup-builder');?>:</span>
		<div class="sgpb-onOffSwitch">
			<input class="sgpb-onOffSwitch-checkbox" name="sgpb-fblike-dont-show-share-button" id="fblike-dont-show-share-button" type="checkbox" <?php echo esc_html($popupTypeObj->getOptionValue('sgpb-fblike-dont-show-share-button'));?>>
			<label class="sgpb-onOffSwitch__label" for="fblike-dont-show-share-button">
				<span class="sgpb-onOffSwitch-inner"></span>
				<span class="sgpb-onOffSwitch-switch"></span>
			</label>
		</div>
	</div>
</div>

