function _feedback_get_options in Feedback 5
2 calls to _feedback_get_options()
- feedback_mail_form in ./
feedback.module - feedback_mail_form_validate in ./
feedback.module - Validate the site-wide form submission.
File
- ./
feedback.module, line 503 - Enables a site-wide feedback page.
Code
function _feedback_get_options($text) {
$options = array(
'0' => '--',
);
$lines = split("[,\n\r]", $text);
foreach ($lines as $line) {
if ($line = trim($line)) {
$options[$line] = $line;
}
}
return $options;
}