Language updates. New upload form. new classes.

This commit is contained in:
Cody Cook 2025-02-22 00:20:39 -08:00
commit 8f3061ab99
62 changed files with 3107 additions and 1883 deletions

View file

@ -1,11 +1,14 @@
<?php require_once 'includes/header-security.php'; ?>
<!doctype html >
<html lang="<?php echo $lang ?>" <?php
// dark mode checker
if (isset($_SESSION['darkmode']) && $_SESSION['darkmode'] == 'true') {
echo 'data-bs-theme="dark"';
} ?>
<!doctype html>
<html lang="<?php echo $lang ?>">
<head>
<script>
(function() {
if (localStorage.getItem('darkmode') === 'true') {
document.documentElement.setAttribute('data-bs-theme', 'dark');
}
})();
</script>
<?php if (isset($config['seo']['google']) && $config['seo']['google']) {
require_once 'includes/google_tag_manager.php';
echo get_google_tag_manager_header($config['seo']['gtm']['key']);