diff options
| author | polo <ordipolo@gmx.fr> | 2025-10-28 23:23:03 +0100 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2025-10-28 23:23:03 +0100 |
| commit | f653506421ee8e2c46c78e93d28ee2418a1d399d (patch) | |
| tree | 93f54c301538960f543ffdb5fafd387c83dec94a /src/view/templates | |
| parent | cf8c9c1d380afbd8529a6da0afd55a9e3d8f1bf4 (diff) | |
| download | cms-f653506421ee8e2c46c78e93d28ee2418a1d399d.zip | |
modification liens réseaux sociaux, placeholder input text, correction erreurs CSS
Diffstat (limited to 'src/view/templates')
| -rw-r--r-- | src/view/templates/header.php | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/view/templates/header.php b/src/view/templates/header.php index 9c74f9b..89cdd4b 100644 --- a/src/view/templates/header.php +++ b/src/view/templates/header.php | |||
| @@ -35,10 +35,15 @@ | |||
| 35 | </div> | 35 | </div> |
| 36 | <div class="header_right_col"> | 36 | <div class="header_right_col"> |
| 37 | <div id="header_social"> | 37 | <div id="header_social"> |
| 38 | <div id="header_social_content"> | 38 | <div id="header_social_content" style="flex-direction: <?= $header_social_flex_direction ?>;"> |
| 39 | <?= $social_networks ?> | 39 | <?php foreach(array_keys($social) as $one_key){ ?> |
| 40 | <div id="header_<?= $one_key ?>"> | ||
| 41 | <a href="<?= $social[$one_key] ?>" target="_blank" rel="noopener noreferrer"><img id="header_<?= $one_key ?>_content" src="assets/<?= $one_key ?>.svg" alt="<?= $one_key ?>_alt"></a> | ||
| 42 | <?= $admin_social_networks[$one_key] ?> | ||
| 43 | </div> | ||
| 44 | <?php } ?> | ||
| 45 | <?= $admin_social_new_network ?> | ||
| 40 | </div> | 46 | </div> |
| 41 | <?= $admin_social_networks ?> | ||
| 42 | </div> | 47 | </div> |
| 43 | <?= $breadcrumb ?? '' ?> | 48 | <?= $breadcrumb ?? '' ?> |
| 44 | </div> | 49 | </div> |
| @@ -50,7 +55,6 @@ | |||
| 50 | let header_logo = new InputFile('header_logo'); | 55 | let header_logo = new InputFile('header_logo'); |
| 51 | let header_title = new InputText('header_title'); | 56 | let header_title = new InputText('header_title'); |
| 52 | let header_description = new InputText('header_description'); | 57 | let header_description = new InputText('header_description'); |
| 53 | let header_social = new InputToggler('header_social'); | ||
| 54 | </script> | 58 | </script> |
| 55 | <?php } ?> | 59 | <?php } ?> |
| 56 | </header> \ No newline at end of file | 60 | </header> \ No newline at end of file |
