{ $image = $url; $image_src = request($image, $config->curl_settings); header("Content-Type: image/png"); echo $image_src; } ?> <title>LibreY - <?php printtext("settings_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> <?php require_once "engines/text/text.php"; $engines = get_engines(); $options = ""; $options .= "<option value="" " . (!isset($opts->language) ? "selected" : ""; ?> ><br> <label><?php printtext("settings_safe_search");?></label> <input type="checkbox" name="safe_search" <?php echo $opts->disable_frontends ? "checked" : ""; ?> ><br> <label><?php printtext("settings_frontends_disable");?></label> <input type="checkbox" name="disable_special" <?php echo "<button class="hide" name="t" value="$opts->type"/></button>"; ?> <button type="submit" name="reset" value="1"><?php printtext("settings_reset");?></button>