From 8bebe2e568bc8b8e7e108f64baf233cdb04cf2cd Mon Sep 17 00:00:00 2001
From: Alexander Ebert
Date: Sun, 2 May 2021 12:00:12 +0200
Subject: [PATCH] Simplify the domain and landing page management
---
.../acp/templates/applicationManagement.tpl | 144 ++++++++---
.../acp/form/ApplicationEditForm.class.php | 5 +
.../form/ApplicationManagementForm.class.php | 231 ++++++++++++++++++
.../page/ApplicationManagementPage.class.php | 62 -----
.../application/ApplicationHandler.class.php | 1 +
wcfsetup/install/lang/de.xml | 14 ++
wcfsetup/install/lang/en.xml | 14 ++
7 files changed, 374 insertions(+), 97 deletions(-)
create mode 100644 wcfsetup/install/files/lib/acp/form/ApplicationManagementForm.class.php
delete mode 100644 wcfsetup/install/files/lib/acp/page/ApplicationManagementPage.class.php
diff --git a/wcfsetup/install/files/acp/templates/applicationManagement.tpl b/wcfsetup/install/files/acp/templates/applicationManagement.tpl
index 7bac0ef6ee..87e4e41a7e 100644
--- a/wcfsetup/install/files/acp/templates/applicationManagement.tpl
+++ b/wcfsetup/install/files/acp/templates/applicationManagement.tpl
@@ -14,42 +14,116 @@
{/hascontent}
-
-
-
-
- {lang}wcf.global.objectID{/lang}
- {lang}wcf.acp.package.name{/lang}
- {lang}wcf.acp.application.domainName{/lang}
- {lang}wcf.acp.application.domainPath{/lang}
- {lang}wcf.acp.application.landingPage{/lang}
+{if $isMultiDomainSetup}
+ {lang}wcf.acp.application.multiDomain{/lang}
+{/if}
+
+
+
+
+
+
+
+ {csrfToken}
+
+
+
+Es wird dringend empfohlen die Apps auf eine gemeinsame Domain zu verschieben, bitte passen Sie dazu die Domain- und Pfadkonfiguration der installierten Apps an:
+]]>
+
+
+
+
+
diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml
index cc671d9f2b..3c70f94f22 100644
--- a/wcfsetup/install/lang/en.xml
+++ b/wcfsetup/install/lang/en.xml
@@ -73,8 +73,22 @@
- packageID}{/link}">{$application->getPackage()->getName()}â]]>
+
+ - The support for setups with multiple domains is discontinued.
+
+It is strongly recommended to consolidate all apps on a shared domain, please adjust the domain and path settings for these apps:
+]]>
+
+
+
+
+
--
2.20.1