From e17392e46259e6f2e012017987cf7c31c171488f Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Sun, 28 Oct 2018 19:56:27 +0100 Subject: abstract config NWY --- w/view/templates/edit.php | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 w/view/templates/edit.php (limited to 'w/view/templates/edit.php') diff --git a/w/view/templates/edit.php b/w/view/templates/edit.php new file mode 100644 index 0000000..39c2104 --- /dev/null +++ b/w/view/templates/edit.php @@ -0,0 +1,47 @@ +layout('layout', ['title' => '✏ '.$art->title()]) ?> + + + + + +start('customhead') ?> + +stop() ?> + + + + + + +start('page') ?> + + + + insert('navart', ['user' => $user, 'art' => $art, 'artexist' => $artexist]) ?> + + +
+ + + + insert('edittopbar', ['config' => $config, 'art' => $art]) ?> + insert('editsidebar', ['config' => $config, 'art' => $art]) ?> + + + + + $art->md(), 'css' => $art->css(), 'header' => $art->header(), 'nav' => $art->nav(), 'aside' => $art->aside(), 'footer' => $art->footer(), 'html' => $art->html(), 'javascript' => $art->javascript()]; + $this->insert('edittabs', ['tablist' => $tablist, 'opentab' => $art->interface()]) + ?> + + + + + + +
+ + + +stop() ?> \ No newline at end of file -- cgit v1.2.3