I assume an additional negatecriteria needs to be added to this section:
//show all sites from the WMN
function showAll(){
$out = ”;
$all_wmn_sites = get_sites();
$current_site_id = get_current_blog_id();
foreach ($all_wmn_sites as $site) {
if ($current_site_id != $site->blog_id) {
$the_site = get_blog_details($site->blog_id);
$out .= “<option value='” . $the_site->siteurl . “‘>” . $the_site->blogname . “</option>”;
}
}
return $out;
}