blob: a4893c2609224b785418e055b0b2f378de2f127c (
plain)
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
|
<?php
require_once "lib/session.php";
require_once "lib/render.php";
define('idpage_pat',
'<html>
<head>
<link rel="openid2.provider openid.server" href="%s"/>
</head>
<body>
This is the identity page for users of this server.
</body>
</html>');
define('login_needed_pat',
'You must be logged in as %s to approve this request.');
function idpage_render($identity)
{
$body = sprintf(idpage_pat, buildURL());
return array(array(), $body);
}
?>
|