<option value="gruvbox">Gruvbox</option> <option value="github_night">GitHub Night</option> <option value="catppuccin_latte">Catppuccin Latte</option> <option value="catppuccin_frappe">Catppuccin Frappe</option> <option value="catppuccin_macchiato">Catppuccin Macchiato</option> <option value="catppuccin_mocha">Catppuccin Mocha</option> <option value="ubuntu">Ubuntu</option> <option value="tokyo_night">Tokyo Night</option>"; if (!isset($opts->theme)) { $theme = $default; } $theme = $default; } $theme = $opts->theme; $themes = str_replace($theme . """, $theme . "" selected", $themes); echo $themes; ?> </select> </div> </div> <?php require_once "misc/search_engine.php"; $opts = load_opts(); ?> <title>LibreY - <?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 = " <option value="dark">Dark</option> <option value="darker">Darker</option> <option value="amoled">AMOLED</option> <option value="light">Light</option> <option value="auto">Auto</option>