activate.phtml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?php
  2. /**
  3. * @version 7.3
  4. */
  5. /** @var \Ppb\Db\Table\Row\User $user */
  6. if ($user->canPaySignupFee()) { ?>
  7. <blockquote class="bq bq-alert">
  8. <?php echo $this->_('User signup fee not paid.'); ?>
  9. </blockquote>
  10. <?php echo $this->action('user-signup', 'payment', 'app', array('id' => $user['id'])); ?>
  11. <?php
  12. }
  13. else {
  14. ?>
  15. <?php if ($this->settings['signup_settings'] == 1) { ?>
  16. <p class="lead">
  17. <?php echo $this->_('Your email address is not verified.'); ?>
  18. </p>
  19. <p>
  20. <?php echo $this->_('Please click on the email verification link from the registration confirmation email that '
  21. . 'you have received when you have registered with our site in order to activate your account.'); ?>
  22. </p>
  23. <?php
  24. }
  25. else if ($this->settings['signup_settings'] == 2) {
  26. ?>
  27. <p class="lead">
  28. <?php echo $this->_('Your account is pending approval.'); ?>
  29. </p>
  30. <p>
  31. <?php echo $this->_("Your account hasn't been approved by the administrator yet or you haven't verified your email address. "
  32. . "If the account is pending approval, you will be notified by email when the account will be activated. "
  33. . "Otherwise you can request the verification email to be sent again."); ?>
  34. </p>
  35. <?php } ?>
  36. <form action="<?php echo $this->url(array('module' => 'members', 'controller' => 'user', 'action' => 'activate')); ?>" method="post">
  37. <?php echo $this->formElement('submit', 'resend_email', $this->_('Resend Email'))
  38. ->setAttributes(array('class' => 'btn'))
  39. ->render();
  40. ?>
  41. </form>
  42. <?php } ?>