From b35172b28630b546235b0a6cba0b50afbe1d36f1 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Wed, 25 Sep 2019 20:18:36 +0200 Subject: [PATCH] Open current tab after refresh page --- bl-kernel/admin/themes/booty/css/bludit.css | 2 -- bl-kernel/admin/themes/booty/index.php | 29 +++++++++------------ bl-kernel/admin/themes/booty/init.php | 2 +- bl-kernel/admin/views/edit-user.php | 17 +++++++++++- bl-kernel/admin/views/new-content.php | 3 +++ 5 files changed, 33 insertions(+), 20 deletions(-) diff --git a/bl-kernel/admin/themes/booty/css/bludit.css b/bl-kernel/admin/themes/booty/css/bludit.css index 8b79cb37..31a51fc8 100644 --- a/bl-kernel/admin/themes/booty/css/bludit.css +++ b/bl-kernel/admin/themes/booty/css/bludit.css @@ -57,8 +57,6 @@ div.sidebar .nav-item h4 { padding-top: 2px; } - - /* BOOTSTRAP Hacks */ diff --git a/bl-kernel/admin/themes/booty/index.php b/bl-kernel/admin/themes/booty/index.php index 04122023..cf34121f 100644 --- a/bl-kernel/admin/themes/booty/index.php +++ b/bl-kernel/admin/themes/booty/index.php @@ -12,25 +12,29 @@ @@ -48,10 +52,6 @@ include(PATH_CORE_JS.'variables.php'); echo ''.PHP_EOL; - echo ''.PHP_EOL; - echo ''.PHP_EOL; @@ -89,11 +89,8 @@ - - - - + \ No newline at end of file diff --git a/bl-kernel/admin/themes/booty/init.php b/bl-kernel/admin/themes/booty/init.php index 80aeb2c0..77b1ffa1 100644 --- a/bl-kernel/admin/themes/booty/init.php +++ b/bl-kernel/admin/themes/booty/init.php @@ -180,7 +180,7 @@ EOF; $html = '
'; - if (isset($args['label'])) { + if (!empty($args['label'])) { $html .= ''; } diff --git a/bl-kernel/admin/views/edit-user.php b/bl-kernel/admin/views/edit-user.php index b373a029..cff399cf 100644 --- a/bl-kernel/admin/views/edit-user.php +++ b/bl-kernel/admin/views/edit-user.php @@ -272,4 +272,19 @@
- \ No newline at end of file + + + \ No newline at end of file diff --git a/bl-kernel/admin/views/new-content.php b/bl-kernel/admin/views/new-content.php index 83c727d9..6a5c0ecd 100644 --- a/bl-kernel/admin/views/new-content.php +++ b/bl-kernel/admin/views/new-content.php @@ -213,8 +213,10 @@ echo Bootstrap::formOpen(array( 'disabled'=>true )); ?> +