From e6e508b96fef0d7f3788f8312c29d81cfb96f89a Mon Sep 17 00:00:00 2001 From: Dasc3er Date: Fri, 19 Feb 2021 14:35:42 +0100 Subject: [PATCH] Correzione percorsi --- assets/src/css/style.css | 44 ++++++++++++++ include/top.php | 6 +- lib/functions.php | 4 +- src/AppLegacy.php | 12 ++-- src/Auth.php | 1 + src/Models/Setting.php | 105 ++++++++++++++++++++++++++++++++++ src/Modules.php | 1 + src/Permissions.php | 1 + src/Plugins.php | 1 + src/Settings.php | 1 + src/Traits/LocalPoolTrait.php | 34 ++++++++--- src/Uploads.php | 1 + src/Util/Generator.php | 4 +- 13 files changed, 195 insertions(+), 20 deletions(-) diff --git a/assets/src/css/style.css b/assets/src/css/style.css index c56406c04..0a59810f7 100755 --- a/assets/src/css/style.css +++ b/assets/src/css/style.css @@ -1083,6 +1083,50 @@ div.tip { opacity: 0.5; } +/* Porting da AdminLTE 3 */ +.bg-light { + background-color: #e8e9ea !important; +} + +a.bg-light:hover, a.bg-light:focus, +button.bg-light:hover, +button.bg-light:focus { + background-color: #dae0e5 !important; +} + +.brand-image { + float: left; + line-height: .8; + margin-left: .8rem; + margin-right: .5rem; + margin-top: -3px; + max-height: 33px; + width: auto; +} + +.brand-link { + display: block; + font-size: 1.25rem; + line-height: 1.5; + padding: .8125rem .5rem; + transition: width .3s ease-in-out; + white-space: nowrap +} + +.brand-link:hover { + color: #fff; + text-decoration: none +} + +.text-sm .brand-link { + font-size: inherit +} + +.brand-link { + border-bottom: 1px solid #4b545c; + color: rgba(255, 255, 255, .8) +} + /* Stile Fullcalendar per weekend */ .fc-sat, .fc-sun { background-color: rgba(255, 99, 71, 0.6) !important; diff --git a/include/top.php b/include/top.php index af9f0a3e5..d25ae0d5f 100755 --- a/include/top.php +++ b/include/top.php @@ -493,7 +493,7 @@ if (auth()->check()) { '; - if (string_contains($_SERVER['SCRIPT_FILENAME'], 'editor.php')) { + if (string_contains($_SERVER['REQUEST_URI'], 'editor.php')) { // Menu laterale per la visualizzazione dei plugin echo '