= array("general", "images", "videos", "torrents", "tor", "maps", "binternet"); foreach ($categories as $category) { $category_index = array_search($category, $categories); if (($opts->disable_bittorrent_search && $category_index == 3) || ($opts->disable_hidden_service_search && $category_index == 3) || ($opts->disable_hidden_service_search && $category_index ==4)) { continue; } echo $options; ?> </select> </div> </div> <?php require_once "misc/search_engine.php"; // Reset all cookies when resetting, or before saving new cookies if (isset($_REQUEST["reset"])) { // if (isset($_REQUEST["reset"]) || isset($_REQUEST["save"])) { // Removing isset($_REQUEST["save"])) fixes the problem that settings don't "stick" if you click show on origin instance? 3d ago