From 39de732f3b2ed721f79b3d220ad56b3a0c1c6c3d Mon Sep 17 00:00:00 2001 From: dignajar Date: Tue, 29 Dec 2020 18:53:06 +0100 Subject: [PATCH] port to Bootstrap v5 modals and change icons --- bl-kernel/admin/themes/booty/html/media.php | 8 +- bl-kernel/admin/themes/booty/html/sidebar.php | 6 +- bl-kernel/admin/views/about.php | 2 +- bl-kernel/admin/views/content.php | 24 +- bl-kernel/admin/views/dashboard.php | 20 +- bl-kernel/admin/views/edit-content.php | 12 +- bl-kernel/admin/views/edit-user.php | 4 +- bl-kernel/admin/views/new-content.php | 237 +++++++++--------- .../admin/views/new-content_collapse.php | 22 +- bl-kernel/admin/views/plugins-position.php | 2 +- bl-kernel/admin/views/settings copy.php | 10 +- bl-kernel/admin/views/settings.php | 22 +- bl-kernel/helpers/bootstrap.class.php | 18 +- bl-plugins/backup/plugin.php | 10 +- bl-plugins/easymde/js/easymde.min.js | 2 +- bl-plugins/easymde/plugin.php | 2 +- bl-plugins/version/plugin.php | 4 +- bl-themes/alternative/php/navbar.php | 2 +- bl-themes/blogx/php/navbar.php | 2 +- 19 files changed, 204 insertions(+), 205 deletions(-) diff --git a/bl-kernel/admin/themes/booty/html/media.php b/bl-kernel/admin/themes/booty/html/media.php index 19a0ea12..ae9f1f9f 100644 --- a/bl-kernel/admin/themes/booty/html/media.php +++ b/bl-kernel/admin/themes/booty/html/media.php @@ -23,7 +23,7 @@ $numberOfPages = count($listOfFilesByPage); -

p('Images'); ?>

+

p('Images'); ?>

@@ -107,9 +107,9 @@ function displayFiles(files, numberOfPages = ) { ''+ '
'+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/themes/booty/html/sidebar.php b/bl-kernel/admin/themes/booty/html/sidebar.php index b39a0e8f..05f57016 100644 --- a/bl-kernel/admin/themes/booty/html/sidebar.php +++ b/bl-kernel/admin/themes/booty/html/sidebar.php @@ -22,10 +22,10 @@ @@ -87,6 +87,6 @@ diff --git a/bl-kernel/admin/views/about.php b/bl-kernel/admin/views/about.php index 61ea5c75..e55b2348 100644 --- a/bl-kernel/admin/views/about.php +++ b/bl-kernel/admin/views/about.php @@ -10,7 +10,7 @@ echo ' echo ''; echo 'Bludit Edition'; if (defined('BLUDIT_PRO')) { - echo 'PRO - '.$L->g('Thanks for supporting Bludit').' '; + echo 'PRO - '.$L->g('Thanks for supporting Bludit').' '; } else { echo 'Standard - '.$L->g('Upgrade to Bludit PRO').''; } diff --git a/bl-kernel/admin/views/content.php b/bl-kernel/admin/views/content.php index 5172f6c0..40ae9ac0 100644 --- a/bl-kernel/admin/views/content.php +++ b/bl-kernel/admin/views/content.php @@ -81,10 +81,10 @@ function table($type) { } echo ''.PHP_EOL; - echo ''.$L->g('View').''.PHP_EOL; - echo ''.$L->g('Edit').''.PHP_EOL; + echo ''.$L->g('View').''.PHP_EOL; + echo ''.$L->g('Edit').''.PHP_EOL; if (count($page->children())==0) { - echo ''.$L->g('Delete').''.PHP_EOL; + echo ''.$L->g('Delete').''.PHP_EOL; } echo ''; @@ -111,10 +111,10 @@ function table($type) { echo ''.PHP_EOL; if ($type=='published' || $type=='static' || $type=='sticky') { - echo ''.$L->g('View').''.PHP_EOL; + echo ''.$L->g('View').''.PHP_EOL; } - echo ''.$L->g('Edit').''.PHP_EOL; - echo ''.$L->g('Delete').''.PHP_EOL; + echo ''.$L->g('Edit').''.PHP_EOL; + echo ''.$L->g('Delete').''.PHP_EOL; echo ''; echo ''; @@ -145,11 +145,11 @@ function table($type) { echo ''.PHP_EOL; if ($type=='published' || $type=='static' || $type=='sticky') { - echo ''.$L->g('View').''.PHP_EOL; + echo ''.$L->g('View').''.PHP_EOL; } - echo ''.$L->g('Edit').''.PHP_EOL; + echo ''.$L->g('Edit').''.PHP_EOL; if (count($page->children())==0) { - echo ''.$L->g('Delete').''.PHP_EOL; + echo ''.$L->g('Delete').''.PHP_EOL; } echo ''; @@ -169,7 +169,7 @@ function table($type) { ?> -