protected function _beforeInitSetupForm() { $form = parent::_beforeInitSetupForm(); $form->setTitle($this->getConfigPageId()); $plugin = $this->getId(); $form->addText('title', array('class' => 'el-wide'))->setLabel(___('Payment System Title')); $form->setDefault("payment.{$plugin}.title", @$this->defaultTitle); $form->addText('description', array('class' => 'el-wide'))->setLabel(___('Payment System Description')); $form->setDefault("payment.{$plugin}.description", @$this->defaultDescription); /* $form->addAdvCheckbox("disable_postback_log") ->setLabel(___("Disable PostBack messages Logging (not recommended)\n". "By default aMember logs all payment system postback messages\n". "you can disable it by changing this configuration value" )); */ if ($this->canResendPostback()) { $gr = $form->addElement(new Am_Form_Element_CheckboxedGroup('resend_postback')); $gr->setLabel(___("Resend Postback\nenter list of URLs to resend incoming postback\none URL per line")); $gr->addTextarea('resend_postback_urls', array('rows' => 3, 'cols' => 70)); } return $form; }