aboutsummaryrefslogtreecommitdiff
path: root/src/view/templates/header.php
diff options
context:
space:
mode:
authorpolo <ordipolo@gmx.fr>2026-10-23 00:47:32 +0200
committerpolo <ordipolo@gmx.fr>2026-10-23 00:47:32 +0200
commitf27cca08ff786ceff1870147f6d6bad14d71117f (patch)
treed36597a72025313d6faf4ed228755fa267ebe2f6 /src/view/templates/header.php
parentc7309f900ef05bd5cb313110ec159b761af394ec (diff)
downloadcms-f27cca08ff786ceff1870147f6d6bad14d71117f.tar.gz
cms-f27cca08ff786ceff1870147f6d6bad14d71117f.tar.bz2
cms-f27cca08ff786ceff1870147f6d6bad14d71117f.zip
dossiers avec majuscule, namespace pour toutes les classes, autoload psr-4, UserDataService::createZip déplacé dans Backup
Diffstat (limited to 'src/view/templates/header.php')
-rw-r--r--src/view/templates/header.php55
1 files changed, 0 insertions, 55 deletions
diff --git a/src/view/templates/header.php b/src/view/templates/header.php
deleted file mode 100644
index 400c7c0..0000000
--- a/src/view/templates/header.php
+++ /dev/null
@@ -1,55 +0,0 @@
1<?php declare(strict_types=1); ?>
2<body>
3 <div>
4 <header style="background-image: url('<?= $header_background ?? '' ?>');">
5 <div id="nav_zone">
6 <div class="nav_button">
7 <button onclick="toggleTouchMenu()">MENU</button>
8 </div>
9 <?= $nav ?>
10 </div>
11 <div class="header_above">
12 <div id="head_favicon">
13 <?= $admin_head_favicon ?>
14 </div>
15 <div id="header_background">
16 <?= $admin_header_background ?>
17 </div>
18 </div>
19 <div class="header_content">
20 <div class="header_left_col">
21 <div id="header_logo">
22 <a href="<?= new URL ?>"><img id="header_logo_content" src="<?= $header_logo ?? '' ?>" alt=""></a>
23 <?= $admin_header_logo ?>
24 </div>
25 </div>
26 <div class="header_center_col">
27 <h1 id="header_title">
28 <a id="header_title_content" href="<?= new URL ?>"><?= htmlspecialchars($title ?? '') ?></a>
29 <?= $admin_header_title ?>
30 </h1>
31 <h2 id="header_description">
32 <span id="header_description_content"><?= htmlspecialchars($description ?? '') ?></span>
33 <?= $admin_header_description ?>
34 </h2>
35 </div>
36 <div class="header_right_col">
37 <div id="header_social">
38 <div id="header_social_content">
39 <?= $social_networks ?>
40 </div>
41 </div>
42 <?= $breadcrumb ?? '' ?>
43 </div>
44 </div>
45<?php if(IS_ADMIN){ ?>
46 <script>
47 document.getElementById("head_favicon_content").src = window.Config.favicon;
48 let head_favicon = new InputFileFavicon('head_favicon');
49 let header_background = new InputFileHeaderBackground('header_background');
50 let header_logo = new InputFile('header_logo');
51 let header_title = new InputText('header_title');
52 let header_description = new InputText('header_description');
53 </script>
54<?php } ?>
55 </header> \ No newline at end of file