commit
c9898cf261
95 changed files with 5217 additions and 0 deletions
16
misc/header.php
Normal file
16
misc/header.php
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<?php require_once "locale/localization.php";
|
||||
$GLOBALS["opts"] = require_once "config.php";
|
||||
?>
|
||||
<!DOCTYPE html >
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<meta charset="UTF-8"/>
|
||||
<meta name="description" content="A privacy respecting meta search engine."/>
|
||||
<meta name="referrer" content="no-referrer"/>
|
||||
<link rel="stylesheet" type="text/css" href="static/css/styles.css"/>
|
||||
<link title="<?php printtext("page_title"); ?>" type="application/opensearchdescription+xml" href="opensearch.xml?method=POST" rel="search"/>
|
||||
<link rel="stylesheet" type="text/css" href="<?php
|
||||
$theme = $_REQUEST["theme"] ?? trim(htmlspecialchars($_COOKIE["theme"] ?? $GLOBALS["opts"]->default_theme ?? "catppuccin_macchiato"));
|
||||
echo "static/css/" . $theme . ".css";
|
||||
?>"/>
|
||||
Loading…
Add table
Add a link
Reference in a new issue