/** * Displays the help span for the specified input * @param EE_Form_Input_Base $input * @return string */ public function display_help_text($input) { if ($input->html_help_text() != '') { $tag = is_admin() ? 'p' : 'span'; return '<' . $tag . ' id="' . $input->html_id() . '-help" class="' . $input->html_help_class() . '" style="' . $input->html_help_style() . '">' . $input->html_help_text() . '</' . $tag . '>'; } return ''; }