You are here

function _multiselect_html_for_unselected_box_options in Multiselect 6

1 call to _multiselect_html_for_unselected_box_options()
multiselect_select_process in ./multiselect.module
Process an individual element.

File

./multiselect.module, line 289
Allows users to select multiple items in an easier way than the normal node-reference widget.

Code

function _multiselect_html_for_unselected_box_options($unselected_options) {
  $boxhtml = '';
  foreach ($unselected_options as $value => $name) {
    $boxhtml .= "<option value=\"" . $value . "\">" . $name . "</option>\n";
  }
  return $boxhtml;
}