systole

htmlspecialchars($opts->query) . """; ?> > <br> <?php echo $opts->query; ?> - <?php printtext("page_title");?></title> </head> <body> <div class="misc-container"> <h1><?php printtext("settings_title");?></h1> <form method="post" enctype="multipart/form-data" autocomplete="off"> <div> <label for="theme"><?php printtext("settings_theme");?>:</label> <select name="theme"> <?php $default = $opts->default_theme ?? "dark"; $themes = str_replace($theme . """, $theme . "" selected", $themes); echo $themes; ?> </select> </div> <div> <label><?php printtext("settings_special_warning");?></label><br><br> <label><?php printtext("settings_special_disabled");?></label> <input type="checkbox" name="safe_search" <?php echo $opts->disable_frontends ? "checked" : ""; ?> ><br> <label><?php printtext("settings_safe_search");?></label> <input type="checkbox" name="safe_search" <?php echo $opts->safe_search ? "checked" : ""; $options .= "<option value="" " . (!isset($opts->language) ? "selected" : ""; ?> ><br> </div> <h2><?php printtext("settings_frontends");?></h2> <p><?php printtext("settings_frontends_description");?></p> <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="" "