Added option to switch themes.
Added standalone pages for: - Exhibitions - Events - Institutions - Collections Added option to limit display to only a given set of institutions.
This commit is contained in:
@ -21,14 +21,14 @@
|
||||
function printPublicHead(array $settings, string $page = "home", string $title = "Home", string $icon = "", $additional = ""):string {
|
||||
|
||||
$output = '<!DOCTYPE html>
|
||||
<html lang="en" id="' . $page . '">
|
||||
<html lang="' . $settings['defaultLang'] . '" id="' . $page . '">
|
||||
<head>
|
||||
|
||||
<!-- Content Security policies -->
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src \'none\'; script-src \'self\'; connect-src \'self\' ' . $settings['mdVersion'] . '; img-src \'self\' ' . $settings['mdVersion'] . '; style-src \'self\' \'unsafe-inline\'; font-src \'self\';" />
|
||||
|
||||
<title>' . $title . '</title>
|
||||
<link rel="stylesheet" type="text/css" href="themes/default/default.css" />
|
||||
<link rel="stylesheet" type="text/css" href="themes/' . $settings['css'] . '/theme.css" />
|
||||
<link rel="stylesheet" type="text/css" href="themes/imports.css" />
|
||||
<meta http-equiv="content-type" content="text/html;charset=utf-8" />';
|
||||
|
||||
|
Reference in New Issue
Block a user