diff options
author | polo <ordipolo@gmx.fr> | 2025-09-01 18:52:17 +0200 |
---|---|---|
committer | polo <ordipolo@gmx.fr> | 2025-09-01 18:52:17 +0200 |
commit | f477314613beb26b0ce4c61ec0b1900df1de1cb1 (patch) | |
tree | d41ace78a572a11887e7cfa2611c3f02fb04e51c /src/installation.php | |
parent | e642cd51d7e8599537f8514bef8d5d16096dddf8 (diff) | |
download | cms-f477314613beb26b0ce4c61ec0b1900df1de1cb1.zip |
renommage des présentations,modif présentation des blocs et largeur min (donc nb de colonnes) en mode grid, corrections de bugs et erreurs 404, le param page_modif n'est plus une action, légère symfonyfication du routeur
Diffstat (limited to 'src/installation.php')
-rw-r--r-- | src/installation.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/installation.php b/src/installation.php index dd3aa35..b251c43 100644 --- a/src/installation.php +++ b/src/installation.php | |||
@@ -118,8 +118,10 @@ function makeStartPage(EntityManager $entityManager){ | |||
118 | $bloc_new_page = new Node('new_page', NULL, [], 1, $main, $new_page, NULL); | 118 | $bloc_new_page = new Node('new_page', NULL, [], 1, $main, $new_page, NULL); |
119 | 119 | ||
120 | /* -- table presentation -- */ | 120 | /* -- table presentation -- */ |
121 | $list = new Presentation('list'); | 121 | $fullwidth = new Presentation('fullwidth'); |
122 | $grid = new Presentation('grid'); | 122 | $grid = new Presentation('grid'); |
123 | $mosaic = new Presentation('mosaic'); | ||
124 | $carousel = new Presentation('carousel'); | ||
123 | 125 | ||
124 | /* -- table image -- */ | 126 | /* -- table image -- */ |
125 | // paramètres: file_name, file_path, file_path_mini, mime_type, alt | 127 | // paramètres: file_name, file_path, file_path_mini, mime_type, alt |
@@ -169,8 +171,10 @@ function makeStartPage(EntityManager $entityManager){ | |||
169 | $entityManager->persist($bloc_new_page); | 171 | $entityManager->persist($bloc_new_page); |
170 | 172 | ||
171 | /* -- table presentation -- */ | 173 | /* -- table presentation -- */ |
172 | $entityManager->persist($list); | 174 | $entityManager->persist($fullwidth); |
173 | $entityManager->persist($grid); | 175 | $entityManager->persist($grid); |
176 | $entityManager->persist($mosaic); | ||
177 | $entityManager->persist($carousel); | ||
174 | 178 | ||
175 | /* -- table image -- */ | 179 | /* -- table image -- */ |
176 | $entityManager->persist($favicon); | 180 | $entityManager->persist($favicon); |