Update index.php

This commit is contained in:
beenull 2023-11-26 20:55:58 +00:00
parent 2273505a3d
commit ca8335de09

View file

@ -147,13 +147,14 @@ if (
<html lang="<?= $locale ?>">
<head>
<meta charset="utf-8">
<title>LibreQR · <?= $loc['subtitle'] ?></title>
<title>NibbleQR · <?= $loc['subtitle'] ?></title>
<meta name="description" content="<?= $loc['description'] ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="dark light">
<meta name="application-name" content="LibreQR">
<meta name="referrer" content="no-referrer">
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; img-src 'self' data:; style-src 'self'; form-action 'self';">
<link rel="icon" type="image/png" href="https://nibblecdn.com/logo/nibblegap.svg">
<?php
require "themes/" . THEME . "/theme.php";
$colorScheme['theme'] = THEME;
@ -166,6 +167,7 @@ $cssFileName = Less_Cache::Get(array("style.less" => ""), $options, $colorScheme
foreach($themeDimensionsIcons as $dimFav) // Set all icons dimensions
echo ' <link rel="icon" type="image/png" href="themes/' . THEME . '/icons/' . $dimFav . '.png" sizes="' . $dimFav . 'x' . $dimFav . '">' . "\n";
?>
</head>
<body>
@ -173,7 +175,7 @@ foreach($themeDimensionsIcons as $dimFav) // Set all icons dimensions
<header>
<a id="linkTitles" href="./">
<div id="titles">
<h1>LibreQR</h1>
<h1>NibbleQR</h1>
<h2><?= $loc['subtitle'] ?></h2>
</div>
</a>
@ -192,8 +194,7 @@ foreach($themeDimensionsIcons as $dimFav) // Set all icons dimensions
</div>
<div id="sideParams">
<div class="param">
<div class="param">
<details>
<summary><label for="redundancy"><?= $loc['label_redundancy'] ?></label></summary>
<p class="helpText">
@ -208,6 +209,7 @@ foreach($themeDimensionsIcons as $dimFav) // Set all icons dimensions
</select>
</div>
<div class="param">
<details>
<summary><label for="margin"><?= $loc['label_margin'] ?></label></summary>
@ -299,7 +301,9 @@ if ($qrCodeAvailable) {
<section class="metaText">
<small><?= $loc['metaText_legal'] ?></small>
</section>
<div class="footer">
<center><small><a href="https://nibblegap.com" target="_blank">NibbleGap</a> | <a href="https://nibblegap.com/contact/" target="_blank">Contact</a></small></center>
</div><br><br>
</footer>
</body>