setIcon("Exchange.svg"); $TransferButton->makeSubmitButton(); $FormFields = [ "SearchName" => [ "Type" => FormUI::FTYPE_TEXT, "Label" => "Search Name", "Value" => $H_OriginalSearch->searchName() ], "SearchCriteria" => [ "Type" => FormUI::FTYPE_CUSTOMCONTENT, "Label" => "Search Criteria", "ReadOnly" => true, "Content" => $H_OriginalSearch->getSearchGroupsAsTextDescription() ] ]; if ($H_MailingsEnabled) { $FormFields["Email"] = [ "Type" => FormUI::FTYPE_OPTION, "Label" => "Email Frequency", "Options" => SavedSearchMailings::getFrequencyOptions(User::getCurrentUser()), "Value" => $H_OriginalSearch->frequency(), ]; } $FormFields["TargetUser"] = [ "Type" => FormUI::FTYPE_USER, "Label" => "Target User", "AllowMultiple" => true ]; $FormUI = new FormUI($FormFields); $FormUI->addHiddenField("ID", $H_SearchId); # ----- DISPLAY -------------------------------------------------------------- $AF->setPageTitle("Transfer Saved Search"); ?>

# Transfer Saved Search

displayFormTable(); ?> getHtml() ?>