init(); // Print the top header print_header(i18n::translate('Search')); if ($ENABLE_AUTOCOMPLETE) require WT_ROOT.'js/autocomplete.js.htm'; ?>

getPageTitle(); ?>

printResults(); ?>
action == "general") { ?> action == "replace") { if (WT_USER_CAN_EDIT) { ?> action == "soundex") { ?> action == "multisite") { ?> action == "general" || $controller->action == "soundex") { $all_gedcoms=get_all_gedcoms(); // If more than one GEDCOM, switching is allowed AND DB mode is set, let the user select if ((count($all_gedcoms) > 1) && get_site_setting('ALLOW_CHANGE_GEDCOM')) { ?> "; } } } else if ($controller->action == "replace") { print "".i18n::translate('General Search')." | "; print "".i18n::translate('Soundex Search').""; print " | ".i18n::translate('Advanced search').""; if ($SHOW_MULTISITE_SEARCH >= WT_USER_ACCESS_LEVEL) { if (count($controller->Sites) > 0) { print " | ".i18n::translate('Multi Site Search').""; } } } else if ($controller->action == "soundex") { print "".i18n::translate('General Search').""; print " | ".i18n::translate('Advanced search').""; if(WT_USER_CAN_EDIT) { print " | ".i18n::translate('Search and replace').""; } if ($SHOW_MULTISITE_SEARCH >= WT_USER_ACCESS_LEVEL) { if (count($controller->Sites) > 0) { print " | ".i18n::translate('Multi Site Search').""; } } } else if ($controller->action == "multisite") { if(WT_USER_CAN_EDIT) { print "".i18n::translate('Search and replace')." | "; } print "".i18n::translate('General Search')." | "; print "".i18n::translate('Soundex Search').""; print " | ".i18n::translate('Advanced search').""; } ?>
srindi) || !$controller->isPostBack) print " checked=\"checked\" "; ?> value="yes" name="srindi" />
srfams)) print " checked=\"checked\" "; ?> value="yes" name="srfams" />
srsour)) print " checked=\"checked\" "; ?> value="yes" name="srsour" />
srnote)) print " checked=\"checked\" "; ?> value="yes" name="srnote" />
tagfilter == "on") || ($controller->tagfilter == "")) print " checked=\"checked\" "; ?> />
tagfilter == "off") print " checked=\"checked\" "; ?> />
showasso == "on") print " checked=\"checked\" "; ?> />




soundex == "Russell") print " checked=\"checked\" "; ?> />
soundex == "DaitchM" || $controller->soundex == "") print " checked=\"checked\" "; ?> />
showasso == "on") print " checked=\"checked\" "; ?> />
Sites) { foreach ($controller->Sites as $server) { print "isPostBack) print "checked=\"checked\" value=\"on\" "; $controller->inputFieldNames[] = "server".$i; print "name=\"server".$i."\" />".$server['name']."
"; $i ++; } } else { print i18n::translate('No known Servers
No results will be found'); } ?>
$gedcom) { $str = str_replace(array (".", "-", " "), array ("_", "_", "_"), $gedcom); $controller->inputFieldNames[] = "$str"; print "".PrintReady(get_gedcom_setting($ged_id, 'title'), true)."
"; } ?>
action == "general") { print "".i18n::translate('Soundex Search').""; print " | ".i18n::translate('Advanced search').""; if(WT_USER_CAN_EDIT) { print " | ".i18n::translate('Search and replace').""; } if ($SHOW_MULTISITE_SEARCH >= WT_USER_ACCESS_LEVEL) { if (count($controller->Sites) > 0) { print " | ".i18n::translate('Multi Site Search')."



"; // set the focus on the first field unless multisite or some search results have been printed if (($controller->action != "multisite") && !$somethingPrinted ) { ?>