Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if (!defined('FLUX_ROOT')) exit; ?>
- <?php if (!$session->isLoggedIn()): ?>
- <h2><?php echo htmlspecialchars(Flux::message('LoginHeading')) ?></h2>
- <?php if (isset($errorMessage)): ?>
- <p class="red"><?php echo htmlspecialchars($errorMessage) ?></p>
- <?php else: ?>
- <?php endif ?>
- <form action="<?php echo $this->url('account', 'login', array('return_url' => $params->get('return_url'))) ?>" method="post" class="generic-form">
- <?php if (count($serverNames) === 1): ?>
- <input type="hidden" name="server" value="<?php echo htmlspecialchars($session->loginAthenaGroup->serverName) ?>">
- <?php endif ?>
- <label for="login_username"><?php echo htmlspecialchars(Flux::message('AccountUsernameLabel')) ?></label></th>
- <input type="text" name="username" id="login_username" value="<?php echo htmlspecialchars($params->get('username')) ?>" /></td>
- <label for="login_password"><?php echo htmlspecialchars(Flux::message('AccountPasswordLabel')) ?></label></th>
- <input type="password" name="password" id="login_password" /></td>
- <input type="submit" value="<?php echo htmlspecialchars(Flux::message('LoginButton')) ?>" />
- </form>
- <?php if ($auth->actionAllowed('account', 'create')): ?>
- <p><?php printf(Flux::message('LoginPageMakeAccount'), $this->url('account', 'create')); ?></p>
- <?php endif ?>
- <?php endif ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement