From d276a9c12bb905442957499eba3541f991e5361b Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 11 Apr 2025 19:38:01 +0200 Subject: [PATCH] wait #7480 @1 --- .docker/dev/docker-compose.yml | 4 +- .idea/workspace.xml | 71 ++++++----- framework/application/configs/application.ini | 6 +- .../views/scripts/common/footer.phtml | 38 +++--- framework/library/CubeIT/Bootstrap/Locale.php | 27 ++++ .../library/CubeIT/Bootstrap/Navigation.php | 6 +- .../CubeIT/Controller/SeoController.php | 120 ++++++++++-------- framework/library/CubeIT/Util/Locale.php | 3 + 8 files changed, 166 insertions(+), 109 deletions(-) diff --git a/.docker/dev/docker-compose.yml b/.docker/dev/docker-compose.yml index cbf6223..19d8533 100644 --- a/.docker/dev/docker-compose.yml +++ b/.docker/dev/docker-compose.yml @@ -9,8 +9,8 @@ services: - './www/:/application/' - './config/httpd/httpd.conf:/usr/local/apache2/conf/httpd.conf' environment: - VIRTUAL_HOST: dev.fluidbook.com,en.dev.fluidbook.com,dev.elearning.fluidbook.com - LETSENCRYPT_HOST: dev.fluidbook.com,en.dev.fluidbook.com,dev.elearning.fluidbook.com + VIRTUAL_HOST: dev.fluidbook.com,en.dev.fluidbook.com,dev.elearning.fluidbook.com,fr.dev.elearning.fluidbook.com + LETSENCRYPT_HOST: dev.fluidbook.com,en.dev.fluidbook.com,dev.elearning.fluidbook.com,fr.dev.elearning.fluidbook.com networks: - fluidbook-v3-dev - nginxproxy diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 812d484..7e59b8d 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,13 +5,14 @@ - - - - + + + + + - { + "keyToString": { + "RunOnceActivity.OpenProjectViewOnStart": "true", + "RunOnceActivity.ShowReadmeOnStart": "true", + "RunOnceActivity.git.unshallow": "true", + "WebServerToolWindowFactoryState": "true", + "WebServerToolWindowPanel.toolwindow.highlight.mappings": "true", + "WebServerToolWindowPanel.toolwindow.highlight.symlinks": "true", + "WebServerToolWindowPanel.toolwindow.show.date": "false", + "WebServerToolWindowPanel.toolwindow.show.permissions": "false", + "WebServerToolWindowPanel.toolwindow.show.size": "false", + "git-widget-placeholder": "master", + "ignore.virus.scanning.warn.message": "true", + "kotlin-language-version-configured": "true", + "last_opened_file_path": "D:/Works/FluidbookWebV3/.docker", + "node.js.detected.package.eslint": "true", + "node.js.detected.package.tslint": "true", + "node.js.selected.package.eslint": "(autodetect)", + "node.js.selected.package.tslint": "(autodetect)", + "nodejs_package_manager_path": "npm", + "project.structure.last.edited": "Project", + "project.structure.proportion": "0.0", + "project.structure.side.proportion": "0.2", + "ruby.rails.projectView.checked": "true", + "settings.editor.selected.configurable": "project.propVCSSupport.DirectoryMappings", + "vue.rearranger.settings.migration": "true" } -}]]> +} @@ -851,6 +852,9 @@ + + + 1494411210038 @@ -1263,6 +1267,11 @@ 338 diff --git a/framework/application/configs/application.ini b/framework/application/configs/application.ini index 59e5215..d0b1aaf 100644 --- a/framework/application/configs/application.ini +++ b/framework/application/configs/application.ini @@ -57,7 +57,7 @@ privacy.analytics = 1 [learning : production] -dev=false +dev = false seo.robots = false @@ -65,11 +65,12 @@ webhost = elearning.fluidbook.com locales.en = elearning.fluidbook.com locales.fr = fr.elearning.fluidbook.com +locales.ignore[] = fr database.params.dbname = fluidbook-v3-elearning [testing-learning : learning] -dev=false +dev = false seo.robots = false @@ -83,6 +84,7 @@ webhost = dev.elearning.fluidbook.com locales.en = dev.elearning.fluidbook.com locales.fr = fr.dev.elearning.fluidbook.com + database.params.dbname = fluidbook-v3-elearning database.params.host = fluidbook-v3-dev-mariadb diff --git a/framework/application/views/scripts/common/footer.phtml b/framework/application/views/scripts/common/footer.phtml index f3bd87c..2df8e18 100644 --- a/framework/application/views/scripts/common/footer.phtml +++ b/framework/application/views/scripts/common/footer.phtml @@ -68,21 +68,21 @@ foreach ($this->option('social_networks') as $social) { if (!file_exists($SVG_file)) continue; $SVG = file_get_contents(PUBLIC_PATH . CubeIT_View_Helper_ImageCms::getPath($social['icon'])); - $res .= ''; - $res .= $this->link($SVG, $social['url'], ['id' => 's-' . $social_ID, - 'title' => $social['title'], - 'class' => 'social-link', - 'itemprop' => 'sameAs', - 'target' => '_blank', - 'rel' => 'noopener', - 'data-event' => [ - 'category' => 'social', - 'action' => 'go', - 'label' => $social['title'] - ] - ]); + $res .= ''; + $res .= $this->link($SVG, $social['url'], ['id' => 's-' . $social_ID, + 'title' => $social['title'], + 'class' => 'social-link', + 'itemprop' => 'sameAs', + 'target' => '_blank', + 'rel' => 'noopener', + 'data-event' => [ + 'category' => 'social', + 'action' => 'go', + 'label' => $social['title'] + ] + ]); } $res .= ''; // .footer-external @@ -98,9 +98,11 @@ $res .= ''; $res .= '