summaryrefslogtreecommitdiffstats
path: root/application/modules/user/forms/ConfirmDeleteAccount.php
blob: 7bf5a32497b9796f0b9d785b96ef2921c8bb596e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php

class user_Form_ConfirmDeleteAccount extends Zend_Form
{

	public function init()
	{
		$this->setName("ConfirmDeleteAccount");
		$this->setMethod('post');
			
		$this->addElement('submit', 'confirmdelete', array(
            'required' => false,
            'ignore'   => true,
            'label'    => 'Confirm',
		));

		$this->addElement('button', 'cancel', array(
            'required' => false,
            'ignore'   => true,
            'label'    => 'Cancel',
			'onclick'   => 'location.href="' . $_SERVER['HTTP_REFERER'] . '"',
		));
	}


}