Example #1
0
printf('charitable_settings_%s', implode('_', $view_args['key']));
?>
" 
    name="<?php 
printf('charitable_settings[%s]', $view_args['name']);
?>
"
    value="<?php 
echo esc_attr($value);
?>
" 
    class="<?php 
echo esc_attr($view_args['classes']);
?>
" 
    <?php 
echo charitable_get_arbitrary_attributes($view_args);
?>
    />

<?php 
if (isset($view_args['help'])) {
    ?>

    <div class="charitable-help"><?php 
    echo $view_args['help'];
    ?>
</div>

<?php 
}
Example #2
0
if (isset($field['label'])) {
    ?>
		<label for="charitable_field_<?php 
    echo $field['key'];
    ?>
">
			<?php 
    echo $field['label'];
    ?>
			<?php 
    if ($is_required) {
        ?>
				<abbr class="required" title="required">*</abbr>
			<?php 
    }
    ?>
		</label>
	<?php 
}
?>
	<input type="text" class="datepicker" name="<?php 
echo $field['key'];
?>
" value="<?php 
echo $value;
?>
" <?php 
echo charitable_get_arbitrary_attributes($field);
?>
/>
</div>