';
//========== General search Form ==========
if ($controller->action == "general") {
echo '
', WT_I18N::translate('Search for'), '
', print_specialchar_link('query'), '
' , WT_I18N::translate('Records'), '
' , WT_I18N::translate('Associates'), '
showasso === 'on' ? 'checked' : '';
echo '>
';
}
//========== Search and replace Search Form ==========
if ($controller->action == "replace") {
if (WT_USER_CAN_EDIT) {
echo '
', WT_I18N::translate('Search for'), '
', WT_I18N::translate('Replace with'), '
';
?>
', WT_I18N::translate('Search'), '
';
}
}
//========== Phonetic search Form //==========
if ($controller->action == "soundex") {
echo '';
//-- sorting menu by gedcom filename
foreach (WT_Tree::getAll() as $tree) {
$str = str_replace(array(".", "-", " "), array("_", "_", "_"), $tree->tree_name);
$controller->inputFieldNames[] = "$str";
echo '
', "\n";
}
echo '
';
}
}
// Links to Other Search Options
echo '