diff options
author | polo <ordipolo@gmx.fr> | 2025-05-13 16:42:35 +0200 |
---|---|---|
committer | polo <ordipolo@gmx.fr> | 2025-05-13 16:42:35 +0200 |
commit | d5a636d328989ad950b88015f9b418e17652d8c8 (patch) | |
tree | d920dab221fa5579dd47a49c3a054cf9dd43b981 /src | |
parent | 2900691707ff5f5b39306db8b405d08a33f5b019 (diff) | |
download | cms-d5a636d328989ad950b88015f9b418e17652d8c8.zip |
bricoles
Diffstat (limited to 'src')
-rw-r--r-- | src/controller/installation.php | 3 | ||||
-rw-r--r-- | src/view/MenuBuilder.php | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/controller/installation.php b/src/controller/installation.php index 37d1c3b..d9ea849 100644 --- a/src/controller/installation.php +++ b/src/controller/installation.php | |||
@@ -107,12 +107,13 @@ function makeStartPage(EntityManager $entityManager){ | |||
107 | $facebook = new Image("facebook.svg", NULL, "assets/facebook.svg", "image/svg+xml", "facebook"); | 107 | $facebook = new Image("facebook.svg", NULL, "assets/facebook.svg", "image/svg+xml", "facebook"); |
108 | $instagram = new Image("instagram.svg", NULL, "assets/instagram.svg", "image/svg+xml", "instagram"); | 108 | $instagram = new Image("instagram.svg", NULL, "assets/instagram.svg", "image/svg+xml", "instagram"); |
109 | $linkedin = new Image("linkedin.svg", NULL, "assets/linkedin.svg", "image/svg+xml", "linkedin"); | 109 | $linkedin = new Image("linkedin.svg", NULL, "assets/linkedin.svg", "image/svg+xml", "linkedin"); |
110 | $github = new Image("github.svg", NULL, "assets/github.svg", "image/svg+xml", "github"); | ||
110 | $fond_piscine = new Image("fond-piscine.jpg", "assets/fond-piscine.jpg", NULL, "images/jpg", "fond-piscine"); | 111 | $fond_piscine = new Image("fond-piscine.jpg", "assets/fond-piscine.jpg", NULL, "images/jpg", "fond-piscine"); |
111 | 112 | ||
112 | /* -- table node_data -- */ | 113 | /* -- table node_data -- */ |
113 | // paramètres: data, node, images | 114 | // paramètres: data, node, images |
114 | $head_accueil_data = new NodeData(["description" => "Club, École de natation et Perfectionnement", "title" => "Les Nageurs Bigoudens"], $head_accueil, new ArrayCollection([$favicon])); | 115 | $head_accueil_data = new NodeData(["description" => "Club, École de natation et Perfectionnement", "title" => "Les Nageurs Bigoudens"], $head_accueil, new ArrayCollection([$favicon])); |
115 | $header_data = new NodeData(["description" => "Club, École de natation et Perfectionnement", "social" => ["title" => "Les Nageurs Bigoudens", "facebook_link" => "https://www.facebook.com/nageursbigoudens29120", "instagram_link" => "https://www.instagram.com/nageursbigoudens/"]], $header, new ArrayCollection([$logo, $facebook, $instagram, $linkedin, $fond_piscine])); | 116 | $header_data = new NodeData(["description" => "Club, École de natation et Perfectionnement", "social" => ["title" => "Les Nageurs Bigoudens", "facebook_link" => "https://www.facebook.com/nageursbigoudens29120", "instagram_link" => "https://www.instagram.com/nageursbigoudens/"]], $header, new ArrayCollection([$logo, $facebook, $instagram, $linkedin, $github, $fond_piscine])); |
116 | $footer_data = new NodeData(["adresse" => "17, rue Raymonde Folgoas Guillou, 29120 Pont-l’Abbé", "contact_nom" => "Les Nageurs Bigoudens", "e_mail" => "nb.secretariat@orange.fr", "logo_footer" => "assets/logo-nb-et-ffn.png"], $footer); | 117 | $footer_data = new NodeData(["adresse" => "17, rue Raymonde Folgoas Guillou, 29120 Pont-l’Abbé", "contact_nom" => "Les Nageurs Bigoudens", "e_mail" => "nb.secretariat@orange.fr", "logo_footer" => "assets/logo-nb-et-ffn.png"], $footer); |
117 | $head_login_data = new NodeData(["description" => "Connexion", "title" => "Connexion"], $head_login, new ArrayCollection([$favicon])); | 118 | $head_login_data = new NodeData(["description" => "Connexion", "title" => "Connexion"], $head_login, new ArrayCollection([$favicon])); |
118 | $head_article_data = new NodeData(["description" => "", "title" => ""], $head_article, new ArrayCollection([$favicon])); | 119 | $head_article_data = new NodeData(["description" => "", "title" => ""], $head_article, new ArrayCollection([$favicon])); |
diff --git a/src/view/MenuBuilder.php b/src/view/MenuBuilder.php index 3b96af1..9d4dda1 100644 --- a/src/view/MenuBuilder.php +++ b/src/view/MenuBuilder.php | |||
@@ -68,7 +68,7 @@ class MenuBuilder extends AbstractBuilder | |||
68 | <i class="url">' . $entry->getEndOfPath() . '</i> | 68 | <i class="url">' . $entry->getEndOfPath() . '</i> |
69 | <form style="display: inline;" id="delete-i' . $entry->getId() . '" method="post" action="' . new URL(['from' => 'menu_chemins']) . '"> | 69 | <form style="display: inline;" id="delete-i' . $entry->getId() . '" method="post" action="' . new URL(['from' => 'menu_chemins']) . '"> |
70 | <input type="hidden" name="delete" value="' . $entry->getId() . '"> | 70 | <input type="hidden" name="delete" value="' . $entry->getId() . '"> |
71 | <input type="image" class="move_entry_icon" src="assets/delete-bin.svg" alt="delete link button"> | 71 | <input type="image" class="move_entry_icon" src="assets/delete-bin.svg" alt="delete link button" onclick="return confirm(\'Voulez-vous vraiment supprimer cette entrée?\');"> |
72 | </form>'; | 72 | </form>'; |
73 | } | 73 | } |
74 | else{ | 74 | else{ |