You are here

function ldaphelp_suggest in LDAP integration 6

1 call to ldaphelp_suggest()
ldaphelp_wizard_form in ldaphelp/ldaphelp_wizard.inc
@file wizard file for ldaphelp module

File

ldaphelp/ldaphelp_wizard.inc, line 267
wizard file for ldaphelp module

Code

function ldaphelp_suggest($all_suggestions, $suggestions) {
  $ul = "<ul>\r\n";
  foreach ($suggestions as $suggestion) {
    if ($all_suggestions[$suggestion]) {
      $ul .= "<li>" . $all_suggestions[$suggestion] . "</li>";
    }
  }
  $ul .= "</ul>\r\n";
  return $ul;
}