From: Alexander Ebert Date: Sun, 2 May 2021 10:00:12 +0000 (+0200) Subject: Simplify the domain and landing page management X-Git-Tag: 5.4.0_Alpha_1~11^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8bebe2e568bc8b8e7e108f64baf233cdb04cf2cd;p=GitHub%2FWoltLab%2FWCF.git Simplify the domain and landing page management --- 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} -
- - - - - - - - +{if $isMultiDomainSetup} +
{lang}wcf.acp.application.multiDomain{/lang}
+{/if} + + + {if !$isMultiDomainSetup} +
+

{lang}wcf.acp.application.management.domain{/lang}

+ + +
+
+
+ http(s):// + +
+ {if $errorField == 'domainName'} + + {if $errorType == 'empty'} + {lang}wcf.global.form.error.empty{/lang} + {else} + {lang}wcf.acp.application.management.domainName.error.{$errorType}{/lang} + {/if} + + {/if} + {lang}wcf.acp.application.management.domainName.description{/lang} +
+ + + +
+
+ + {if $errorField == 'cookieDomain'} + + {if $errorType == 'empty'} + {lang}wcf.global.form.error.empty{/lang} + {else} + {lang}wcf.acp.application.management.cookieDomain.error.{$errorType}{/lang} + {/if} + + {/if} + {lang}wcf.acp.application.management.cookieDomain.description{/lang} +
+ +
+ + + {/if} + +
+

{lang}wcf.acp.application.landingPage{/lang}

+ +
+
{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}
+ + + + + + + {event name='columnHeads'} + + - {event name='columnHeads'} - - - - - {foreach from=$applicationList item=application} - - - - - - - - - {event name='columns'} - - {/foreach} - -
{lang}wcf.global.objectID{/lang}{lang}wcf.acp.package.name{/lang}{lang}wcf.acp.application.landingPage{/lang}
{#$application->packageID}{$application->getPackage()}{$application->domainName}{$application->domainPath} - {if $application->landingPageID && $pageList[$application->landingPageID]|isset} - {$pageList[$application->landingPageID]} - {else} - {lang}wcf.global.noSelection{/lang} - {/if} -
-
+ + {foreach from=$applicationList item=application} + + {#$application->packageID} + +

{$application->getPackage()}

+ {$application->getPageURL()} + + + + + + {event name='columns'} + + {/foreach} + + + + + +
+ + {csrfToken} +
+