/** * Display additional email options. * Allow descendants to use the standard email form rendering, while still adding new mailing options. * @param FORM_RENDERER $renderer * @access private */ protected function _draw_options($renderer) { parent::_draw_options($renderer); $renderer->draw_check_box_row('include_browser_info'); $renderer->draw_check_box_row('include_page_data'); }
/** * Display additional email options. * Allow descendants to use the standard email form rendering, while still adding new mailing options. * @param FORM_RENDERER $renderer * @access private */ protected function _draw_options($renderer) { parent::_draw_options($renderer); $props = $renderer->make_list_properties(); $props->add_item('Send one email to all recipients.', 'single_mail'); $props->add_item('Send separate email to each recipient.*', 'multiple_mail'); $renderer->draw_radio_group_row('email_type', $props); $renderer->draw_text_box_row('recipients', 'short-medium'); }