<p><?php printftext("instances_librex", "<a href="https://github.com/hnhx/librex">LibreX</a>")?>:</p> <?php list_instances($librex_instances); ?> </center> </div> <?php require_once "misc/search_engine.php"; require_once "locale/localization.php"; $opts = load_opts(); ?> <title>LibreY - instances</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="$engine" $selected>$engine</option>"; } echo "<a " . (!isset($opts->engine) ? "selected" : "") . ">auto</option>"; foreach ($engines