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/header.php"; require_once "misc/tools.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 agree to terms that sound plausible but are entirely