From: Alexander Ebert Date: Fri, 8 Sep 2023 11:20:44 +0000 (+0200) Subject: Improve the navigation between `License` and `LicenseEdit` X-Git-Tag: 6.0.0_RC_1~51 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d674ee8de9d98f74d23baf62a0242f81164024d8;p=GitHub%2FWoltLab%2FWCF.git Improve the navigation between `License` and `LicenseEdit` --- diff --git a/wcfsetup/install/files/acp/templates/licenseEdit.tpl b/wcfsetup/install/files/acp/templates/licenseEdit.tpl index 335f2a5ad1..11721289ab 100644 --- a/wcfsetup/install/files/acp/templates/licenseEdit.tpl +++ b/wcfsetup/install/files/acp/templates/licenseEdit.tpl @@ -4,6 +4,25 @@

{lang}wcf.acp.license.edit{/lang}

+ + {hascontent} + + {/hascontent} {@$form->getHtml()} diff --git a/wcfsetup/install/files/lib/acp/form/LicenseEditForm.class.php b/wcfsetup/install/files/lib/acp/form/LicenseEditForm.class.php index 02f1a376da..987f7fa7c9 100644 --- a/wcfsetup/install/files/lib/acp/form/LicenseEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/LicenseEditForm.class.php @@ -258,16 +258,4 @@ final class LicenseEditForm extends AbstractFormBuilderForm return new RedirectResponse($this->url); } } - - /** - * @inheritDoc - */ - public function assignVariables() - { - parent::assignVariables(); - - WCF::getTPL()->assign([ - 'url' => $this->url, - ]); - } }