From 26f88e043ebedcadd337011ce527f6148350f0dc Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Wed, 31 Oct 2018 15:28:37 +0100 Subject: homemade very root database engine --- w/view/templates/edit.php | 7 +++---- w/view/templates/edittopbar.php | 2 +- w/view/templates/read.php | 2 +- w/view/templates/readcreate.php | 4 +++- 4 files changed, 8 insertions(+), 7 deletions(-) (limited to 'w/view/templates') diff --git a/w/view/templates/edit.php b/w/view/templates/edit.php index 39c2104..4db6706 100644 --- a/w/view/templates/edit.php +++ b/w/view/templates/edit.php @@ -21,11 +21,10 @@
- - - insert('edittopbar', ['config' => $config, 'art' => $art]) ?> - insert('editsidebar', ['config' => $config, 'art' => $art]) ?> + + insert('edittopbar', ['art' => $art]) ?> + insert('editsidebar', ['art' => $art]) ?> diff --git a/w/view/templates/edittopbar.php b/w/view/templates/edittopbar.php index 7e7f9e8..ffd1c0f 100644 --- a/w/view/templates/edittopbar.php +++ b/w/view/templates/edittopbar.php @@ -4,7 +4,7 @@ 👁 - + id() ?> diff --git a/w/view/templates/read.php b/w/view/templates/read.php index 5c544b3..4964a47 100644 --- a/w/view/templates/read.php +++ b/w/view/templates/read.php @@ -1,4 +1,4 @@ -layout('layout', ['title' => $art->title()]) ?> +layout('layout', ['title' => $art->title(), 'description' => $art->description()]) ?> diff --git a/w/view/templates/readcreate.php b/w/view/templates/readcreate.php index fd5df18..dc36420 100644 --- a/w/view/templates/readcreate.php +++ b/w/view/templates/readcreate.php @@ -1,3 +1,5 @@ - + + +
\ No newline at end of file -- cgit v1.2.3