Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?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>