*}>
{@$field->getLabel()}{if $field->isRequired()} <span class="formFieldRequired">*</span>{/if}
</label>
-
- {include file='__formFieldDescription'}
- {include file='__formFieldErrors'}
- {include file='__formFieldDependencies'}
- {include file='__formFieldDataHandler'}
+
+ {include file='shared_formFieldDescription'}
+ {include file='shared_formFieldErrors'}
+ {include file='shared_formFieldDependencies'}
+ {include file='shared_formFieldDataHandler'}
</dd>
</dl>
<dt>{if $field->getLabel() !== null}<label for="{$field->getPrefixedId()}">{@$field->getLabel()}</label>{if $field->isRequired() && $form->marksRequiredFields()} <span class="formFieldRequired">*</span>{/if}{/if}</dt>
<dd>
{@$field->getFieldHtml()}
-
- {include file='__formFieldErrors'}
- {include file='__formFieldDescription'}
- {include file='__formFieldDependencies'}
- {include file='__formFieldDataHandler'}
+
+ {include file='shared_formFieldErrors'}
+ {include file='shared_formFieldDescription'}
+ {include file='shared_formFieldDependencies'}
+ {include file='shared_formFieldDataHandler'}
</dd>
</dl>
use wcf\data\package\PackageCache;
use wcf\data\package\PackageEditor;
use wcf\data\page\Page;
-use wcf\data\page\PageCache;
-use wcf\page\CmsPage;
use wcf\system\application\ApplicationHandler;
use wcf\system\application\IApplication;
use wcf\system\box\BoxHandler;
$wcf = new TemplateScriptingCore($wcf);
}
$tplEngines = [self::getTPL(), SharedTemplateEngine::getInstance()];
-
+ /** @var TemplateEngine[] $tplEngines */
foreach ($tplEngines as $tplEngine) {
$tplEngine->registerPrefilter(['event', 'hascontent', 'lang', 'jsphrase', 'jslang', 'csrfToken', 'icon']);
$tplEngine->assign([