protected function _init() { parent::_init(); $this->insertBefore('content', new Kwf_Form_Field_TextField('name', trlKwfStatic('Name')))->setAllowBlank(false)->setWidth(300); $this->insertAfter('name', new Kwf_Form_Field_TextField('email', trlKwfStatic('E-Mail')))->setVtype('email')->setWidth(300); $this->fields['content']->setFieldLabel(trlKwfStatic('Comment')); if (Kwf_Config::getValue('recaptcha.privateKey')) { $this->insertAfter('content', new Kwf_Form_Field_Recaptcha('captcha', trlKwfStatic('Captcha'))); } }
protected function _init() { parent::_init(); $this->fields['content']->setFieldLabel(trlKwfStatic('Edit Post')); }
protected function _init() { parent::_init(); $this->insertBefore('content', new Kwf_Form_Field_TextField('name', trlKwfStatic('Name')))->setAllowBlank(false)->setWidth(300); $this->insertBefore('content', new Kwf_Form_Field_TextField('email', trlKwfStatic('E-Mail')))->setAllowBlank(false)->setVtype('email')->setWidth(300); }