From: Matthias Schmidt Date: Sat, 5 Oct 2019 14:35:36 +0000 (+0200) Subject: Add IFormField::getFieldHtml() X-Git-Tag: 5.2.0_Beta_2~7 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e9154428f7f114cf29d20cf5746914f14e58e9d2;p=GitHub%2FWoltLab%2FWCF.git Add IFormField::getFieldHtml() Close #3085 --- diff --git a/com.woltlab.wcf/templates/__aclFormField.tpl b/com.woltlab.wcf/templates/__aclFormField.tpl index 16b053dcbc..033074374b 100644 --- a/com.woltlab.wcf/templates/__aclFormField.tpl +++ b/com.woltlab.wcf/templates/__aclFormField.tpl @@ -1,9 +1,5 @@ -{include file='__formFieldHeader'} - {if $includeAclJavaScript} {include file='aclPermissions'} {/if} {include file='aclPermissionJavaScript' containerID=$field->getPrefixedId()|concat:'Container' categoryName=$field->getCategoryName() objectID=$field->getObjectID() objectTypeID=$field->getObjectType()->objectTypeID} - -{include file='__formFieldFooter'} diff --git a/com.woltlab.wcf/templates/__booleanFormField.tpl b/com.woltlab.wcf/templates/__booleanFormField.tpl index da10fb6550..af28e8e821 100644 --- a/com.woltlab.wcf/templates/__booleanFormField.tpl +++ b/com.woltlab.wcf/templates/__booleanFormField.tpl @@ -1,5 +1,3 @@ -{include file='__formFieldHeader'} -
  1. isAutofocused()} autofocus{/if}{if $field->isRequired()} required{/if}{if $field->isImmutable()} disabled{/if}{if $field->getValue()} checked{/if}> @@ -10,5 +8,3 @@
- -{include file='__formFieldFooter'} diff --git a/com.woltlab.wcf/templates/__contentLanguageFormField.tpl b/com.woltlab.wcf/templates/__contentLanguageFormField.tpl index f26a83a1a2..ff0b8e3db7 100644 --- a/com.woltlab.wcf/templates/__contentLanguageFormField.tpl +++ b/com.woltlab.wcf/templates/__contentLanguageFormField.tpl @@ -1,5 +1,3 @@ -{include file='__formFieldHeader'} -