/user/views/user/confirmDeletion.php
PHP | 17 lines | 13 code | 4 blank | 0 comment | 0 complexity | 3859e590be44225cba57479938a9dd80 MD5 | raw file
- <?
- $this->title = Yum::t('Confirm deletion');
- $this->breadcrumbs = array(
- Yum::t('Delete account'));
- printf('<h2>%s</h2>', Yum::t('Are you really sure you want to delete your Account?'));
- printf('<p>%s</p>', Yum::t('Please enter your password to confirm deletion:'));
- echo CHtml::form(array('delete'));
- echo CHtml::passwordField('confirmPassword') . "<br />";
- echo CHtml::linkButton(Yum::t('Cancel deletion'), array(
- 'submit' => array('profile')));
- echo CHtml::submitButton(Yum::t('Confirm deletion'));
- echo CHtml::endForm();
- ?>