blob: 88fd0bfa0fd9082a0cdc5577b08910c0dfd4e887 [file] [log] [blame]
<?php
/*******************************************************************************
* Copyright (c) 2012 Eclipse Foundation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Denis Roy (Eclipse Foundation)- initial API and implementation
*******************************************************************************/
ob_start();
?>
<div id="maincontent">
<div id="midcolumn">
<h1><?= $pageTitle ?></h1>
<p>Use your Eclipse.org e-mail address and password to login. If you don't have an Eclipse.org account, you can <a href="createaccount.php">create one here</a>.</p>
<p><a href="http://eclipse.org/friends">Friends of Eclipse</a> must log in to receive friendship benefits.</p>
<form name="login" method="post">
<table cellspacing="4">
<tr><td></td><td colspan="2" style="color:#900;"><?= $error ?></td></tr>
<tr><td>E-mail:</td><td><input type="text" name="username" value="<?= filter_var($username, FILTER_SANITIZE_EMAIL); ?>" size="42" maxlength="255" tabindex="1"/></td>
<td style='width:100px; color:red;'></td>
</tr><tr>
<td>Password:</td><td><input type="password" name="password" value="" size="42" maxlength="255" tabindex="2"/><br/> <a href="createaccount.php">Forgot my password</a></td>
<td style='width:100px; color:red;'></td>
</tr><tr>
<td></td><td><input type="checkbox" name="remember" value="1" <?= filter_var($remember, FILTER_SANITIZE_NUMBER_INT) ?> tabindex="3"/> remember me on this computer</td>
</tr><tr>
<td></td><td><input type="submit" name="submit" value="Login" tabindex="4"/></td></tr>
</table>
<input type="hidden" name="takemeback" value="<?= filter_var($takemeback, FILTER_SANITIZE_ENCODED); ?>" />
</form>
</div>
<div id="rightcolumn"><div class="sideitem">
<h6>Related Links</h6>
<ul><li><a href="createaccount.php">Create Account</a></li><li><a href="createaccount.php">Forgot my password</a></li></ul>
</div></div></div>
<script language="javascript">
document.forms['login'].username.focus();
</script>
<?php
$html = ob_get_contents();
ob_end_clean();
?>