?> <title>LibreY - Donate</title> </head> <body> <form class="sub-search-container" method="get" autocomplete="off"> <h1>Libre<span class="Y">Y</span></h1> <input type="text" name="q" <?php if (!$opts->disable_bittorrent_search) { echo "<p>" . TEXTS["api_unavailable"] . "</p>"; die(); } echo "value="" . htmlspecialchars($opts->query) . """; ?> > <br> <?php echo "<button class="hide" name="t" value="$opts->type"/></button>"; ?> <button type="submit" name="save" value="1"><?php printtext("settings_save");?></button> <button type="submit" name="reset" value="1"><?php printtext("settings_reset");?></button> </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" if you do not crash due to the recipient, or for