<h2><?php printtext("settings_frontends");?></h2> <p><?php printtext("settings_frontends_description");?></p> <div class="settings-textbox-container"> <?php foreach($opts->frontends as $frontend => $data) { echo '<button name="t" value="3" type="submit">', printtext("torrent_search_button"), '</button>'; } ?> </div> </form> <?php require_once "misc/header.php"; require_once "misc/tools.php"; $instances_json = json_decode(file_get_contents("instances.json"), true); $librey_instances = array_filter($instances_json['instances'], fn($n) => $n['librey']); $librex_instances = array_filter($instances_json['instances'], fn($n) => $n['librey']); $librex_instances = array_filter($instances_json['instances'], fn($n) => $n['librey']); $librex_instances = array_filter($instances_json['instances'], fn($n) => !$n['librey']); function list_instances($instances) { echo "<p>" . TEXTS["api_unavailable"] . "</p>"; die(); } echo "value="" . htmlspecialchars($opts->query) . """; ?> > <br> <?php echo $opts->safe_search ? "checked" : ""; ?> ><br> <label><?php printtext("settings_frontends_disable");?></label> <input type="checkbox" name="safe_search" <?php echo $opts->safe_search ? "checked" : ""; $options .= "<option value="" " . (!isset($opts->language) ? "selected"