*/
protected $templateName = '__formContainer';
+ /**
+ * name of the template's application used to output this container
+ * @var string
+ */
+ protected $templateApplication = 'wcf';
+
/**
* @inheritDoc
*/
* @inheritDoc
*/
public function getHtml() {
- return WCF::getTPL()->fetch($this->templateName, 'wcf', array_merge($this->getHtmlVariables(), [
- 'container' => $this
- ]), true);
+ return WCF::getTPL()->fetch(
+ $this->templateName,
+ $this->templateApplication,
+ array_merge($this->getHtmlVariables(), [
+ 'container' => $this
+ ]),
+ true
+ );
}
/**