Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
58 lines (51 sloc) 1.89 KB
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="generator" content=
"HTML Tidy for Linux (vers 25 March 2009), see www.w3.org">
<title>Protected Location</title>
<script>
function getParameterByName(name, url)
{
if (!url) url = window.location.href;
name = name.replace(/[\[\]]/g, "\\$&");
var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"), results = regex.exec(url);
if (!results) return null;
if (!results[2]) return '';
return decodeURIComponent(results[2].replace(/\+/g, " "));
}
</script>
<style type="text/css">
#msg { border: 1px solid #ff0000; background: #ffaaaa; font-weight: bold; padding: 10px; }
a { text-decoration: none; }
a:hover { text-decoration: underline; }
#desc { border: 1px solid #000; background: #ccc; padding: 10px; }
#sig { text-align: center; font-style: italic; margin-top: 50px; color: #777; font-size: .7em; }
#sig a { color: #222; }
.loginbox { background-color: #fff; background-position: 0 50%; color: #000; padding-left: 18px; }
form { margin: 15px; }
</style>
</head>
<body>
<h1>openstreetmap.cz Protected Location</h1>
<p id="desc">This site is protected and requires that you identify
yourself with an <a href="https://openid.net">OpenID</a> url. To
find out how it works, see <a href=
"https://openid.net/what/">https://openid.net/what/</a>. You can sign
up for an identity on one of the sites listed <a href=
"https://openid.net/get/">here</a>.</p>
<form action="/openid/login" method="get">
<b>Identity URL:</b>
<input type="text" name="openid_identifier" value="" size="30" class="loginbox">
<input type="submit" value="Log In">
</form>
<div id="sig">protected by <a href="https://github.com/bmuller/mod_auth_openid">mod_auth_openid0.7</a></div>
<script>
ref = getParameterByName("modauthopenid.referrer");
alert(ref);
if (ref != null and ref != "") {
window.location.href = ref;
}
</script>
</body>
</html>