function _multiselect_html_for_box_options in Multiselect 7
2 calls to _multiselect_html_for_box_options()
- theme_multiselect in ./
multiselect.module - Returns HTML for a select form element.
- _multiselect_build_widget_code in ./
multiselect.module - Build the widget HTML code.
File
- ./
multiselect.module, line 218 - Allows users to select multiple items in an easier way than the normal node-reference widget.
Code
function _multiselect_html_for_box_options($options) {
$boxhtml = '';
foreach ($options as $value => $name) {
$boxhtml .= "<option value=\"" . $value . "\">" . $name . "</option>\n";
}
return $boxhtml;
}