From 3f125edd085c61ac2187251a70ebf97bd8b2a419 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sat, 18 Jan 2025 20:04:58 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20(admin):=20improve=20about?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bl-kernel/admin/controllers/developers.php | 8 +++++--- bl-kernel/admin/views/about.php | 16 +++++++++------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/bl-kernel/admin/controllers/developers.php b/bl-kernel/admin/controllers/developers.php index f67f584a..45ebf524 100644 --- a/bl-kernel/admin/controllers/developers.php +++ b/bl-kernel/admin/controllers/developers.php @@ -12,15 +12,16 @@ checkRole(array('admin')); // This function is used on the VIEW to show the tables function printTable($title, $array) { - echo '

'.$title.'

'; - echo ' + echo '

'.$title.'

'; + echo '
'; + echo '
'; foreach ($array as $key=>$value) { if($value===false) { $value = 'false'; } elseif($value===true) { $value = 'true'; } - echo ''; + echo ''; echo ''; if (is_array($value)) { echo ''; @@ -33,6 +34,7 @@ function printTable($title, $array) { echo '
'.$key.''.json_encode($value).'
+ '; } diff --git a/bl-kernel/admin/views/about.php b/bl-kernel/admin/views/about.php index 0c8e27c3..e046adb2 100644 --- a/bl-kernel/admin/views/about.php +++ b/bl-kernel/admin/views/about.php @@ -3,36 +3,37 @@ echo Bootstrap::pageTitle(array('title'=>$L->g('About'), 'icon'=>'info-circle')); echo ' - +
+
'; -echo ''; +echo ''; echo ''; echo ''; echo ''; -echo ''; +echo ''; echo ''; echo ''; echo ''; -echo ''; +echo ''; echo ''; echo ''; echo ''; -echo ''; +echo ''; echo ''; echo ''; echo ''; -echo ''; +echo ''; echo ''; echo ''; echo ''; -echo ''; +echo ''; echo ''; echo ''; echo ''; @@ -40,4 +41,5 @@ echo ''; echo '
EngineKOBLOG
Koblog Version'.KOBLOG_VERSION.'
Koblog Codename'.KOBLOG_CODENAME.'
Koblog Build Number'.KOBLOG_BUILD.'
Disk usage'.Filesystem::bytesToHumanFileSize(Filesystem::getSize(PATH_ROOT)).'
Koblog Developers
+ ';