From 3fa5a420c2ea5e31a00d0e98630781c7c7026250 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Wed, 24 Apr 2019 00:11:36 +0200 Subject: [PATCH] UI improves --- bl-kernel/admin/themes/booty/html/media.php | 6 +++--- bl-kernel/admin/views/content.php | 12 ++++++------ bl-kernel/users.class.php | 3 ++- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/bl-kernel/admin/themes/booty/html/media.php b/bl-kernel/admin/themes/booty/html/media.php index b0ed1a9d..f40dcd63 100644 --- a/bl-kernel/admin/themes/booty/html/media.php +++ b/bl-kernel/admin/themes/booty/html/media.php @@ -113,9 +113,9 @@ function displayFiles(files) { ''+ '
'+filename+'<\/div>'+ '
'+ - ' p('Insert') ?><\/a>'+ - ' p('Set as cover image') ?><\/button>'+ - ' p('Delete') ?><\/a>'+ + 'p('Insert') ?><\/a>'+ + 'p('Set as cover image') ?><\/button>'+ + 'p('Delete') ?><\/a>'+ '<\/div>'+ '<\/td>'+ '<\/tr>'; diff --git a/bl-kernel/admin/views/content.php b/bl-kernel/admin/views/content.php index 2e69283f..2bfd98ad 100644 --- a/bl-kernel/admin/views/content.php +++ b/bl-kernel/admin/views/content.php @@ -86,9 +86,9 @@ function table($type) { echo ''.$friendlyURL.''; echo ''.PHP_EOL; - echo ' '.$L->g('Edit').''.PHP_EOL; + echo ''.$L->g('Edit').''.PHP_EOL; if (count($page->children())==0) { - echo ''.PHP_EOL; + echo ''.$L->g('Delete').''.PHP_EOL; } echo ''; @@ -112,8 +112,8 @@ function table($type) { echo ''.$friendlyURL.''; echo ''.PHP_EOL; - echo ' '.$L->g('Edit').''.PHP_EOL; - echo ''.PHP_EOL; + echo ''.$L->g('Edit').''.PHP_EOL; + echo ''.$L->g('Delete').''.PHP_EOL; echo ''; echo ''; @@ -144,9 +144,9 @@ function table($type) { echo ''.$friendlyURL.''; echo ''.PHP_EOL; - echo ' '.$L->g('Edit').''.PHP_EOL; + echo ''.$L->g('Edit').''.PHP_EOL; if (count($page->children())==0) { - echo ''.PHP_EOL; + echo ''.$L->g('Delete').''.PHP_EOL; } echo ''; diff --git a/bl-kernel/users.class.php b/bl-kernel/users.class.php index 626bf702..f9eb16df 100644 --- a/bl-kernel/users.class.php +++ b/bl-kernel/users.class.php @@ -6,7 +6,8 @@ class Users extends dbJSON { 'firstName'=>'', 'lastName'=>'', 'nickname'=>'', - 'role'=>'editor', // admin, editor, writer + 'description'=>'', + 'role'=>'editor', // admin, editor 'password'=>'', 'salt'=>'!Pink Floyd!Welcome to the machine!', 'email'=>'',