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") { echo "".i18n::translate('General Search')." | "; echo "".i18n::translate('Soundex Search').""; echo " | ".i18n::translate('Advanced search').""; if ($SHOW_MULTISITE_SEARCH >= WT_USER_ACCESS_LEVEL) { if (count($controller->Sites) > 0) { echo " | ".i18n::translate('Multi Site Search').""; } } } else if ($controller->action == "soundex") { echo "".i18n::translate('General Search').""; echo " | ".i18n::translate('Advanced search').""; if (WT_USER_CAN_EDIT) { echo " | ".i18n::translate('Search and replace').""; } if ($SHOW_MULTISITE_SEARCH >= WT_USER_ACCESS_LEVEL) { if (count($controller->Sites) > 0) { echo " | ".i18n::translate('Multi Site Search').""; } } } else if ($controller->action == "multisite") { if (WT_USER_CAN_EDIT) { echo "".i18n::translate('Search and replace')." | "; } echo "".i18n::translate('General Search')." | "; echo "".i18n::translate('Soundex Search').""; echo " | ".i18n::translate('Advanced search').""; } ?>
srindi) || !$controller->isPostBack) echo " checked=\"checked\" "; ?> value="yes" name="srindi" />
srfams)) echo " checked=\"checked\" "; ?> value="yes" name="srfams" />
srsour)) echo " checked=\"checked\" "; ?> value="yes" name="srsour" />
srnote)) echo " checked=\"checked\" "; ?> value="yes" name="srnote" />
tagfilter == "on") || ($controller->tagfilter == "")) echo " checked=\"checked\" "; ?> />
tagfilter == "off") echo " checked=\"checked\" "; ?> />
showasso == "on") echo " checked=\"checked\" "; ?> />




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