From be8cf51393dfb7a011fcbdcdf86f4c2bc6d783c0 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Thu, 12 Jul 2018 20:03:31 +0200 Subject: [PATCH] Session in admin area, improves in creation content --- bl-kernel/admin/themes/booty/init.php | 4 +- bl-kernel/admin/views/edit-content.php | 163 ++++++++++++++++--------- bl-kernel/admin/views/edit-user.php | 20 +++ bl-kernel/admin/views/new-content.php | 12 +- bl-kernel/boot/admin.php | 6 + bl-kernel/boot/init.php | 10 +- bl-kernel/page.class.php | 24 ++++ things-to-do | 5 +- 8 files changed, 173 insertions(+), 71 deletions(-) diff --git a/bl-kernel/admin/themes/booty/init.php b/bl-kernel/admin/themes/booty/init.php index a7b7518c..db5f1677 100644 --- a/bl-kernel/admin/themes/booty/init.php +++ b/bl-kernel/admin/themes/booty/init.php @@ -257,12 +257,14 @@ EOF; $type = $args['type']; } + $checked = $args['checked']?'checked':''; + return <<
- + $tip
diff --git a/bl-kernel/admin/views/edit-content.php b/bl-kernel/admin/views/edit-content.php index 6ac99fe3..064dc82e 100644 --- a/bl-kernel/admin/views/edit-content.php +++ b/bl-kernel/admin/views/edit-content.php @@ -1,3 +1,5 @@ + +
@@ -261,25 +300,25 @@ @@ -289,6 +328,9 @@