aboutsummaryrefslogtreecommitdiff
path: root/src/installation.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/installation.php')
-rw-r--r--src/installation.php30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/installation.php b/src/installation.php
index b251c43..0d68e7b 100644
--- a/src/installation.php
+++ b/src/installation.php
@@ -101,21 +101,21 @@ function makeStartPage(EntityManager $entityManager){
101 101
102 /* -- table node -- */ 102 /* -- table node -- */
103 // paramètres: name_node, article_timestamp, attributes, position, parent, page, article 103 // paramètres: name_node, article_timestamp, attributes, position, parent, page, article
104 $head_accueil = new Node('head', NULL, ['css_array' => ['body', 'head', 'nav', 'foot'], 'js_array' => ['main']], 1, NULL, $accueil, NULL); 104 $head_accueil = new Node('head', ['css_array' => ['body', 'head', 'nav', 'foot'], 'js_array' => ['main']], 1, NULL, $accueil, NULL);
105 $head_article = new Node('head', NULL, ['css_array' => ['body', 'head', 'nav', 'foot'], 'js_array' => ['main']], 1, NULL, $article, NULL); 105 $head_article = new Node('head', ['css_array' => ['body', 'head', 'nav', 'foot'], 'js_array' => ['main']], 1, NULL, $article, NULL);
106 $header = new Node('header', NULL, [], 2, NULL, NULL, NULL); 106 $header = new Node('header', [], 2, NULL, NULL, NULL);
107 $nav = new Node('nav', NULL, [], 1, $header, NULL, NULL); 107 $nav = new Node('nav', [], 1, $header, NULL, NULL);
108 $main = new Node('main', NULL, [], 3, NULL, NULL, NULL); 108 $main = new Node('main', [], 3, NULL, NULL, NULL);
109 $footer = new Node('footer', NULL, [], 4, NULL, NULL, NULL); 109 $footer = new Node('footer', [], 4, NULL, NULL, NULL);
110 $breadcrumb = new Node('breadcrumb', NULL, [], 2, $header, NULL, NULL); 110 $breadcrumb = new Node('breadcrumb', [], 2, $header, NULL, NULL);
111 $head_login = new Node('head', NULL, ["stop" => true, 'css_array' => ['body'], 'js_array' => ['main']], 1, NULL, $connection, NULL); 111 $head_login = new Node('head', ["stop" => true, 'css_array' => ['body'], 'js_array' => ['main']], 1, NULL, $connection, NULL);
112 $login = new Node('login', NULL, [], 1, $main, $connection, NULL); 112 $login = new Node('login', [], 1, $main, $connection, NULL);
113 $head_my_account = new Node('head', NULL, ["stop" => true, 'css_array' => ['body'], 'js_array' => ['main']], 1, NULL, $my_account, NULL); 113 $head_my_account = new Node('head', ["stop" => true, 'css_array' => ['body'], 'js_array' => ['main']], 1, NULL, $my_account, NULL);
114 $user_edit = new Node('user_edit', NULL, [], 1, $main, $my_account, NULL); 114 $user_edit = new Node('user_edit', [], 1, $main, $my_account, NULL);
115 $head_edit_menu = new Node('head', NULL, ['css_array' => ['body', 'head', 'nav', 'menu', 'foot'], 'js_array' => ['main', 'menu']], 1, NULL, $menu_paths, NULL); 115 $head_edit_menu = new Node('head', ['css_array' => ['body', 'head', 'nav', 'menu', 'foot'], 'js_array' => ['main', 'menu']], 1, NULL, $menu_paths, NULL);
116 $bloc_edit_menu = new Node('menu', NULL, [], 1, $main, $menu_paths, NULL); 116 $bloc_edit_menu = new Node('menu', [], 1, $main, $menu_paths, NULL);
117 $head_new_page = new Node('head', NULL, ['css_array' => ['body', 'head', 'nav', 'new_page', 'foot'], 'js_array' => ['main', 'new_page']], 1, NULL, $new_page, NULL); 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);
118 $bloc_new_page = new Node('new_page', NULL, [], 1, $main, $new_page, NULL); 118 $bloc_new_page = new Node('new_page', [], 1, $main, $new_page, NULL);
119 119
120 /* -- table presentation -- */ 120 /* -- table presentation -- */
121 $fullwidth = new Presentation('fullwidth'); 121 $fullwidth = new Presentation('fullwidth');