aboutsummaryrefslogtreecommitdiff
path: root/src/view/templates/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/templates/header.php')
-rw-r--r--src/view/templates/header.php30
1 files changed, 13 insertions, 17 deletions
diff --git a/src/view/templates/header.php b/src/view/templates/header.php
index ac8af7f..4d3b323 100644
--- a/src/view/templates/header.php
+++ b/src/view/templates/header.php
@@ -5,43 +5,38 @@
5 <div id="nav_zone"> 5 <div id="nav_zone">
6 <?= $nav ?> 6 <?= $nav ?>
7 </div> 7 </div>
8 <div class="editing_zone"> 8 <div>
9 <div id="head_favicon" style="margin: <?= $editing_zone_margin ?>;"> 9 <div id="head_favicon" style="margin: <?= $editing_zone_margin ?>;">
10 <input type="file" id="head_favicon_input" class="hidden" accept="image/png, image/jpeg, image/gif, image/webp, image/tiff, image/x-icon, image/bmp"> 10 <?= $admin_favicon ?>
11 <?= $buttons_favicon ?>
12 </div> 11 </div>
13 <div id="header_background"> 12 <div id="header_background">
14 <input type="file" id="header_background_input" class="hidden" accept="image/png, image/jpeg, image/gif, image/webp, image/tiff"> 13 <?= $admin_background ?>
15 <?= $buttons_background ?>
16 </div> 14 </div>
17 </div> 15 </div>
18 <div class="header_content"> 16 <div class="header_content">
19 <div class="header_left_col"> 17 <div class="header_left_col">
20 <div id="header_logo"> 18 <div id="header_logo">
21 <a href="<?= new URL ?>"><img id="header_logo_img" src="<?= $header_logo ?? '' ?>" alt="header_logo"></a> 19 <a id="header_logo_content" href="<?= new URL ?>"><img src="<?= $header_logo ?? '' ?>" alt="header_logo"></a>
22 <input type="file" id="header_logo_input" class="hidden" accept="image/png, image/jpeg, image/gif, image/webp, image/tiff"> 20 <?= $admin_header_logo ?>
23 <?= $buttons_header_logo ?>
24 </div> 21 </div>
25 </div> 22 </div>
26 <div class="nav_button"> 23 <div class="nav_button">
27 <button>MENU</button> 24 <button>MENU</button>
28 </div> 25 </div>
29 <div class="site_title"> 26 <div class="header_center_col">
30 <h1 id="header_title"> 27 <h1 id="header_title">
31 <a href="<?= new URL ?>"><span id="header_title_span"><?= htmlspecialchars($title ?? '') ?></span></a> 28 <a id="header_title_content" href="<?= new URL ?>"><?= htmlspecialchars($title ?? '') ?></a></span>
32 <input type="text" id="header_title_input" class="hidden" value="<?= htmlspecialchars($title ?? '') ?>" size="30"> 29 <?= $admin_header_title ?>
33 <?= $buttons_header_title ?>
34 </h1> 30 </h1>
35 <h2 id="header_description"> 31 <h2 id="header_description">
36 <span id="header_description_span"><?= htmlspecialchars($description ?? '') ?></span> 32 <span id="header_description_content"><?= htmlspecialchars($description ?? '') ?></span>
37 <input type="text" id="header_description_input" class="hidden" value="<?= htmlspecialchars($description ?? '') ?>" size="30"> 33 <?= $admin_header_description ?>
38 <?= $buttons_header_description ?>
39 </h2> 34 </h2>
40 </div> 35 </div>
41 <div class="header_right_col"> 36 <div class="header_right_col">
42 <div class="social"> 37 <div id="header_social">
43 <?= $social_networks ?> 38 <?= $social_networks ?>
44 <?= $buttons_social_networks ?> 39 <?= $admin_social_networks ?>
45 </div> 40 </div>
46 <?= $breadcrumb ?? '' ?> 41 <?= $breadcrumb ?? '' ?>
47 </div> 42 </div>
@@ -53,6 +48,7 @@
53 let header_logo = new InputFile('header_logo'); 48 let header_logo = new InputFile('header_logo');
54 let header_title = new InputText('header_title'); 49 let header_title = new InputText('header_title');
55 let header_description = new InputText('header_description'); 50 let header_description = new InputText('header_description');
51 let header_social = new InputFile('header_social');
56 </script> 52 </script>
57<?php } ?> 53<?php } ?>
58 </header> \ No newline at end of file 54 </header> \ No newline at end of file