diff options
Diffstat (limited to 'src/installation.php')
| -rw-r--r-- | src/installation.php | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/installation.php b/src/installation.php index 0d68e7b..452df60 100644 --- a/src/installation.php +++ b/src/installation.php | |||
| @@ -7,7 +7,6 @@ use App\Entity\Page; | |||
| 7 | use App\Entity\Node; | 7 | use App\Entity\Node; |
| 8 | use App\Entity\NodeData; | 8 | use App\Entity\NodeData; |
| 9 | use App\Entity\Image; | 9 | use App\Entity\Image; |
| 10 | use App\Entity\Presentation; | ||
| 11 | use Doctrine\Common\Collections\ArrayCollection; | 10 | use Doctrine\Common\Collections\ArrayCollection; |
| 12 | use Doctrine\ORM\EntityManager; | 11 | use Doctrine\ORM\EntityManager; |
| 13 | 12 | ||
| @@ -117,12 +116,6 @@ function makeStartPage(EntityManager $entityManager){ | |||
| 117 | $head_new_page = new Node('head', ['css_array' => ['body', 'head', 'nav', 'new_page', 'foot'], 'js_array' => ['main', 'new_page']], 1, NULL, $new_page, NULL); | 116 | $head_new_page = new Node('head', ['css_array' => ['body', 'head', 'nav', 'new_page', 'foot'], 'js_array' => ['main', 'new_page']], 1, NULL, $new_page, NULL); |
| 118 | $bloc_new_page = new Node('new_page', [], 1, $main, $new_page, NULL); | 117 | $bloc_new_page = new Node('new_page', [], 1, $main, $new_page, NULL); |
| 119 | 118 | ||
| 120 | /* -- table presentation -- */ | ||
| 121 | $fullwidth = new Presentation('fullwidth'); | ||
| 122 | $grid = new Presentation('grid'); | ||
| 123 | $mosaic = new Presentation('mosaic'); | ||
| 124 | $carousel = new Presentation('carousel'); | ||
| 125 | |||
| 126 | /* -- table image -- */ | 119 | /* -- table image -- */ |
| 127 | // paramètres: file_name, file_path, file_path_mini, mime_type, alt | 120 | // paramètres: file_name, file_path, file_path_mini, mime_type, alt |
| 128 | $favicon = new Image("favicon48x48.png", NULL, "assets/favicon48x48.png", "image/png", "favicon"); | 121 | $favicon = new Image("favicon48x48.png", NULL, "assets/favicon48x48.png", "image/png", "favicon"); |
| @@ -169,12 +162,6 @@ function makeStartPage(EntityManager $entityManager){ | |||
| 169 | $entityManager->persist($bloc_edit_menu); | 162 | $entityManager->persist($bloc_edit_menu); |
| 170 | $entityManager->persist($head_new_page); | 163 | $entityManager->persist($head_new_page); |
| 171 | $entityManager->persist($bloc_new_page); | 164 | $entityManager->persist($bloc_new_page); |
| 172 | |||
| 173 | /* -- table presentation -- */ | ||
| 174 | $entityManager->persist($fullwidth); | ||
| 175 | $entityManager->persist($grid); | ||
| 176 | $entityManager->persist($mosaic); | ||
| 177 | $entityManager->persist($carousel); | ||
| 178 | 165 | ||
| 179 | /* -- table image -- */ | 166 | /* -- table image -- */ |
| 180 | $entityManager->persist($favicon); | 167 | $entityManager->persist($favicon); |
