LibreY

- privacy respecting meta search engine
git clone git://git.acid.vegas/LibreY.git
Log | Files | Refs | Archive | README | LICENSE

header.php (780B)

      1 <?php require "locale/localization.php"; ?>
      2 <!DOCTYPE html >
      3 <html lang="en">
      4     <head>
      5         <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
      6         <meta charset="UTF-8"/>
      7         <meta name="description" content="A privacy respecting meta search engine."/>
      8         <meta name="referrer" content="no-referrer"/>
      9         <link rel="stylesheet" type="text/css" href="static/css/styles.css"/>
     10         <link title="<?php printtext("page_title"); ?>" type="application/opensearchdescription+xml" href="opensearch.xml?method=POST" rel="search"/>
     11         <link rel="stylesheet" type="text/css" href="<?php
     12 $theme = $_REQUEST["theme"] ?? trim(htmlspecialchars($_COOKIE["theme"] ?? "dark"));
     13                 echo "static/css/" . $theme . ".css";
     14         ?>"/>