PageRenderTime 53ms CodeModel.GetById 26ms RepoModel.GetById 0ms app.codeStats 0ms

/user/views/user/confirmDeletion.php

https://github.com/yii-simon/yii-user-management
PHP | 17 lines | 13 code | 4 blank | 0 comment | 0 complexity | 3859e590be44225cba57479938a9dd80 MD5 | raw file
  1. <?
  2. $this->title = Yum::t('Confirm deletion');
  3. $this->breadcrumbs = array(
  4. Yum::t('Delete account'));
  5. printf('<h2>%s</h2>', Yum::t('Are you really sure you want to delete your Account?'));
  6. printf('<p>%s</p>', Yum::t('Please enter your password to confirm deletion:'));
  7. echo CHtml::form(array('delete'));
  8. echo CHtml::passwordField('confirmPassword') . "<br />";
  9. echo CHtml::linkButton(Yum::t('Cancel deletion'), array(
  10. 'submit' => array('profile')));
  11. echo CHtml::submitButton(Yum::t('Confirm deletion'));
  12. echo CHtml::endForm();
  13. ?>