diff options
| author | Björn Geiger | 2011-03-28 16:51:10 +0200 |
|---|---|---|
| committer | Björn Geiger | 2011-03-28 16:51:10 +0200 |
| commit | 04c69f27f49c3f40888ee4938388413b07ad5e09 (patch) | |
| tree | 4c4300fa8ecfcbab7eb29243dd9bb5d8d4447471 /application/modules/user/forms/ConfirmDeleteAccount.php | |
| parent | Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff) | |
| download | pbs2-04c69f27f49c3f40888ee4938388413b07ad5e09.tar.gz pbs2-04c69f27f49c3f40888ee4938388413b07ad5e09.tar.xz pbs2-04c69f27f49c3f40888ee4938388413b07ad5e09.zip | |
überschriften hinzugefügt, andere Fehler korrigiert
Diffstat (limited to 'application/modules/user/forms/ConfirmDeleteAccount.php')
| -rw-r--r-- | application/modules/user/forms/ConfirmDeleteAccount.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/application/modules/user/forms/ConfirmDeleteAccount.php b/application/modules/user/forms/ConfirmDeleteAccount.php new file mode 100644 index 0000000..7bf5a32 --- /dev/null +++ b/application/modules/user/forms/ConfirmDeleteAccount.php @@ -0,0 +1,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'] . '"', + )); + } + + +} + |
