<?php
$enableNewsletterSMS = get_option('setrio_bizcal_enable_newsletter_sms', 1);
$key = basename(__FILE__, '.php');
$args['key'] = $key;

if($enableNewsletterSMS){
	$lblNewsletterSMS = setrio_bizcal_message('lblNewsletterSMS');
		
	$lblNewsletterSMS = preg_replace("/(<a)(\s)/",'\1 v-on:click.stop="1" \2', $lblNewsletterSMS);
	
	$args['wargs'] = array_replace((isset($args['wargs']) ? $args['wargs'] : array()), array(
		'label' => $lblNewsletterSMS,
	));
	setrio_bizcal_get_template_part('vue/part/checkbox', $args);
} else {
	setrio_bizcal_get_template_part('vue/part/input', $args);
}