<?php // ####################################################### // Author: Martin Haase / DAASI International GmbH // Creation date: 02.12.2008 // Modification date: 07/05/2010 // Version: 2.0 // ####################################################### header("Content-Type: text/html; charset=UTF-8"); $authZinstance = $_REQUEST["authZinstance"]; if ($authZinstance == null) { echo "Error: no authZinstance provided!"; exit; } ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>TextGrid WebAuth</title> </head> <body> <h2>TextGridLab Login</h2> <table border="1" rules="cols" cellpadding="4"> <tr> <td align="center" valign="top"> <h3>textgrid.de account</h3> </td> <td align="center" valign="top"> <h3>Home account</h3> </td> </tr> <tr> <td rowspan="2"> <form action="authenticate.php" method="POST" name="textgriddeform"> <p>Login:<br><input name="loginname" type="text" size="30" maxlength="30" value="Login ID" onclick="MachLeer()"></p> <p>Password:<br><input name="password" type="password" size="30" maxlength="30"></p> <?php echo "<input name=\"authZinstance\" type=\"hidden\" value=\"". $authZinstance . "\"/>"; ?> <input type="submit" value="log in"> </form> <script type="text/javascript"> document.textgriddeform.loginname.focus(); document.textgriddeform.loginname.select(); function MachLeer () { if (document.textgriddeform.loginname.value == "Login ID") document.textgriddeform.loginname.value = ""; } </script> </td> <td align="center" valign="top"> <form action="../secure/TextGrid-WebAuth.php"> <?php echo "<input name=\"authZinstance\" type=\"hidden\" value=\"". $authZinstance . "\"/>"; ?> <input type="submit" value="log in via DFN-AAI"> </form> </td> </tr> <tr> <td>If your school is not listed among the organizations on the DFN-AAI page, or if you encounter problems during log-in, you are welcome to <b>request a textgrid.de account</b> using the form on <a href="http://www.textgrid.de/beta/installation.html">http://www.textgrid.de/beta/installation.html</a>. </td> </tr> </table> </body> </html>