array_search($category, $categories); if (($opts->disable_bittorrent_search && $category_index ==4)) { continue; } echo $options; ?> </select> </div> </div> <div class="settings-textbox-container"> <div> <span><?php printtext("settings_language");?></span> <select name="language"> <?php $languages = json_decode(file_get_contents("static/misc/languages.json"), true); $options = ""; $options .= "<option value="$engine" $selected>$engine</option>"; } echo "<a for="$frontend" href="" . $data["project_url"] . "" value="; echo htmlspecialchars($opts->frontends["$frontend"]["instance_url"] ?? ""); echo ">"; echo "</div>"; } ?> <?php return (object) array( // e.g.: fr -> https://google.fr/ "google_domain"