protected function getForm()
 {
     $form = parent::getForm();
     $form->setSubmitTooltip('ep-form-save');
     return $form;
 }
Пример #2
0
 /**
  * (non-PHPdoc)
  * @see FormSpecialPage::getForm()
  */
 protected function getForm()
 {
     $form = parent::getForm();
     $form->addButton('cancelEdit', wfMsg('cancel'), 'cancelEdit', array('onclick' => 'window.location="' . SpecialPage::getTitleFor('UploadCampaigns')->getFullURL() . '";return false;'));
     return $form;
 }
 /**
  * (non-PHPdoc)
  * @see FormSpecialPage::getForm()
  * @return HTMLForm|null
  */
 protected function getForm()
 {
     $form = parent::getForm();
     $form->addButton('cancelEdit', wfMsg('cancel'), 'cancelEdit', array('target-url' => SpecialPage::getTitleFor('Contests')->getFullURL()));
     //		$form->addButton(
     //			'deleteEdit',
     //			wfMsg( 'delete' ),
     //			'deleteEdit'
     //		);
     return $form;
 }