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