emailsent.php 403 B

123456789101112131415161718
  1. <?php
  2. if (elgg_is_logged_in()) {
  3. forward('');
  4. }
  5. $session = elgg_get_session();
  6. $email = $session->get('emailsent', '');
  7. if (!$email) {
  8. forward('');
  9. }
  10. $title = elgg_echo('uservalidationbyemail:emailsent', array($email));
  11. $body = elgg_view_layout('one_column', array(
  12. 'title' => $title,
  13. 'content' => elgg_echo('uservalidationbyemail:registerok'),
  14. ));
  15. echo elgg_view_page(strip_tags($title), $body);