| @@ 24-31 (lines=8) @@ | ||
| 21 | } |
|
| 22 | } |
|
| 23 | ||
| 24 | if(isset($_GET['return'])) |
|
| 25 | { |
|
| 26 | $return = '<input type="hidden" name="return" value="'.$_GET['return'].'"/>'; |
|
| 27 | } |
|
| 28 | else |
|
| 29 | { |
|
| 30 | $return = ''; |
|
| 31 | } |
|
| 32 | if(isset($_GET['failed'])) |
|
| 33 | { |
|
| 34 | $page->addNotification('Login Failed! <a href="'.$page->resetUrl.'" class="alert-link">Click here to reset your password.</a>', $page::NOTIFICATION_FAILED); |
|
| @@ 25-32 (lines=8) @@ | ||
| 22 | $captcha = new FlipsideCAPTCHA(); |
|
| 23 | FlipSession::setVar('captcha', $captcha); |
|
| 24 | ||
| 25 | if(isset($_GET['return'])) |
|
| 26 | { |
|
| 27 | $return = '<input type="hidden" name="return" value="'.$_GET['return'].'"/>'; |
|
| 28 | } |
|
| 29 | else |
|
| 30 | { |
|
| 31 | $return = ''; |
|
| 32 | } |
|
| 33 | ||
| 34 | if(FlipSession::isLoggedIn()) |
|
| 35 | { |
|