';
echo '';
echo esc_html($label);
echo '';
}
function hefo_field_checkbox_only($name, $tips = '', $attrs = '', $link = null) {
global $options;
echo '
';
echo ' ' . $tips;
if ($link) {
echo ' Read more.';
}
echo ' | ';
}
function hefo_field_text($name, $label = '', $tips = '') {
global $options;
if (!isset($options[$name])) {
$options[$name] = '';
}
echo '';
echo ' | ';
echo '';
echo ' ' . $tips;
echo ' | ';
}
function hefo_base_text($name) {
global $options;
if (!isset($options[$name])) {
$options[$name] = '';
}
echo '';
}
function hefo_field_textarea($name, $label = '', $tips = '') {
global $options;
if (!isset($options[$name])) {
$options[$name] = '';
}
if (is_array($options[$name])) {
$options[$name] = implode("\n", $options[$name]);
}
echo '';
echo ' | ';
echo '';
echo ' ' . esc_html($tips) . ' ';
echo ' | ';
}
function hefo_base_textarea_cm($name, $type = '', $tips = '') {
global $options;
if (!empty($type)) {
$type = '-' . $type;
}
if (!isset($options[$name])) {
$options[$name] = '';
}
if (is_array($options[$name])) {
$options[$name] = implode("\n", $options[$name]);
}
echo '';
echo '' . $tips . '
';
}
function hefo_rule($number) {
global $options;
if (!isset($options['inner_pos_' . $number])) {
$options['inner_pos_' . $number] = 'after';
}
if (!isset($options['inner_skip_' . $number])) {
$options['inner_skip_' . $number] = 0;
}
if (!isset($options['inner_tag_' . $number])) {
$options['inner_tag_' . $number] = '';
}
echo '';
echo '
Inject
';
echo '
';
echo '
';
echo '
skipping
';
echo '
';
echo '
chars, on failure inject
';
echo '
';
echo '
';
}