From 76ecb7d978c0fe182d2a70b2b2c7ba37620c5bcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=BCnther?= Date: Tue, 5 Mar 2024 22:59:15 +0100 Subject: [PATCH] new navigation tree desing optimization language fixes --- Makefile | 4 +- assets/wordpress-bdp.css | 12 ++++-- bdp-kompass.php | 4 +- changelog | 16 ++++++++ includes/frontend-functions.php | 37 +++++++++---------- includes/pre_requires.php | 3 +- includes/setup.php | 2 +- info.json | 17 --------- info2.json | 17 --------- .../Controllers/OptionsPage.php | 9 +++-- .../includes/gui_elements.php | 2 + modules/security/classes/Security.class.php | 5 ++- 12 files changed, 61 insertions(+), 67 deletions(-) delete mode 100644 info.json delete mode 100644 info2.json diff --git a/Makefile b/Makefile index 2762041..3771d25 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ deploy: bdp-kompass.php + msgfmt lang/bdp-kompass_de_DE.po -olang/bdp-kompass-de_DE.mo @php ./.deployment/create_info_json.php $(version) mkdir -p ./.deployment/bdp-kompass/bdp-kompass cp -r * ./.deployment/bdp-kompass/bdp-kompass @@ -9,4 +10,5 @@ deploy: bdp-kompass.php cd ./.deployment/bdp-kompass/ && zip -qr ./bdp-kompass-$(version).zip ./bdp-kompass/ lftp -e "put -O / ./.deployment/bdp-kompass/bdp-kompass-$(version).zip; bye" -u "lv-sachsen-main_ftp3,sE&xDXc8za#S" bdp.mein-verein.online rm -rf ./.deployment/bdp-kompass/ - rm -rf ./.deployment/info.json/ \ No newline at end of file + rm -rf ./.deployment/info.json/ + rm -rf ./info.json \ No newline at end of file diff --git a/assets/wordpress-bdp.css b/assets/wordpress-bdp.css index ab97f67..f6f98bf 100644 --- a/assets/wordpress-bdp.css +++ b/assets/wordpress-bdp.css @@ -51,10 +51,13 @@ body { #wpfooter { padding-left: 150px; } + +#wpbody { + padding-right: 40px; +} #wpbody-content { background-color: #ffffff; - width: 95%; - padding-left: 50px; + padding-left: 20px; box-shadow: 10px 10px 10px #c0c0c0; border-radius: 10px; border-width: 1px; @@ -349,7 +352,7 @@ ul#adminmenu > li.current > a.current:after { .bdp_setting_box { - width: 100%; + margin-right: 10px; background-color: #ffffff; padding: 15px; border-style: solid; @@ -374,7 +377,8 @@ ul#adminmenu > li.current > a.current:after { @media (max-width: 720px) { #wpbody { - padding-right: 0px; + padding-top: 60px; + padding-right: 40px !important; padding-left: 0px; } diff --git a/bdp-kompass.php b/bdp-kompass.php index c5fb4a3..7dedf6f 100644 --- a/bdp-kompass.php +++ b/bdp-kompass.php @@ -2,7 +2,7 @@ /** * Plugin Name: BdP Kompass * Description: Wordpress-Plugin zur Unterstützung von Stämmen im Bund der Pfadfinderinnen und Pfadfinder e.V. zur optimalen Verwaltung eurer Webseite - * Version: 4.3.1 + * Version: 4.3.5 * Tags: bdp, utility, helper * Requires at least: 6.0 * Requires PHP: 8.2 @@ -24,6 +24,7 @@ function bdp_plugin_install() { function bdp_plugin_init() { + bdp_kompass_load_plugin_textdomain(); Security::ProhibitBots(); Security::SetPageFilters(); @@ -38,6 +39,7 @@ function bdp_plugin_init() { } add_action('admin_menu', function () { + bdp_kompass_load_plugin_textdomain(); new OptionsPageAlias(); }); diff --git a/changelog b/changelog index 6bff3af..3dce1e4 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,19 @@ +

Version 4.3.5

+ + + +

Version 4.3.4

+ + +

Version 4.3.3

+ +

Version 4.3.2