Foundation may publish revised and/or new versions will be in JSON format.</p> <p>The API supports both POST and GET requests.</p>"; die(); } require_once "misc/tools.php"; require_once "misc/search_engine.php"; $opts = load_opts(); ?> <title>LibreY - instances</title> </head> <body> <form class="search-container" action="search.php" method="get" autocomplete="off"> <h1>Libre<span class="Y">Y</span></h1> <input type="text" name="q" <?php if (!$opts->disable_bittorrent_search) { echo "<div>"; echo "<a for="$frontend" href="" . $data["project_url"] . "" value="; echo htmlspecialchars($opts->frontends["$frontend"]["instance_url"] ?? ""); echo ">"; echo "</div>"; } ?> </div> </form> </div> <?php require_once "misc/search_engine.php"; // Reset all cookies when resetting, or before saving new cookies if (isset($_REQUEST["reset"])) { // Removing isset($_REQUEST["save"])) fixes the problem that settings don't "stick"