Paul Pazderski | 10ba3f3 | 2019-08-28 13:47:44 +0200 | [diff] [blame] | 1 | <div id="maincontent"> |
| 2 | <div id="midcolumn"> |
| 3 | <h1><?= $pageTitle ?></h1> |
| 4 | |
| 5 | <div id="index-page"> |
| 6 | |
| 7 | <a href="https://accounts.eclipse.org/"><img src="<?php echo imageRoot() ?>/large_icons/categories/preferences-desktop-peripherals.png"> <h2>An Eclipse account is all you need</h2></a> |
| 8 | <br style='clear: both;'> |
| 9 | <p>If you don't already have an Eclipse account then <a href="https://accounts.eclipse.org/">create one today</a>. |
| 10 | If logging in doesn't work after a few minutes, please contact <a href="mailto:webmaster@eclipse.org">webmaster@eclipse.org</a>.</p> |
| 11 | |
| 12 | <br style='clear: both;'> |
| 13 | <p>If you already have an Eclipse account, then authenticate and start helping Eclipse speak your language.</p> |
| 14 | |
| 15 | <form style="margin-left: 35px;" name="frmLogin" method="POST"> |
| 16 | <div> |
| 17 | |
| 18 | <?php |
| 19 | if($GLOBALS['g_ERRSTRS'][0] || $GLOBALS['g_ERRSTRS'][1]){ |
| 20 | ?> |
| 21 | <img style='margin-left: 70px;' src='<?php echo imageRoot() ?>/small_icons/actions/process-stop.png'> |
| 22 | <div style='color: red; font-weight: bold; '><?=$GLOBALS['g_ERRSTRS'][0]?></div> |
| 23 | <div style='color: red; font-weight: bold; '><?=$GLOBALS['g_ERRSTRS'][1]?></div> |
| 24 | <br style='clear: both;'> |
| 25 | <?php |
| 26 | }else{ |
| 27 | ?> |
| 28 | <br style='clear: both;'> |
| 29 | <?php |
| 30 | } |
| 31 | ?> |
| 32 | </div> |
| 33 | |
| 34 | <div style='margin-left: 65px;'> |
| 35 | <input type="submit" name="oauth" value="Authenticate with Eclipse account" style="font-size:14px;" /> |
| 36 | </div> |
| 37 | |
| 38 | </form> |
| 39 | </div> |
| 40 | </div> |
| 41 | <br class='clearing'> |
| 42 | </div> |